本帖最后由 soulsaga 于 2017-10-24 13:04 编辑
# ● HP の再生 #-------------------------------------------------------------------------- class Game_Battler < Game_BattlerBase def regenerate_hp damage = -(mhp * luk).to_i perform_map_damage_effect if $game_party.in_battle && damage > 0 @result.hp_damage = [damage, max_slip_damage].min self.hp -= @result.hp_damage end end
# ● HP の再生
#--------------------------------------------------------------------------
class Game_Battler < Game_BattlerBase
def regenerate_hp
damage = -(mhp * luk).to_i
perform_map_damage_effect if $game_party.in_battle && damage > 0
@result.hp_damage = [damage, max_slip_damage].min
self.hp -= @result.hp_damage
end
end
插入到MAIN上面..伤害公式你自己研究..
|