本帖最后由 soulsaga 于 2017-10-24 16:55 编辑
class Game_Battler < Game_BattlerBase def regenerate_hp damage = 500 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
class Game_Battler < Game_BattlerBase
def regenerate_hp
damage = 500
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上面..每回合自动扣百分比血变成扣500HP
未测试..不知可用否..
|