|
发表于 2008-10-27 07:05:14
|
显示全部楼层
想起来了,你是VX
scene_battle中
- #--------------------------------------------------------------------------
- # ● 显示获得的经验值与金钱
- #--------------------------------------------------------------------------
- def display_exp_and_gold
- exp = $game_troop.exp_total
- gold = $game_troop.gold_total
- $game_party.gain_gold(gold)
- text = sprintf(Vocab::Victory, $game_party.name)
- $game_message.texts.push('\\|' + text)
- if exp > 0
- text = sprintf(Vocab::ObtainExp, exp)
- $game_message.texts.push('\\.' + text)
- end
- if gold > 0
- text = sprintf(Vocab::ObtainGold, gold, Vocab::gold)
- $game_message.texts.push('\\.' + text)
- end
- wait_for_message
- end
复制代码
看到
- if exp > 0
- text = sprintf(Vocab::ObtainExp, exp)
- $game_message.texts.push('\\.' + text)
- end
复制代码
这个了么?
找 Vocab::ObtainExp 就可以了
脚本 Vocab
38行- ObtainExp = "获得 %s 点经验值!"
复制代码
就是这里。。。
战斗结束的信息都在这附近 35 ~42 行
%s 是表示数在哪里出现的。。。别给删了 |
|