Implements several more moves
This commit is contained in:
@@ -36,7 +36,7 @@ public class Hail : Script
|
||||
continue;
|
||||
if (pokemon.Types.Contains(iceType))
|
||||
continue;
|
||||
if (_hailIgnoreAbilities.Contains(pokemon.ActiveAbility.Name))
|
||||
if (pokemon.ActiveAbility != null && _hailIgnoreAbilities.Contains(pokemon.ActiveAbility.Name))
|
||||
continue;
|
||||
|
||||
var maxHealth = pokemon.BoostedStats.Hp;
|
||||
|
||||
Reference in New Issue
Block a user