Commit Graph

263 Commits

Author SHA1 Message Date
Guangcong Luo
5b6e6038ac Merge pull request #1079 from Slayer95/protean
Fix more bugs with Protean
2014-07-12 22:31:57 -05:00
Slayer95
684a2a4418 Fix more bugs with Protean
- Fix an issue introduced in 6539521adc, where Protean didn't activate if the target was immune to the move.
- Protean should not activate if the user fails a Detect/Protect, or the move is Fling or Natural Gift and the user has no item.
- Protean should not activate on the first turn of a Pledge Combo. Aditionally, fix Flash Fire/Storm Drain, etc being activated by the first move in the combo.
- Introduce event 'PrepareHit', which is ran after any move target is resolved but before immunity is checked.
2014-07-12 21:42:02 -05:00
Guangcong Luo
e176899492 Merge pull request #1074 from Slayer95/aura
Fix aurae of the same type stacking together
2014-07-10 22:30:09 -05:00
Slayer95
79b37b5603 Fix aurae of the same type stacking together
Dark Aura, Fairy Aura
2014-07-10 22:24:42 -05:00
Slayer95
6539521adc Fix Protean activation timing
- The message for the move usage is now sent before Protean's activation.
- Protean is affected by Electrify and Ion Deluge.
- Protean activates after the move target is resolved.
2014-07-10 15:02:19 -05:00
Slayer95
375cf4a70d Fix Klutz causing Mega Stones to be ignored 2014-06-24 13:11:44 -05:00
Slayer95
dd44cf3e2a Mummy reveals the ability the affected pokemon had 2014-06-23 17:52:27 -05:00
Slayer95
a1f955e7b0 Fix Protean Arceus
It could only attack with Normal-type moves
2014-06-23 16:24:54 -05:00
Slayer95
a6287a0bbc Fix Shield Dust for multitarget moves 2014-06-21 21:26:41 -05:00
V4Victini
fc8902409a Fix bug introduced in 529281272a 2014-06-21 01:39:36 -04:00
V4Victini
529281272a RNG: Shield Dust
Shield Dust does not even permit rolls for secondary effects. This will
correct its interaction with the RNG.
2014-06-20 21:59:30 -04:00
The Immortal
04caa0879e Prevent status moves from activating Magician 2014-06-16 13:24:48 +04:00
Slayer95
6a48ce030d Tweaks for adjacency check methods 2014-06-12 02:02:37 -05:00
Slayer95
612ef3956d Intimidate affects adjacent foes only 2014-06-10 17:44:45 -05:00
Guangcong Luo
9d884372b0 Properly fix faint order for Iron Barbs etc 2014-06-09 06:37:14 -04:00
The Immortal
e89eb3b0fd Revert "Fix faint order for Iron Barbs etc"
This reverts commit e94940cd5f.
2014-06-09 13:43:35 +04:00
Guangcong Luo
e94940cd5f Fix faint order for Iron Barbs etc 2014-06-09 04:16:35 -04:00
Slayer95
dfbdce129c Actually fix Mold Breaker+Slow Start
It wasn't fully done in c6dc05d66d
2014-05-26 15:21:15 -05:00
Guangcong Luo
913a1b64ab Fix Compound Eyes 2014-05-24 17:27:39 -04:00
The Immortal
895c546b05 Fix Aroma Veil 2014-05-20 13:35:04 +04:00
Slayer95
c6dc05d66d Fix Slow Start/Unburden being ended by Mold Breaker
Temporal fix.
2014-05-10 16:56:02 -05:00
Slayer95
3811adca7c Fix description of Mold Breaker-like abilities
Active abilities are nullified regardless of who is attacked.
The description doesn´t agree with current PS behavior though.
2014-05-03 18:41:21 -05:00
The Immortal
6948516973 Update XY ability nums 2014-05-02 13:27:31 +04:00
小太
5c8fc7b982 Space after function for anonymous functions 2014-04-22 01:58:16 +10:00
小太
6fb3bc332a Spaces around operators and === instead of == 2014-04-22 01:56:11 +10:00
Slayer95
9354b3d975 Flower Veil prevents status ailments
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-54#post-5266278
2014-04-20 00:46:14 -05:00
Slayer95
c3ee9782fb Fix ignoring abilities or items sometimes being not effective
Items: Light Clay, Metronome
Abilities: Aura Break, Contrary, Gluttony, Levitate, Mega Launcher, Minus, Mold Breaker, Persistent, Plus, Shadow Tag, Slow Start, Soundproof, Stall, Unburden, Teravolt, Turboblaze, Zen Mode
2014-04-16 18:59:39 -05:00
sirDonovan
d0935d490f Fix No Guard
Fix ability causing multi-target moves to always hit all Pokemon
2014-04-15 18:37:32 -05:00
Relados
67fbff6730 Use noForce instead of comparison 2014-04-07 15:49:39 -05:00
Relados
fd68756d97 Remove Mummy message when attacker has Mummy
According to Marty, Mummy isn't supposed to show a message when the attacker already has Mummy.
2014-04-07 15:30:47 -05:00
sirDonovan
58b1da636b Fix Protean Bug
Protean should not activate when a Pokemon must recharge
2014-04-06 17:55:04 -05:00
The Immortal
ba97ab66c1 Change Dark/Fairy Aura boost to 1.33x 2014-04-03 12:55:18 +04:00
Ivo Julca
e21b042092 Fix Effect Spore and Synchronize ignoring Safeguard 2014-03-18 08:13:05 -04:00
Slayer95
1501dfa861 Fix Dark/Fairy Aura not affecting other mons 2014-03-04 16:28:27 -05: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
03d9e1111c Fix Dry Skin affecting allies hit by Fire 2014-03-01 11:52:30 -05:00
TalkTakesTime
76fb4ff7a6 Add start messages for Aura abilities 2014-03-01 22:21:39 +13: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
The Immortal
cd79f81ac9 Fix Bad Dreams activating after the user fainted 2014-02-23 23:43:51 +04:00
Guangcong Luo
887443c851 Fix crash in Bad Dreams 2014-02-23 14:09:14 -05:00
The Immortal
33bf89cdc0 Fix Cheek Pouch 2014-02-23 19:57:41 +04:00
V4Victini
923506d7de Merge branch 'master' of https://github.com/Zarel/Pokemon-Showdown into symbiosis 2014-02-18 01:39:12 -05:00
V4Victini
eabbf93be8 Implement Symbiosis 2014-02-18 01:38:51 -05:00
V4Victini
4a263c682f Update Aroma Veil Rating
It isnt useless
2014-02-17 21:33:36 -05:00
V4Victini
c10797743b Update Cheek Pouch 2014-02-17 11:35:19 -05:00
The Immortal
cf6a365e6e Harvest shouldn't activate if the Pokemon faints 2014-02-14 11:57:39 +04:00
Tyler Stark
afb3dc0c09 First pass at code quality: adding semicolons. 2014-02-09 20:35:42 -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
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