class Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # ● 计算伤害 #-------------------------------------------------------------------------- alias :cld99_make_damage_value :make_damage_value def make_damage_value(user, item) return 0 if state?(26) cld99_make_damage_value(user, item) end end
class Game_Battler < Game_BattlerBase
#--------------------------------------------------------------------------
# ● 计算伤害
#--------------------------------------------------------------------------
alias :cld99_make_damage_value :make_damage_value
def make_damage_value(user, item)
return 0 if state?(26)
cld99_make_damage_value(user, item)
end
end
插入这段脚本,当角色处于26号状态时不受到任何伤害 |