或者在Game_Battler里直接插入应如何做?
value = item.damage.eval(user, self, $game_variables)
←在这里插入?应该如何写?
value *= item_element_rate(user, item)
value *= pdr if item.physical?
value *= mdr if item.magical?
value *= rec if item.damage.recover?
value = apply_critical(value, user) if @result.critical #value = apply_critical(value) if @result.critical
value = apply_variance(value, item.damage.variance)
value = apply_guard(value)
@result.make_damage(value.to_i, item)