The Immortal
40c49cc5c5
Random Battle updates
2017-11-20 19:18:13 +08:00
Marty-D
ebb274ed86
Update descriptions
2017-11-17 21:09:37 -05:00
Kris Johnson
f2caefba9b
Ultra Sun and Ultra Moon update ( #4151 )
2017-11-16 20:34:43 -06:00
urkerab
e9303b1d1a
Use this when it's a Dex ( #4152 )
2017-11-16 16:57:08 -06:00
Guangcong Luo
246dfa1da3
Refactor in-object-literal to array-includes ( #4079 )
...
Previously, if we wanted to test if A was either 'B' or 'C', we would use
the pattern:
A in {B:1, C:1}
I actually don't know how common this pattern is; I just started using
it because I was tired of typing `A === 'B' || A === 'C'` all the time.
I never really liked it, though; the `:1` part made it kind of
blatantly a hack.
I did some testing and `['B', 'C'].includes(A)` is overall faster.
(A switch statement is around 20x faster still, but who wants to type
that much code?)
Anyway, the new standard is
['B', 'C'].includes(A)
Something something progress!
2017-10-23 09:19:15 -05:00
Marty-D
312f93c47c
Revert "Fix confusion interaction with HP-checking items ( #4045 )"
...
This reverts commit
6651c5dadb .
2017-10-20 21:05:49 -04:00
The Immortal
792f7e0162
Random Battle updates
2017-10-20 13:29:40 +04:00
QuiteQuiet
6651c5dadb
Fix confusion interaction with HP-checking items ( #4045 )
2017-10-17 09:26:27 -04:00
Kris Johnson
5d13b92bc8
Fix -ate Abilities' interaction with type-changing moves ( #4023 )
2017-09-27 22:01:37 -04:00
Marty-D
9a35ee28e5
Clarify Stakeout description
2017-09-27 13:50:17 -04:00
Marty-D
c33dff68a0
Fix new Ability modifiers
2017-09-27 10:24:27 -04:00
MacChaeger
05cdd33542
Fix Dancer activation order ( #4009 )
2017-09-23 20:17:00 -04:00
The Immortal
5e7d460149
More Random Battle updates
2017-09-10 01:08:51 +04:00
The Immortal
e778ee0332
Random Battle: Improve Abilities
2017-09-09 16:07:52 +04:00
The Immortal
8eecbdb899
Random Battle updates
2017-09-09 01:59:11 +04:00
The Immortal
748305ec2b
Modify weather abilities' ratings
2017-09-07 13:17:41 +04:00
Guangcong Luo
2923b94140
Sim: Moves may only be aura boosted once
...
Fixes #3952
2017-09-05 19:11:48 -04:00
Marty-D
3e6ba18cd4
Fix Disguise interaction with substitutes
2017-08-27 18:48:25 -04:00
urkerab
5ea93dc11b
Fix parameters to onAnyBasePower for Dark/Fairy Aura ( #3922 )
2017-08-27 14:45:15 -05:00
urkerab
0ed87b755d
Remove some ability effects to improve compatibility with Instruct ( #3905 )
2017-08-23 22:45:54 -07:00
Marty-D
389d10e636
Update Ability descriptions
...
And remove redundant inheritance from Gen 3
2017-08-23 20:25:50 -04:00
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