Commit Graph

14 Commits

Author SHA1 Message Date
Bill Meltsner
2acdf083c4 Use move.secondaries for multiple secondary effects, instead of overloading move.secondary. 2012-03-10 20:28:28 -05:00
Bill Meltsner
9c2857c526 Add support for moves to have multiple secondary effects. (Largely for the Fangs.) 2012-03-10 20:04:13 -05:00
Guangcong Luo
27cfaa7b58 Don't apply immunities for secondary/self-hits of moves 2012-03-06 16:15:21 -05:00
Guangcong Luo
72f18cea2a Check immunities during moveHit, not before
- Moves bounced by Magic Bounce still check immunities
- Moves called by Metronome, Assist, etc, too
2012-03-06 12:28:00 -05:00
Guangcong Luo
8b882a3d7a Healing should fail if target is at full health. 2012-03-06 11:02:16 -05:00
Guangcong Luo
3b5a0546ef Fix Magic Bounce
- More than one move can be bounced per turn now (each move is still bounced a maximum of once)
- Introduces a new function: Tools.getMoveCopy, which replaces the previous system of cloning the move object. It still clones the move object, just more abstractedly.
2012-02-27 13:51:55 -05:00
Guangcong Luo
ce0f90c703 Fix a crash from invalid template 2012-02-18 07:28:37 -05:00
Guangcong Luo
42aacaf982 CAP pokemon are now correctly level 74 instead of level 90. 2012-02-08 17:53:11 -05:00
Guangcong Luo
a42f25c016 Add support for four new move flags:
- ignoreAccuracy, ignoreEvasion, ignoreOffensive, ignoreDefensive
These abstract out crit functionality, and also allow support for things like Sacred Sword
2012-02-05 05:48:00 -05:00
Bill Meltsner
0484284367 Should hopefully fix Iron Barbs, and some other ability/item effects, triggering through Protect. 2012-01-25 20:56:49 -05:00
Guangcong Luo
682917d4ae Give Delibird Bestow as well as Present, and make it always have Leftovers. _Really_ early preparation for Delibird PotD next Christmas. :P 2012-01-02 02:25:03 -05:00
Guangcong Luo
fe0369763a Implement Delibird, and make the default Delibird have only Present 2011-12-31 19:40:08 -05:00
Guangcong Luo
b9699e9347 Change the Hit event of moves targeting foeSide or allySide to actually target the side instead of the pokemon. Fixes the bug where hazards fail when the foe's pokemon is fainted. 2011-12-23 19:20:49 -05:00
Guangcong Luo
4ce2d95037 Everything I did before moving to Git 2011-12-22 23:53:05 -05:00