#当角色附加10号状态并且受到大于0的伤害时 if states.include?(10) and self.is_a?(Game_Actor) and self.damage > 0 if self.damage >= $game_variables[self.id]*4 self.damage -= $game_variables[self.id]*4 $game_variables[self.id] = 0 else $game_variables[self.id] -= self.damage/4 self.damage = 0 end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |