本帖最后由 taroxd 于 2015-2-21 10:55 编辑
未经仔细测试,大概就是这样啦~ VA 的脚本改起来就是简单吧?
class Game_ActionResult DEDUCT_HP_STATE = 10 alias_method :md_20150221, :make_damage def make_damage(value, item) value *= -1 if item.damage.recover? && @battler.state?(DEDUCT_HP_STATE) md_20150221(value, item) end end
class Game_ActionResult
DEDUCT_HP_STATE = 10
alias_method :md_20150221, :make_damage
def make_damage(value, item)
value *= -1 if item.damage.recover? && @battler.state?(DEDUCT_HP_STATE)
md_20150221(value, item)
end
end
|