Guangcong Luo
c331f2d440
Merge pull request #1678 from ascriptmaster/move-fixes
...
Refactor Unaware to use ModifyBoost
2015-03-27 13:16:55 -05:00
Ivo Julca
df427ad7b1
Fix indentation of a comment in statuses.js
2015-03-27 01:33:02 -05:00
Kevin Lau
ab80397192
Refactor Unaware to use ModifyBoost
...
Cleans up the code quite a bit because it no longer needs the hardcoding
option that it was having.
2015-03-26 20:06:47 -07:00
Guangcong Luo
67c8df4da0
Merge pull request #1665 from ascriptmaster/move-fixes
...
Fix Foresight and Miracle Eye to use ModifyBoost
2015-03-26 16:08:20 -05:00
Kevin Lau
c5bc1a60d1
Fix Foresight and Miracle Eye to use ModifyBoost
...
Also deprecates move.ignorePositiveEvasion
2015-03-26 13:00:51 -07:00
Kevin Lau
47ea3b5f32
Refactor ModifyBoost to use objects
...
This allows ModifyBoost handlers to check the stat names properly.
2015-03-26 13:00:49 -07:00
The Immortal
e02bde05c0
Fix Wish crash
2015-03-26 22:08:13 +04:00
The Immortal
d4fc2c140a
Ban Sneasal and Throh from PU
2015-03-26 21:05:47 +04:00
The Immortal
99697c3498
Merge pull request #1666 from ascriptmaster/randoms
...
Random Battle: Update some sets
2015-03-26 15:23:56 +04:00
Kevin Lau
5a3c2a25e6
Random Battle: Update some sets
...
With the EV generation policy in place for Doubles, it is detrimental
for Pokemon to run mixed sets, so some physical moves were removed
from Charizard and Dewgong.
Added Double-Edge to standard Pidgeot to give it extra damage output.
Reject Unburden on super-fast Pokemon (Accelgor) in Doubles like it is in
Singles.
Reject Wood Hammer with Giga Drain (Abomasnow)
2015-03-25 22:04:16 -07:00
The Immortal
ba2e463ef5
Update Teambuilder's "usable moves"
...
More stricter than my previous update. These moves are used on a very
small percent of the Pokemon that actually learn them, or not used at
all.
2015-03-26 02:51:28 +04:00
galbia
c121c4af73
Updated some viablemoves in teambuilder
...
Moves such as Teeter Dance and Stockpile are just awful on everything,
Searing shot is not viable on the only Pokemon that gets it sadly,
Infestation is not good on anything simply and should get close to
zero usage. Retailate is a wasted moveslot on everything. @xfix said
that me doing this was fine :)
2015-03-25 22:45:53 +01:00
Juanma Serrano
d71d3737bd
Fix bug in Focus Punch stopped by hit on Sub
...
Fixes the bug introduced in 555bae44d1 in which Focus Punch is stopped by hitting a Substitute, totally breaking the somewhat common SubPunch tactic.
It also now takes into account that damage should be higher than 0 if existing.
2015-03-25 13:45:18 +01:00
The Immortal
e7c23b70c5
Fix Aromatherapy
...
It does not work on Pokemon with a Substitute in gen 6.
2015-03-25 04:34:58 +04:00
The Immortal
555bae44d1
Include Status moves in lastAttackedBy
...
This is needed for Mirror Move to work correctly. This also fixes a rare
Focus Punch bug involving 0 damage.
2015-03-25 03:14:40 +04:00
The Immortal
7ffa583b58
Fix Nightmare bug
...
According to the desc, "The effect ends when the target wakes up, even
if it falls asleep again in the same turn."
2015-03-24 03:32:27 +04:00
The Immortal
3de23cb90a
Use the reflectable flag for Magic Bounce/Coat
2015-03-24 02:42:04 +04:00
The Immortal
bb11e15fdb
Use the mirror flag for Mirror Move
2015-03-24 00:36:08 +04:00
The Immortal
4d889a5328
Revert "Fix crash in Substitute with move flag 'sound'"
...
This reverts commit 45230a1dbc .
2015-03-23 21:51:09 +04:00
Juanma Serrano
45230a1dbc
Fix crash in Substitute with move flag 'sound'
...
Bug appeared in Seasonal, but it might happen elsewhere.
Putting gen check first just in case move is rewritten in a past gen.
2015-03-23 18:05:43 +01:00
Kevin Lau
e4f3c81e39
Prevent multiple Kyurem-Black and Kyurem-White on AG teams
...
Anything Goes allows anything that is obtainable in-game, and only one
Kyurem-Black or Kyurem-White can exist on a game cartridge at a time.
2015-03-22 17:12:42 -07:00
Marty-D
dea410b304
Merge pull request #1658 from ascriptmaster/move-fixes
...
Skill Swap sends End events even if it's the same ability
2015-03-22 19:59:12 -04:00
Kevin Lau
3adf58e5bc
Skill Swap sends End events even if it's the same ability
...
Fixes behavior with Flash Fire/Unburden with Skill Swap.
2015-03-22 15:01:08 -07:00
Guangcong Luo
d89a77ac87
Merge pull request #1639 from ascriptmaster/modifypokemon
...
Weight Refactor: Do not modify weight in ModifyPokemon
2015-03-21 22:38:43 -05:00
Marty-D
351c13aa98
Merge pull request #1655 from ascriptmaster/move-fixes
...
Flash Fire boost disappears when the ability is removed
2015-03-21 14:51:23 -04:00
Marty-D
ed074532c6
Make sure the flags object always exists
2015-03-21 14:29:07 -04:00
The Immortal
01c81f3415
Random Battle: Reject Stealth Rock with Rest
2015-03-21 19:27:45 +04:00
The Immortal
52536cd860
Fix Light Screen and Reflect in Doubles
...
- Screens affect allies
- Reflect does not affect confusion
The change to target.side.active is purely cosmetic as source works as
well. It makes more sense this way to me.
2015-03-21 15:32:32 +04:00
Kevin Lau
c60de125bd
Flash Fire boost disappears when the ability is removed
...
Added onEnd event to Flash Fire (and Unburden) to check for when the
ability disappears.
2015-03-20 15:55:16 -07:00
The Immortal
63cd918c48
Random Battle: Improve Charizard's moves
2015-03-20 23:24:15 +04:00
The Immortal
3801c97ed2
Add description of flags
...
It is unlikely to know what all the flags mean from just their name.
2015-03-20 22:26:24 +04:00
The Immortal
5b30ec9078
Remove isPowder property from moves
2015-03-20 16:20:29 +04:00
The Immortal
a1b04afb89
Fix Doom Desire / Future Sight crash
2015-03-20 12:07:30 +04:00
Rhythms
7736ae05cf
Seasonal: Lowercase antemortem
2015-03-19 23:08:50 -06:00
Guangcong Luo
4f312e7a51
Merge pull request #1642 from codelegend/getteam-patch
...
remove redundant code in get team
2015-03-19 17:47:32 -05:00
The Immortal
d81fdd4549
Remove isSoundBased property
2015-03-20 02:13:38 +04:00
The Immortal
ca31b6edc5
Remove isPunchAttack property
2015-03-20 01:51:55 +04:00
The Immortal
c527eecbeb
Seasonal updates
2015-03-20 00:45:17 +04:00
Marty-D
3533a15976
Make sure some Abilities are properly suppressed
2015-03-19 13:43:41 -04:00
Kevin Lau
b0c2dcde5f
Weight Refactor: Do not modify weight in ModifyPokemon
...
Added a new event, ModifyWeight, to deal with weight changes from items,
abilities, and moves. Add a function getWeight to call the event and
return a Pokemon's current weight.
2015-03-18 18:44:01 -07:00
Kevin Lau
0fc39a4815
Random Double Battle: Update Raticate
...
It doesn't want Super Fang since it usually gets Guts anyways.
2015-03-18 17:02:27 -07:00
codelegend
b72c19c49a
remove redundant code in get team
2015-03-18 23:18:01 +05:30
The Immortal
73ba701aa7
Merge pull request #1638 from ascriptmaster/randoms
...
Random Double Battle: Update Sharpedo
2015-03-17 22:43:17 +04:00
Kevin Lau
f153f55c02
Random Double Battle: Update Sharpedo
...
The Double Battle EV generator is different from that for Singles, and
makes it less beneficial to have mixed moves.
2015-03-17 11:37:51 -07:00
The Immortal
b527192431
Update Snatch to use flags
2015-03-16 22:42:24 +04:00
The Immortal
9a6ebce858
Update moves' isViable flag
2015-03-16 22:21:17 +04:00
Juanma Serrano
e41db19062
Gen 3: Implement properly future-hit moves
...
This fixes the problem of future moves getting STAB and effectiveness.
Relevant commits: fb6a75e3a3 and a057a77970
2015-03-16 13:56:58 +01:00
The Immortal
a48eb28773
Merge pull request #1636 from ascriptmaster/randoms
...
Random Battle: Reject Crunch and Dark Pulse together
2015-03-16 00:16:03 +04:00
Kevin Lau
70102961a1
Random Battle: Reject Crunch and Dark Pulse together
...
Affects Lucario. It should prefer Crunch unless it is a Nasty Plot set.
2015-03-15 13:13:17 -07:00
The Immortal
7c4c0480d1
Minor Random Battle change
...
Use the ate counter to check for Normal moves.
2015-03-15 22:31:00 +04:00