Skip to content

Commit

Permalink
Update data/abilities.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored Jan 3, 2024
1 parent 0e33282 commit 89ce63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
},
onDamagePriority: 1,
onDamage(damage, target, source, effect) {
if (effect && effect.effectType === 'Move' && effect.category === 'Physical' && target.species.id === 'eiscue') {
if (effect?.effectType === 'Move' && effect.category === 'Physical' && target.species.id === 'eiscue') {
this.add('-activate', target, 'ability: Ice Face');
this.effectState.busted = true;
return 0;
Expand Down

0 comments on commit 89ce63e

Please sign in to comment.