Guangcong Luo
675f81df4c
Merge pull request #8 from RisingDusk/master
...
ignoresProtect and removesProtect are now move flags
2012-03-20 17:23:57 -07:00
Cody Thompson
1d39a5ff0a
Added the removesProtect flag; applied to moves
...
Feint
Shadow Force
2012-03-20 18:18:46 -04:00
Guangcong Luo
6a169d6459
Improve documentation for getMoveCopy.
2012-03-20 16:03:30 -05:00
Cody Thompson
02a2f7ef06
Shadow Force now breaks Protect/Detect like Feint
2012-03-20 15:42:41 -04:00
Cody Thompson
75b4cea000
Added ignoresProtect to moves
...
After You
Role Play
2012-03-20 09:13:11 -04:00
Cody Thompson
4c0a069e1d
Added ignoresProtect function; flag added to moves
...
Curse
Doom Desire
Feint
Future Sight
Shadow Force
2012-03-20 08:42:31 -04:00
Guangcong Luo
76e8fd458c
Show the rejected message if it was too long.
2012-03-19 23:48:30 -04:00
Guangcong Luo
a9055a9131
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-03-19 16:10:34 -04:00
Guangcong Luo
ac06a8e3be
Make it harder for the pokemonLeft counter to get out of sync
2012-03-19 16:10:17 -04:00
Guangcong Luo
5d228e970c
Merge pull request #7 from RisingDusk/master
...
Fixed Attract
2012-03-19 11:09:27 -07:00
Cody Thompson
53b163cc40
Fixed Attract
...
Attract now ends properly if the user switches out
2012-03-19 12:25:40 -04:00
Cody Thompson
70493898d5
Merge pull request #6 from RisingDusk/master
...
Accuracy Fixes
2012-03-19 07:42:49 -07:00
Cody Thompson
f62472bea8
Fixed accuracy of some moves
...
Poison Gas (80 now, incorrectly 90 before)
Scary Face (100 now, incorrectly 90 before)
Bone Rush (90 now, incorrectly 80 before)
2012-03-19 10:37:01 -04:00
Guangcong Luo
0c6e423de9
Fix bmelts' crash ;)
...
- Move .used = true to simulator.js, and check to see if the move exists first
2012-03-18 00:29:33 -04:00
Guangcong Luo
fc26f355fc
Hackmons is now an official ladder tier.
2012-03-18 00:00:04 -04:00
Guangcong Luo
89d8aa8794
Some debug code to help diagnose an obscure crash
2012-03-17 23:34:35 -04:00
Bill Meltsner
2e101208fa
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-03-17 12:47:29 -04:00
Bill Meltsner
f557b577cf
Up Pursuit's onSwitchOut priority, to hit before Regenerator takes effect.
2012-03-17 12:47:21 -04:00
Guangcong Luo
041ae419f5
Merge pull request #5 from RisingDusk/master
...
Stuff
2012-03-16 20:34:22 -07:00
Cody Thompson
36c061fdcc
Contact flag set in moves that were missing it
...
Sky Drop
Retaliate
Punishment
2012-03-16 23:24:06 -04:00
Cody Thompson
554d39bb11
Removed unnecessary debug message
2012-03-16 23:17:07 -04:00
Cody Thompson
8699822e47
Fixed Shell Bell healing per hit of multi-hit move
2012-03-16 23:09:06 -04:00
Guangcong Luo
0073b5f4b5
Merge branch 'master' of github.com:Zarel/Pokemon-Showdown
2012-03-16 22:40:52 -04:00
Guangcong Luo
7265e69999
Refactor: lastHitBy is now lastDamagedBy
...
- now tracks total damage of multi-hit moves, not just last hit
- the rename is meant to reflect this
2012-03-16 22:40:37 -04:00
Guangcong Luo
5e169927dd
Note that you can specify a port in the README
2012-03-16 22:34:13 -04:00
Guangcong Luo
4f653213ec
Merge pull request #4 from RisingDusk/master
...
Magic Room implemented
2012-03-16 19:03:37 -07:00
Cody Thompson
dbe87517f5
Removed an unnecessary comment
2012-03-16 15:51:17 -04:00
Cody Thompson
95e1ef099e
Removed choice interaction on Magic Room
...
Saved for a proper fix in Choice item code
2012-03-16 15:48:19 -04:00
Cody Thompson
cb8f53a827
Magic Room implemented
2012-03-16 15:29:58 -04:00
Cody Thompson
be97c541a6
Merge branch 'master' of https://github.com/Zarel/Pokemon-Showdown
2012-03-16 02:16:28 -04:00
Cody Thompson
bbed2495a4
Fixed Baton Pass + Pursuit Interaction
...
Pursuit event handler no longer runs against Baton Pass
2012-03-16 01:58:54 -04:00
RisingDusk
f3b1004116
Merge pull request #3 from RisingDusk/master
...
Just a bug fix.
2012-03-15 21:43:33 -07:00
unknown
58fabe8f5a
Fixed Baton Pass + Flash Fire interaction
...
Baton Pass no longer passes Flash Fire boost
2012-03-16 00:31:26 -04:00
Bill Meltsner
fae1344cc1
Implement Leppa Berry. (With added code for handling the eat functionality correctly, for when Bug Bite and Pluck work.)
2012-03-14 20:01:06 -04:00
Bill Meltsner
933c7d676e
Add AfterMove and AfterMoveSelf events.
...
These might need a more descriptive name - they only execute for a move that the user selects (or is forced into), because they run in runMove instead of useMove. I've also never messed with the event system before, so I don't know if I'm actually doing this right. But they seem to work.
2012-03-14 19:56:15 -04:00
Bill Meltsner
4e713677d0
Implement Trump Card.
2012-03-14 19:49:08 -04:00
Bill Meltsner
a56274f3f8
Mark a move as used when runMove isn't interrupted.
2012-03-14 19:48:48 -04:00
Bill Meltsner
56d98a0739
Make PP deduction happen before useMove executes.
...
This is closer to how the game actually handles the order of actions when making a move, and enables Trump Card to function properly.
2012-03-14 19:48:06 -04:00
Bill Meltsner
b97597a8b5
For Last Resort to work, each move in a Pokemon's moveset needs a "used" flag.
2012-03-14 19:46:13 -04:00
Bill Meltsner
b9069b8ede
Begin implementing Last Resort. It doesn't work against Substitutes yet.
2012-03-14 19:42:31 -04:00
Bill Meltsner
ebbf1aa470
Implement Incinerate.
2012-03-14 19:41:31 -04:00
Bill Meltsner
d9d5f4a36a
"Implement" After You.
2012-03-14 19:40:30 -04:00
Bill Meltsner
653d825dd8
Fix Imprison.
2012-03-14 19:18:19 -04:00
Bill Meltsner
f38dfb6cd8
Whoops, that last commit accidentally messed up Torment
2012-03-12 09:49:55 -04:00
Bill Meltsner
4e442c40c3
Implement Spit Up and Swallow.
2012-03-12 00:29:28 -04:00
Bill Meltsner
2689c2f5f9
Implement Grudge.
2012-03-12 00:28:21 -04:00
Bill Meltsner
7fb5fe3cc7
Implement SmellingSalt and Wake-Up Slap.
2012-03-11 23:06:40 -04:00
Bill Meltsner
6d443a3128
Implement Feint fully, and fix Quick Guard to only block moves with naturally positive priority.
2012-03-11 22:44:22 -04:00
Bill Meltsner
656c560ee4
Color Change should only activate on damaging moves.
2012-03-11 21:41:36 -04:00
Bill Meltsner
b337895afc
Fix Circle Throw and Dragon Tail to be contact moves, and fix forceSwitch to not trigger when either the user or the target have 0 HP (e.g. someone uses Circle Throw but faints that turn due to Iron Barbs).
2012-03-11 19:23:39 -04:00