Commit Graph

585 Commits

Author SHA1 Message Date
The Immortal
99fd471974 Fix Assurance bug
This fixes the bug where a Pokemon with Eject Button being hit caused
the switch-in to be hit by double power.
2014-10-10 11:58:57 +04:00
ascriptmaster
f8b0e529ac Fix Sky Drop to miss against Phantom Force
Added Phantom Force to the list of moves that Sky Drop will miss against.
2014-10-02 00:26:58 -07:00
ascriptmaster
4272e1a21e Entrainment now uses [from] in its messages
When a Pokemon uses Entrainment, the correct battle message should be
"POKEMON acquired ABILITY!", which only displays in the client if the
[from] tag is included in the message.
2014-10-01 23:17:58 -07:00
小太
fe37f3b6a7 Apply jscs to the data files as well 2014-09-30 18:34:16 +10:00
小太
5027be79fb Add jscs as a style checker, and add some extra jshint options 2014-09-29 18:38:01 +10:00
Ivo Julca
668c749714 Support 64x modifiers for Stealth Rock damage 2014-09-27 19:26:40 -05:00
QxC4eva
62a9358aa0 Remove end comma in roost.self 2014-09-01 11:21:25 +10:00
QxC4eva
7fe9ec5704 Switch around dazzlinggleam shortDesc and desc, grammar fixes 2014-08-29 18:44:28 +10:00
Guangcong Luo
12b673bb49 Fix style errors; update gulpfile
I used a hack to make the multiple declaration errors go away,
so all that remained in jsHint were actual errors, which I've
now mostly fixed.

All this linting ended up uncovering one actual bug: Uproar's
message not showing. It's a very minor bug in a move no one uses,
so I'm going to fold it into this commit.
2014-08-10 18:06:44 -04:00
Ivo Julca
79d2ede676 Update Heal Block to XY
It now disables damaging moves with draining capabilities.
2014-08-10 16:50:05 -05:00
The Immortal
50c7373338 Fix Recycle showing the item id 2014-08-05 16:53:28 +04:00
Ivo Julca
6fdaab6ae8 Fixes for Skull Bash
It boosts user stats even if Power Herb activates, but only since Gen 2.
2014-07-31 15:32:15 -05:00
V4Victini
6303b11a76 Correct Struggle target
You can't pick a target for Struggle
2014-07-30 01:33:12 -04:00
Guangcong Luo
f14ecce6a6 Merge pull request #1082 from Slayer95/typeadd
Fix Trick-or-Treat/Forest's Curse giving away foe's Illusion
2014-07-22 02:49:43 -05:00
Slayer95
7c4ffd2365 Send 'silent' attribute on swapPosition for auto-centering
Also refacor battle.swapPosition a bit to use more generic arguments.
2014-07-17 06:21:19 -05:00
Guangcong Luo
2c39a828a4 Merge pull request #1083 from Slayer95/trap-passing
Trap passing
2014-07-17 02:08:57 -05:00
Slayer95
126b633ceb Properly fix Sky Drop retargetting 2014-07-15 16:33:47 -05:00
Slayer95
cc0c856231 Gen 2-4: Users of Mean Look, etc. can Baton Pass the effect 2014-07-15 02:52:37 -05:00
Slayer95
82bd112baa Fix Trick-or-Treat/Forest's Curse giving away foe's Illusion 2014-07-14 22:24:40 -05:00
Slayer95
3b22b1f570 Skill Swap fails if user and target share ability 2014-07-14 18:36:31 -05:00
Slayer95
341d61e484 Fix Pledge moves waiting for fainted/inactive allies 2014-07-13 03:20:16 -05:00
Slayer95
ffee61633c Fix Sky Drop damaging the switch in if its original target faints 2014-07-13 02:33:43 -05:00
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
Slayer95
c8c685367a Scald thaws frozen targets in Gen 6 2014-07-12 01:33:40 -05:00
Slayer95
31f26e3f5d Grassy Terrain weakens some Ground moves
Earthquake, Bulldoze and Magnitude have their power halved.
2014-07-12 01:09:36 -05:00
The Immortal
0264c84a53 Update Diamond Storm 2014-07-12 04:06:48 +04:00
The Immortal
fe1bf84162 Hyperspace Hole bypasses Substitute 2014-07-11 22:39:30 +04:00
The Immortal
582952f5a8 Update Metronome 2014-07-11 22:36:46 +04:00
The Immortal
fbc5097849 Add event Diancie 2014-07-11 22:05:37 +04:00
Slayer95
4c8df32744 Merge branch 'triples' 2014-07-09 22:29:18 -05:00
The Immortal
4996fdad85 Add Hold Hands 2014-07-08 02:09:43 +04:00
The Immortal
b3721d071f Sucker Punch fails against a recharging target 2014-07-05 03:55:54 +04:00
The Immortal
148479c057 Implement new Conversion mechanics 2014-07-05 03:49:34 +04:00
V4Victini
3ebbb7aa31 RNG: Metronome
Select the move from a sorted index of selectable moves.
2014-06-25 11:31:26 -04:00
Slayer95
8f3337a267 Fix ability being leaked to client on Gastro Acid 2014-06-23 17:51:55 -05:00
The Immortal
762b9ec224 Update Bulletproof moves 2014-06-24 00:51:40 +04:00
Tempoanon
82c3a4acf1 Update poison fang's description
Poison fang has 50% of poison, from this commit: 4839db60b3
2014-06-17 23:11:26 -07:00
Slayer95
a7efa2c350 Make sure that moves restricted to adjacent targets have valid targets
Also Helping Hand's targetting is not hard-coded anymore.
2014-06-16 17:28:30 -05:00
sirDonovan
6ecf53eee4 Fix Ion Deluge shortDesc
Previous shortDesc exceeded character limit
2014-06-13 04:21:42 -05:00
Guangcong Luo
4f1188b74a Final Gambit user faints first 2014-06-11 04:17:29 -04:00
Slayer95
3c4927683f Helping Hand stacks with itself 2014-06-10 19:19:58 -05:00
The Immortal
96d90b2ac4 Merge pull request #994 from Slayer95/counter
Fix Counter et al in Singles
2014-06-09 12:54:35 +04:00
Slayer95
8190e73dba Fix Counter et al in Singles 2014-06-09 03:52:58 -05:00
Guangcong Luo
f4628f065e Merge pull request #991 from Slayer95/counter
Implement target of Counter, Mirror Coat and Metal Burst
2014-06-09 00:56:10 -05:00
Slayer95
c1473692cc Fix Avalanche/Revenge being boosted too often 2014-06-09 00:34:28 -05:00
Slayer95
dc3b492823 Implement target of Counter, Mirror Coat and Metal Burst 2014-06-08 23:21:01 -05:00
Slayer95
79f83f1d2c Fix prevention of Arceus´ setType 2014-05-31 19:40:34 -05:00
The Immortal
bb8dbb2ee1 Update descs 2014-05-29 00:46:57 +04:00
Lynn "Zhorken" Vaughan
af8a14e654 Rerip a bunch of move data.
I checked all the following against an X ROM dump:

- basePower (no errors)
- pp
- accuracy
- priority (no errors)
- secondary chance (no errors)
- isContact
- type (no errors)
- category (no errors)
- isSnatchable
- isSoundBased
- isPunchAttack

I also tried to check isBounceable and isNotProtectable, but they seem
to work somewhat differently from the corresponding game flags.
2014-05-28 13:50:17 -04:00