def calc_hp_recovery(user, item)
result = maxhp * item.hp_recovery_rate / 100 + item.hp_recovery
result *= 2 if user.pharmacology return result
end
def calc_mp_recovery(user, item)
result = maxmp * item.mp_recovery_rate / 100 + item.mp_recovery
result *= 2 if user.pharmacology
return result
end
而强里防御则是减少伤害了。
def apply_guard(damage)
if damage > 0 and guarding?
damage /= super_guard ? 4 : 2
end
return damage
end