def attack_effect(attacker) 在它的下面加上: #壁---------- elsif self.state?(49) self.damage = "Nothing" return true end