Commit Graph

481 Commits

Author SHA1 Message Date
urkerab
973e686350 Tentative damage modifier changes on -ate and -ize abilities (#2894) 2016-11-18 23:21:45 -06:00
Ivo Julca
3736d546cb Implement Berserk 2016-11-18 15:28:11 -05:00
Ivo Julca
fbc88c8428 Fix Emergency Exit: It should block Volt Switch effect 2016-11-18 15:10:51 -05:00
Ivo Julca
9d537e56f1 Add back activation message for Emergency Exit 2016-11-18 14:04:51 -05:00
Ivo Julca
e97ccb3d48 Emergency Exit activation quirks are similar to Eject Button and Red Card
In particular, it only activates after all hits in a multi-hit move are performed, and
it won't activate if the move is boosted by Sheer Force.

This commit also implements the interactions of Emergency Exit
with Eject Button and Red Card, and adds tests.
2016-11-18 13:55:57 -05:00
HoeenCoder
350e28b279 Fix crash in Wimp Out (#2903) 2016-11-18 16:08:05 +04:00
The Immortal
80d7cb2763 Fix crash 2016-11-18 15:58:09 +04:00
Ivo Julca
511a45eb95 Implement immunity of Dark-types to Prankster
The immunity also applies to any moves, even non-Status, called by
other Prankster-boosted moves.
2016-11-18 00:35:52 -05:00
HoeenCoder
1503d5e8ac Add Emergency Exit and Wimp Out (#2898) 2016-11-17 23:07:57 -05:00
Marty-D
c96287e89f Implement Shields Down 2016-11-17 19:02:26 -05:00
Marty-D
5da62651ce Implement more new stuff and remove some TODOs 2016-11-17 11:06:13 -06:00
Marty-D
2810aa78b0 Fix more new Abilities 2016-11-17 11:06:13 -06:00
Marty-D
916508f109 Update Water Bubble 2016-11-17 11:06:13 -06:00
Marty-D
fc410a4350 Fix a few new Abilities 2016-11-17 11:06:13 -06:00
Marty-D
18270f72c4 Add burn damage change 2016-11-17 11:06:12 -06:00
Marty-D
84a6761a90 Revert Unaware change 2016-11-17 11:06:12 -06:00
Marty-D
263d3cda94 Implement new Abilities 2016-11-17 11:06:12 -06:00
Marty-D
83acbc578d Add preliminary Gen 7 changes 2016-11-17 11:06:12 -06:00
urkerab
0c6e0b1661 Fix Cursed Body interaction with Doom Desire/Future Sight (#2881) 2016-11-06 17:47:14 -05:00
urkerab
efdc8e33a0 Run powder immunities in the correct order (#2842) 2016-10-14 23:11:59 -04:00
The Immortal
26d67eeb9b Lower Dry Skin's rating 2016-08-29 23:30:50 +04:00
urkerab
5f8a608270 Quick Claw and Custap Berry should override Stall (#2709) 2016-08-23 10:35:41 -04:00
Marty-D
5984da27c6 Fix Healer 2016-08-12 23:04:33 -04:00
urkerab
d5b985adc5 Make Illusion wear off properly after Ability-ending effects (#2638) 2016-08-11 18:47:58 -04:00
Marty-D
bb0b3e064e Fix Unnerve activation
Fixes #872
2016-08-06 17:54:21 -04:00
Marty-D
33a5b10160 Fix forme-changing effects
All should be checking base species correctly now.
2016-08-05 10:38:46 -04:00
Marty-D
cae3a7be21 Fix Flower Veil activation 2016-07-29 11:41:42 -04:00
Marty-D
cd974caf3d Add Poison Touch activation 2016-07-29 11:39:38 -04:00
Marty-D
a05fb5bb07 Fix Aroma Veil 2016-07-26 22:48:10 -04:00
Marty-D
749186e7ed Fix Cursed Body and Cute Charm activation 2016-07-26 22:44:54 -04:00
urkerab
92eaeabb3b Fix Abilities that prevent stat drops (#2647)
Brings them in line with Clear Body, White Smoke, and Mist.
2016-07-26 18:32:23 -04:00
Marty-D
0271c09ce4 Fix Yawn's interaction with other effects 2016-07-20 14:10:35 -04:00
Marty-D
a1e2cb984c Add Safeguard activation message 2016-07-18 21:06:10 -04:00
urkerab
345431c82c Fix Own Tempo's interaction with Confuse Ray again (#2629) 2016-07-18 21:02:13 -04:00
Harshvardhan Kalra
0151eb1446 Add Forecast and Flower Gift activations (#2627) 2016-07-18 12:07:02 -04:00
Marty-D
86417a7df9 Fix Ability boosting when maxed out 2016-07-09 12:17:38 -04:00
Marty-D
af7ffabecd Add Damp message 2016-07-01 22:38:20 -04:00
Marty-D
3acbe0a357 Fix Transform interaction with certain Abilities
- Multitype and Stance Change can be overwritten by Transforming
- The above two and Illusion can be obtained by Transforming
- Fix Stance Change and Zen Mode while Transformed
2016-06-23 17:07:12 -04:00
Marty-D
98667e8dd5 Correct Wonder Guard message
- Also remove its very unnecessary reimplementation in `futuremove`
2016-06-23 14:34:50 -04:00
Ivo Julca
f095ac4fea Implement Curse targetting glitch 2016-06-20 11:57:23 -05:00
Ivo Julca
ec572891a5 Fix typing information leak 2016-06-20 11:38:06 -05:00
urkerab
4c543d8c28 Fix Protean interaction with bounced moves (#2593) 2016-06-19 17:12:42 -04:00
Marty-D
39ec46022c Fix Own Tempo interaction with Flatter and Swagger
- Also prevent its activation unless the move actually hits.
2016-06-18 22:12:53 -04:00
urkerab
2b95a4eb10 Fix ability activation for Oblivious, Overcoat and Own Tempo (#2589) 2016-06-17 11:40:44 -04:00
Marty-D
6608dd5846 Add Healer animation 2016-06-08 09:55:13 -04:00
urkerab
be0f9d3be2 Show ability activation when it causes an immunity (#2555)
- Also improve `trySetStatus` and `moveHit` implementations
2016-05-22 18:44:54 -04:00
urkerab
68af97f71d Always use Object.values(template.abilities) (#2543) 2016-05-02 12:18:40 -07:00
QuiteQuiet
fcae0c67d9 Use the correct target when bouncing back moves (#2534) 2016-04-25 10:51:20 -04:00
QuiteQuiet
9d9e601be1 Alter |move| target on every target change (#2532) 2016-04-23 10:27:40 -07:00
Kevin Lau
1c574c6c55 Critical Hit Ratio refactor: Use an event to modify crit ratios (#2501)
This allows for proper crit ratios when a Pokemon loses/gains an ability,
item, or other effect in the middle of a multi-hit attack.
2016-04-11 21:35:36 -04:00