Commit Graph

503 Commits

Author SHA1 Message Date
sirDonovan
c4f71a4c3f Update Mud and Water Sport Mechanics
Mud Sport and Water Sport now always last 5 turns
2014-04-08 01:06:02 -05:00
V4Victini
c76e95a7b6 Metronome shouldn't call event legends' moves
Keldeo, Meloetta, etc... this extends to Hoopa, Volcanion, and Diancie
2014-04-04 07:48:53 -04:00
Slayer95
47531d6dd1 Properly do 891e7aebb6 and extend to Embargo
The previous implementation caused the ModifyPokemon event to be interrupted for a pokemon holding a mega Stone in Magic Room.
2014-03-30 23:31:58 -05:00
Guangcong Luo
f8b78a4ecc Merge pull request #776 from sirDonovan/patch-2
Update Magic Room Mechanics
2014-03-30 23:49:52 -04:00
sirDonovan
891e7aebb6 Update Magic Room Mechanics
Magic Room should not affect Mega Stones
2014-03-30 22:40:18 -05:00
Slayer95
3be767238a Update some descriptions 2014-03-30 15:51:20 -05:00
Slayer95
838e44d861 Add Spiky Shield to moves non-callable by Assist 2014-03-30 13:28:36 -05:00
V4Victini
19b15150c8 Always Mega Evolve before Pursuit 2014-03-28 16:39:29 -04:00
The Immortal
7a27653950 Diamond Storm hits all adjacent Pokemon 2014-03-28 18:24:29 +04:00
sirDonovan
7f9da5c6ed Fix Sky Drop bug
Sky Drop should fail if the opponent used Sky Drop the previous turn, similar to Fly or Bounce.
2014-03-09 22:50:37 -05:00
Guangcong Luo
557bf4a23e Sync learnsets, implement Diamond Storm 2014-03-05 23:50:03 -05:00
The Immortal
63b7d586e9 Add new move Light of Ruin 2014-03-02 13:38:27 +04:00
Guangcong Luo
884e437383 Merge pull request #700 from Slayer95/master
Fix Infiltrator being unaffected by Gastro Acid
2014-03-01 13:47:11 -06:00
Slayer95
2859119dc5 Fix Gastro Acid not supressing Klutz 2014-03-01 13:23:17 -05:00
Ivo Julca
cf0c927a36 Fix Infiltrator being unaffected by Gastro Acid
Also add some debug data for Gastro Acid
2014-02-28 19:45:33 -05:00
Guangcong Luo
56b7dad516 Fix crash in Ally Switch 2014-02-27 00:36:57 -05:00
Slayer95
9f239e2ab7 Add high critical ratio for Sky Attack 2014-02-26 20:36:12 -05:00
V4Victini
63ecd69394 Minor Crafty Shield update
Fix priority and shortDesc
2014-02-25 17:35:50 -05:00
V4Victini
5ba0c04189 Gravity does not ignore effectivness 2014-02-22 16:13:13 -05:00
V4Victini
2193eeec53 Merge pull request #634 from Slayer95/heavy-gravity
Ground moves do 1x on mons with Iron Ball/Gravity
2014-02-22 15:53:01 -05:00
Ivo Julca
b594b61163 Revert bide immunity changes
31a34cc86d
2014-02-17 21:08:28 -05:00
Ivo Julca
005630f0f3 Improve Bide fix 2014-02-17 20:09:26 -05:00
Ivo Julca
13683c0cb7 Fix Bide in all gens
Ghosts are immune in Gen 2 and 3.
Also fix interaction with Sturdy.
2014-02-17 19:50:21 -05:00
Ivo Julca
1349c17d55 Update descriptions of items and moves
Rocky Helmet, Electric Terrain and Misty Terrain.
2014-02-16 18:23:59 -05:00
Ivo Julca
24550aee7e Properly check for being grounded in terrains 2014-02-16 17:59:28 -05:00
Ivo Julca
71d8d468b7 Ghosts are immune to Bide in Gen 6
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-30#post-4924214
2014-02-16 17:38:07 -05:00
Ivo Julca
5d5d5f5b57 Misty Terrain weakens dragon moves if target is grounded
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-18#post-4895777
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-53#post-5243853
2014-02-16 17:36:12 -05:00
Ivo Julca
bcf55a72ba Misty Terrain does not prevent confusion
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-53#post-5243853
2014-02-16 17:27:33 -05:00
Ivo Julca
1e96bef881 Electric Terrain does not awake asleep mons
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-27#post-4915683
2014-02-16 17:25:16 -05:00
The Immortal
ae6f4b494c Fix Fake Out bypassing Spiky Shield and King's Shield
This was caused in 729ed8d021
Also, Sucker Punch should not activate Protect
2014-02-16 23:37:58 +04:00
V4Victini
729ed8d021 Hardcode Fake Out exception
for King's Shield and Spiky Shield, we'll find a better way to do this later.
2014-02-15 16:40:56 -05:00
Ivo Julca
6ed52d85b6 Ground moves do 1x on mons with Iron Ball/Gravity 2014-02-12 13:25:41 -05:00
Quinella
fcf4963d8f Ally Switch: client requires the move in order to show the swap message 2014-02-12 13:34:02 +01:00
Guangcong Luo
a7210375e5 Merge pull request #610 from Slayer95/belch
Belch: eating any berry allows its use forever
2014-02-11 19:02:23 -06:00
Ivo Julca
e881192d0d Support moves in /effectiveness
Includes proper calculations for Freeze Dry and Flying Press.
Moves with fixed damage report 1x effectiveness.
2014-02-11 18:50:23 -05:00
Slayer95
035f655933 Megastones boost Knock Off if held by the wrong mon 2014-02-10 20:42:34 -05:00
TalkTakesTime
cadf916bae Correct Plates and Drives in Knock Off 2014-02-11 14:19:00 +13:00
TalkTakesTime
ca8673133d Fix Knock Off interaction with unremovable items 2014-02-11 13:56:53 +13:00
Tyler Stark
afb3dc0c09 First pass at code quality: adding semicolons. 2014-02-09 20:35:42 -06:00
Guangcong Luo
114b54cbd1 Fix Fairy Lock
(Fails when used twice in a row)
2014-02-09 16:32:50 -05:00
Guangcong Luo
147b7cf5ef Implement Fairy Lock 2014-02-09 16:20:10 -05:00
Slayer95
b7a0fba646 Fix Reflect Type 2014-02-08 12:19:38 -05:00
Guangcong Luo
62d1f0ddab Merge pull request #612 from V4Victini/ally-switch
Implement Ally Switch
2014-02-07 20:01:20 -06:00
Ivo Julca
85c07aac83 Fixes for Arceus typing
Fix Arceus overriding Trick-or-Treat and Forest´s Curse.
Implement Arceus typing more reliably by setting it when it switches into the field.
Display fail messages when trying to modify Arceus´ first type by any means.
Also fix mons keeping their typing when changing to another forme.
2014-02-07 19:39:18 -05:00
V4Victini
5c7d79212b Implement Ally Switch 2014-02-07 16:57:50 -05:00
Ivo Julca
dd2f623e4b Belch: eating any berry allows its use forever
Including the effects of Pluck, Bug Bite and Fling
2014-02-06 21:06:15 -05:00
Ivo Julca
0ce0befa95 Improve type change
Change back pokemon.types to a pointer to the types in the dex entry.
A typeless mon now defaults to ??? rather than undefined in pokemon.getTypes()
Implement methods pokemon.setType and pokemon.addType
'setType' accepts as parameters any amount of types, with the default attributes.
'addType' accepts as parameter a single type, which will have the flag 'isAdded'.
2014-02-05 21:39:22 -05:00
Guangcong Luo
e007c38ce2 Merge pull request #604 from Slayer95/typechange
Fixes for type change
2014-02-05 14:13:05 -06:00
V4Victini
87e4704200 Defog does not remove the user's screens 2014-02-04 22:07:07 -08:00
Juanma Serrano
35778f5a2a Fix Destiny Bond interaction with fwith future moves
Future moves were making both the user of them and
the Pokémon in the field to faint if the opponent used Destiny Bond
that turn.
Fix this by adding a property to future moves and making Destiny Bond
check it, since Destiny Bond does not work with future moves at all.
2014-02-04 10:58:30 +01:00