Add a new event ModifyAccuracy that affects all moves other than OHKO
moves and switched many event handlers that originally used the Accuracy
event to ModifyAccuracy instead.
- On failure, they will no longer trigger the `AfterMoveSecondarySelf` event. It was a common pattern to check for success on its handlers, so this removes some duplication.
- All failed moves will now run any set `MoveFail` single events.
- Life Orb will now harm the holder if a successful attack did 0 damage (e.g. False Swipe on a 1 HP target).
Update GossamerWing to no longer include Lilligant in the list of Pokemon who take reduced damage from Rock, Ice, or Electric type moves, as Lilligant is not a Flying type.
It's the Gen 6 update!
- Autocrit moves have their base powers tweaked for the new crit
mechanics; they're now slightly more powerful.
- Ambipom's Sketch is now considered an event move, like Necturna's
- Confusion now deals damage every attack, but the attack is never
prevented. Its duration is also 3-5 now.
- Parental Bond is now half damage on both hits, but makes all moves
perfect accuracy as is standard for NEXT multi-hit moves.
- Parabolic Charge now has 40 base power, but gives -1 SpA, -1 SpD to
the target and +1 SpA, +1 SpD to the user
- Focus Blast down to 30%; I really don't want people to use it
without No Guard
- Drives no longer grant bonus damage to Techno Blast, the gen 6 buff
is plenty
- Manaphy unbanned
Fixes Trick-or-Treat and Forest´s Curse stacking.
Fixes Roost overriding other type changes when it ends.
Fixes Roost not suppressing Flying type adquired afterwards in the turn.
Fixes mons not adquiring Flying type when transforming into a roosted pokemon.
Fixes nature of types (added by Trick-or-Treat or Forest´s Curse) not being passed on use of Reflect Type or Transform.
- Stats are now cached and recalculated every clearVolatile (switchout)
- Power Trick, Power Split, Guard Split, Transform, forme changes now
modify the cached stat value
- This eliminates the need for pokemon.baseSet, so it's been removed
- pokemon.transformInto has been split into transformInto and formeChange
- pokemon.baseBoosts have also been eliminated, boost changes are now
calculated on-the-fly like stats themselves
- Overall, stat changes should be a lot more like the cartridge games now
- We're also one step closer to finally getting rid of the ModifyPokemon
event