Commit Graph

556 Commits

Author SHA1 Message Date
asgdf
8620fab0d4 Add ignoring Aurora Veil to Infiltrator's description (#3872) 2017-08-09 10:30:51 -04:00
Lionyx
d3c863c7dd Update the list of Abilities Trace cannot trace (#3694) 2017-08-07 23:14:11 -04:00
Marty-D
702c029385 Fix -ate Abilities' interaction with moves 2017-08-02 20:17:02 -04:00
The Immortal
727a2e7dff Fix Normalize interaction with certain moves 2017-08-03 00:28:13 +04:00
urkerab
5bc0c634d6 Reset Parental Bond damage after a move (#3847) 2017-07-29 20:10:02 -04:00
urkerab
217f3b34e3 Shields Down blocks Yawn when active and ignores Mold Breaker (#3799) 2017-07-17 18:48:24 -05:00
Ivo Julca
4e543aee9e Implement Trace adjacency check 2017-05-27 20:43:24 -05:00
t8bm
4cef9358c9 Fix Refrigerate modifiers (#3552) 2017-05-25 22:09:44 -04:00
urkerab
f24d7cbadb Move Illusion-breaking out of the battle engine (#3549) 2017-05-24 20:36:17 -04:00
Guangcong Luo
6dd58b40d3 Refactor simulator into new sim/ directory
This is a surprisingly minor refactor considering how many files it
touches, but most of this is only renames.

In terms of file renames:
- `tools.js` is now `sim/dex.js`
- `battle-engine.js` is now `sim/index.js` and its three classes are
  in `sim/battle.js`, `sim/side.js`, and `sim/pokemon.js`
- `prng.js` is now `sim/prng.js`

In terms of variable renames:
- `Tools` is now `Dex`
- `BattleEngine` is now `Sim`
- `BattleEngine.Battle` is now `Sim.Battle`
- `BattleEngine.BattleSide` is now `Sim.Side`
- `BattleEngine.BattlePokemon` is now `Sim.Pokemon`
2017-05-05 16:48:38 -05:00
MacChaeger
e2c07a6c6f Fix Perish Song + Soundproof (#3487) 2017-04-29 09:48:45 -04:00
The Immortal
02ea84fd59 Random Battle: Ability improvements 2017-04-25 17:13:31 +04:00
Kevin Lau
8970beac69 Random Battle: Allow Belly Drum Gluttony (#3472) 2017-04-24 20:47:11 +04:00
MacChaeger
e22a504824 Random Battle: Update Mudsdale (#3462) 2017-04-18 15:18:17 +04:00
The Immortal
afe3341a53 Random Battle updates
- Increase Adaptability rating
- Remove Toxic from Mega Blastoise
- Update gen 6 with relevant changes from current gen
2017-04-14 16:53:11 +04:00
Marty-D
a85486e82b Correct loop in Analytic 2017-04-10 18:21:56 -04:00
Marty-D
d51ff82dde Fix Analytic 2017-04-10 16:20:32 -04:00
Marty-D
584e08c9dd Fix Color Change 2017-04-07 16:55:55 -04:00
Marty-D
1f2347493a Add dance flag 2017-03-31 10:36:17 -04:00
The Immortal
fc9cdf44f6 Random Battle updates 2017-03-13 08:54:43 +04:00
urkerab
3dc35a5bf5 Multiple Dancers should be able to copy Dance moves (#3354) 2017-03-11 19:10:06 -06:00
Marty-D
c1036db6be Update Sheer Force and Shield Dust mechanics
Fixes #3339
2017-03-06 17:51:24 -05:00
Guangcong Luo
6306b5979f Fix infinite looping Dancer 2017-02-24 06:54:13 -06:00
Guangcong Luo
9200062819 Improve Dancer implementation
This doesn't fix the biggest issue with Dancer (Petal Dance locking),
but it does fix every other Dancer issue, by moving it from useMove
to runMove.

This also adds improved comments on runMove and useMove.
2017-02-24 03:17:37 -06:00
Marty-D
8a3e4e5ac1 Fix Trace 2017-02-18 23:04:28 -05:00
Marty-D
c66ebaed3c Update Ability descriptions 2017-02-17 15:08:48 -05:00
Slayer95
7b7ec0846e Fix crash in Disguise effectiveness handler out of move sequences 2017-01-28 15:01:08 -05:00
Marty-D
385394bab4 Fix the first hit's effectiveness against Disguise 2017-01-27 11:05:46 -05:00
Marty-D
f14243f135 Fix Contrary and Simple's interaction with Z-Powered stat boosts 2017-01-26 21:34:42 -05:00
HoeenHero
91c737a6f6 Reflected moves shouldnt be boosted by Prankster (#3188) 2017-01-26 02:55:33 -05:00
Marty-D
d036d82328 Fix Dazzling and Queenly Majesty
Closes #3107
2017-01-23 20:12:25 -05:00
Marty-D
0cd3e51786 Update Strength Sap 2017-01-23 20:03:31 -05:00
Kevin Lau
745d1daa6c Fix Minior Shields Down Message (#3108)
Adding the [msg] kwarg actually prevents the proper message from
displaying.
2017-01-22 23:58:54 -05:00
Marty-D
463677cdb7 Update Slush Rush
It doesn't actually grant immunity to Hail...
2017-01-11 23:06:17 -05:00
Marty-D
1aac19401f Fix Berserk 2017-01-02 14:47:04 -05:00
Marty-D
c7e160b3e5 Update Emergency Exit and Wimp Out 2017-01-02 14:42:25 -05:00
Guangcong Luo
bf4e3df3b8 Deprecate decision.targetSide/targetPosition
These are no longer used; we now only use targetLoc.
2016-12-26 17:12:40 -05:00
Marty-D
d8ad3d9687 Fix Battle Bond 2016-12-17 13:14:53 -05:00
Marty-D
e1c43d4bb4 Properly fix Emergency Exit and related effects 2016-12-15 09:57:06 -05:00
Guangcong Luo
cfd1d0ab92 Fix Emergency Exit + Sitrus Berry interaction
If Sitrus Berry activates before switch-out, Emergency Exit shouldn't
activate.
2016-12-15 03:03:11 -08:00
Marty-D
d6b00e46e6 Remove placeholder forme change messages 2016-12-12 19:56:29 -05:00
The Immortal
92a9a8b9a9 Random Battle updates 2016-12-07 19:45:52 +04:00
The Immortal
d3eed333a6 Disguise can't be Traced 2016-12-07 01:14:37 +04:00
urkerab
76dd2f9493 Simplify Mold Breaker clones by getting the move to ignore abilities (#2996) 2016-12-06 12:29:39 -06:00
Marty-D
019a139956 Implement Comatose properly 2016-12-03 20:19:18 -05:00
Marty-D
66240f75e1 Implement new faint order 2016-12-03 11:33:00 -05:00
urkerab
f2bbd08418 Stamina shouldn't trigger for self-confused damage (#2976) 2016-12-01 20:50:49 -05:00
Marty-D
986d036e38 Fix Battle Bond description 2016-12-01 16:48:54 -05:00
Marty-D
9fd654df45 Support Minior changing back to the selected Core color
Plus update Shields Down descriptions.
2016-11-29 22:09:14 -05:00
The Immortal
59856dfe1e Increase Water Bubble rating 2016-11-29 20:07:54 +04:00