Tweak a couple new ability descriptions.

This commit is contained in:
Lynn "Zhorken" Vaughan 2013-11-05 11:27:09 -05:00
parent 16feb5212e
commit 136359cf4a
2 changed files with 8 additions and 4 deletions

View file

@ -551,8 +551,8 @@ This ability functions identically to []{ability:mold-breaker} and []{ability:tu
172,9,,Raises Special Attack by two stages upon having any stat lowered. 172,9,,Raises Special Attack by two stages upon having any stat lowered.
173,9,,Strengthens biting moves. 173,9,,Strengthens biting moves.
174,9,,Turns the bearer's []{type:normal} moves into []{type:ice} moves. 174,9,,Turns the bearer's []{type:normal} moves into []{type:ice} moves.
175,9,,Prevents allies from sleeping. 175,9,,Prevents friendly Pokémon from sleeping.
176,9,,"Changes []{pokemon:aegislash} to Blade Forme before using a damaging move, or Shield Forme before using a status move." 176,9,,"Changes []{pokemon:aegislash} to Blade Forme before using a damaging move, or Shield Forme before using []{move:kings-shield}."
177,9,,Raises []{type:flying} moves' priority by one stage. 177,9,,Raises []{type:flying} moves' priority by one stage.
178,9,,Strengthens aura and pulse moves. 178,9,,Strengthens aura and pulse moves.
179,9,,Boosts Defense while []{move:grassy-terrain} is in effect. 179,9,,Boosts Defense while []{move:grassy-terrain} is in effect.

1 ability_id local_language_id effect short_effect
551
552
553
554
555
556
557
558

View file

@ -1575,8 +1575,12 @@ class Pokemon(TableBase):
If the attack stats are about equal (within 5), returns None. The If the attack stats are about equal (within 5), returns None. The
value None, not the damage class called 'None'. value None, not the damage class called 'None'.
""" """
try:
phys = self.stat(u'attack') phys = self.stat(u'attack')
spec = self.stat(u'special-attack') spec = self.stat(u'special-attack')
except KeyError:
return None
diff = phys.base_stat - spec.base_stat diff = phys.base_stat - spec.base_stat