Project1

标题: 如何打怪平分经验值? [打印本页]

作者: ROMB板    时间: 2012-5-8 20:22
标题: 如何打怪平分经验值?
自身感觉默认情况不好dsu_plus_rewardpost_czw
作者: 春风莉露    时间: 2012-5-8 20:54
喔喔
需要插入一个新脚本。插入在MAIN的上方即可。

class Scene_Battle
#--------------------------------------------------------------------------
# ● 显示升级(重写方法)
#--------------------------------------------------------------------------
def display_level_up
exp = $game_troop.exp_total / $game_party.existing_members.size
for actor in $game_party.existing_members
last_level = actor.level
last_skills = actor.skills
actor.gain_exp(exp, true)
end
wait_for_message
end
end








欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1