mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 12:36:41 -05:00
Gen 3: Traced Abilities don't run Start events
Specifically, things like Intimidate don't happen when Traced.
This commit is contained in:
parent
b0a85dd33b
commit
065e293c29
|
|
@ -1019,7 +1019,7 @@ BattlePokemon = (function () {
|
|||
if (oldAbility in {multitype:1, stancechange:1}) return false;
|
||||
this.ability = ability.id;
|
||||
this.abilityData = {id: ability.id, target: this};
|
||||
if (ability.id) {
|
||||
if (ability.id && this.gen > 3) {
|
||||
this.battle.singleEvent('Start', ability, this.abilityData, this, source, effect);
|
||||
}
|
||||
return oldAbility;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user