找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2339|回复: 2

[RM2K&2K3] 关于经验单位的问题

[复制链接]
发表于 2008-10-26 21:33:36 | 显示全部楼层 |阅读模式
话说经验单位EXP的名字是哪个脚本控制的!

就是战斗胜利后的结算
xxxx EXP  xxxxG 的那个单位
发表于 2008-10-27 06:58:13 | 显示全部楼层
VX,XP???
发表于 2008-10-27 07:05:14 | 显示全部楼层
想起来了,你是VX

scene_battle中
  1.   #--------------------------------------------------------------------------
  2.   # ● 显示获得的经验值与金钱
  3.   #--------------------------------------------------------------------------
  4.   def display_exp_and_gold
  5.     exp = $game_troop.exp_total
  6.     gold = $game_troop.gold_total
  7.     $game_party.gain_gold(gold)
  8.     text = sprintf(Vocab::Victory, $game_party.name)
  9.     $game_message.texts.push('\\|' + text)
  10.     if exp > 0
  11.       text = sprintf(Vocab::ObtainExp, exp)
  12.       $game_message.texts.push('\\.' + text)
  13.     end
  14.     if gold > 0
  15.       text = sprintf(Vocab::ObtainGold, gold, Vocab::gold)
  16.       $game_message.texts.push('\\.' + text)
  17.     end
  18.     wait_for_message
  19.   end
复制代码

看到
  1.   if exp > 0
  2.     text = sprintf(Vocab::ObtainExp, exp)
  3.     $game_message.texts.push('\\.' + text)
  4.   end
复制代码

这个了么?

找 Vocab::ObtainExp 就可以了

脚本 Vocab

38行
  1.   ObtainExp       = "获得 %s 点经验值!"
复制代码

就是这里。。。

战斗结束的信息都在这附近 35 ~42 行

%s 是表示数在哪里出现的。。。别给删了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|幻想森林

GMT+8, 2026-11-1 00:16 , Processed in 0.012484 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表