Guangcong Luo
fe2da359e9
Refactor when accuracy is calculated
...
Accuracy is now checked after immunities and certain other effects,
rather than before.
2013-04-06 12:55:38 -07:00
Guangcong Luo
55362a8f81
Gem activation conditions fix
2013-04-06 08:47:21 -07:00
Marty-D
5370068ed7
Make sure Gems don't activate with Status moves.
2013-04-06 10:47:00 -04:00
Guangcong Luo
b0cfddcede
Fix Gems and spread moves
...
Gems now boost all hits of a spread move.
This introduces a new event BasePowerMultiplier, so that gems actually
activate at the right time now.
The name is similar to basePowerModifier but they do the same thing
anyway. We should probably figure something out for their naming,
though.
2013-04-05 23:13:26 -07:00
The Immortal
a14b34864a
Randbats script update
...
- Add Hustle counter
- Prevent a few move combinations
- Prevent Simple without a boosting move
- Prevent Swift Swim/Chlorophyll without Rain Dance/Sunny Day
- Set Combee's ability to always be Honey Gather
- Set Deoxys-D and Deoxys-S to level 74
2013-04-02 22:35:07 +04:00
Cathy J. Fitzpatrick
e45652180b
Remove use of some obsolete functions
2013-03-29 01:27:49 -06:00
The Immortal
0ee5661e1f
Randbats changes
2013-03-26 00:51:59 +04:00
Marty-D
78b489c217
Fix 'selfdestruct' moves again.
...
- Healing Wish and Lunar Dance fail correctly when the user is the last
Pokemon.
- Final Gambit and Memento don't faint the user when used against a
Protecting target.
2013-03-23 23:19:31 -04:00
The Immortal
42118ab5d0
Update Randbats script
...
- Add Adaptability counter
- Prevent a few combinations
2013-03-23 01:56:18 +04:00
Marty-D
b745012c70
Set moveUsed before running useMove.
...
- This fixes Cursed Body, among other things.
2013-03-20 17:22:51 -04:00
Joim
e0c35c85b9
Add April Seasonal random team making script
...
Add the random team maker for the new April Seasonal, Fools Festival.
2013-03-19 12:06:13 +01:00
The Immortal
8e4c14bebb
Randbat script update
...
- Prevent Baton Pass with Switcheroo/Trick
- Prevent Fiery Dance with Fire Blast (Volcarona)
- Prevent SolarBeam without Sun
- Prevent Bolt Strike with Fusion Bolt (Zekrom)
2013-03-17 01:54:46 +04:00
The Immortal
5a60ea4ce1
Randbat script changes
...
- Prevent Cotton Guard with Reflect
- Prevent Light Screen with Calm Mind
- Prevent Choice Scarf with Status moves
2013-03-10 00:17:06 +04:00
Marty-D
a32da9a1f5
Fix Spit Up, tidy up Stockpile.
2013-03-05 15:16:33 -05:00
Guangcong Luo
ce0ffe654e
movedThisTurn overhaul:
...
- now named 'moveThisTurn' and contains the moveid
- this fixes the Outrage issue
2013-03-05 11:27:49 -08:00
Joim
d2745c445b
Bug fixes on Seasonal Ladder Spring Forward
...
Avoid Softboiled being repeated in Chansey and Blissey.
Gems should always be Grass Gem due to Sceptile, and
Barrage and Egg Bomb being Grass-type.
2013-03-03 17:56:38 +01:00
Joim
93973cdc4f
Fix two bugs in Seasonal Spring Forward
...
Add a better item for Toxic Orb Breloom, since no Poison Heal.
Random scripts for Gender is not ready.
2013-03-03 10:32:58 +01:00
Marty-D
0906f7c880
Make sure Challenge Cup Pokemon have a Nature.
2013-03-02 14:11:12 -05:00
Joim
b7af28f566
Add new random team maker for new Seasonal
...
Add the new Random Team maker for the new Seasonal Ladder
for March, Spring Forward
2013-03-01 14:47:16 +01:00
Bill Meltsner
32d9826862
Fix Smeargle's moveset in Challenge Cup.
2013-02-20 22:48:21 -08:00
Guangcong Luo
24db004538
Multi-hit moves now stopped by Sleep
...
(this is an obscure interaction with Effect Spore)
2013-02-20 13:44:13 -08:00
Guangcong Luo
e7e0f8ffec
Berries can now activate between hits of multihit moves
2013-02-20 13:20:58 -08:00
Cathy J. Fitzpatrick
e436d41a49
Fix selfdestruct status moves
2013-02-17 12:47:12 -07:00
Bill Meltsner
f7b3a757fa
Fix No Guard missing against Pokemon in the middle of Fly/Dig/Dive/Shadow Force
2013-02-17 11:41:01 -08:00
Guangcong Luo
53d62da175
Describe the event system in comments
...
also add a few other comments
2013-02-16 22:37:31 -08:00
Guangcong Luo
67b063f910
Fix base power 0
...
Now it actually means 'don't deal damage' rather than 'deal 0 damage'
this removes the need to specialcase secondaries and status moves, too
2013-02-16 21:34:30 -08:00
The Immortal
ed1bd85dd1
Randbat script update
2013-02-17 01:14:09 +04:00
Marty-D
144b97af80
Add support for both types of 'miss' messages.
2013-02-14 16:04:23 -05:00
The Immortal
da3bdadff8
Randbats script updates
...
- Add a few move combinations to be prevented
- If legal, set Swift Swim for Pokemon with Rain Dance
2013-02-14 23:22:02 +04:00
Marty-D
6a10746c34
Fix Jynx for Seasonal Ladder.
2013-02-07 21:45:35 -05:00
Guangcong Luo
cc99883311
Fixes to the seasonal ladder
2013-02-05 14:19:16 -08:00
Joim
277ca65641
Adding Valentine Venture random team selection
...
Added the random team selection for the new Seasonal ladder for
February Valentine Venture (randomSeasonalVVTeam).
It's a doubles ladder that chooses three couples for each player.
2013-02-05 08:33:17 +01:00
Guangcong Luo
561393658b
Fix Spite
2013-01-29 14:55:24 -08:00
Guangcong Luo
a475ea5901
Fix Beat Up crash
2013-01-28 10:27:01 -08:00
Guangcong Luo
3b0ddd2b4d
Implement Pledges
...
This introduces a new function battle.prioritizeQueue which
will move a decision to the front of the queue
2013-01-26 09:22:04 -08:00
Marty-D
0a7dd3cfe4
Add the Pay Day message.
2013-01-25 20:09:48 -05:00
TheImmortal
cbb65b6583
Add isAdjacent function
...
Used to check if two allies are adjacent and have not fainted
2013-01-25 21:07:39 +04:00
Guangcong Luo
b67454743b
Hidden Power fix:
...
- Random battles and automatic detection sets Hidden Power IVs correctly
- Hidden Power now always does damage based on user's IVs
- User's Hidden Power base power is now reported
2013-01-24 15:03:04 -08:00
Joim
27acbf931f
Pichu-Spiky-eared shouldn't appear in random teams
...
Pichu-Spiky-eared has been excluded from the random team forming as it is not available in BW2.
2013-01-23 18:19:36 +01:00
Marty-D
88caef8914
Make sure multi-hit moves count each hit's damage separately.
2013-01-22 19:37:58 -05:00
TheImmortal
136c78cce5
Fix error in previous scripts.js commit
2013-01-20 17:32:51 +04:00
TheImmortal
4e5137b78a
Randbats script updates
...
- Reject Relic Song with setup
- Reject Encore/Pursuit/Stealth Rock/Sucker Punch with RestTalk
- Reject Hydro Pump with Razor Shell/Scald
- Reject Flamethrower with Blue Flare
- Reject Bonemerang/Earth Power with Earthquake
- Make Wynaut/Wobbuffet get Custap Berry 50% of the time with Destiny Bond
- Add the possibility of getting Lum Berry with Outrage
2013-01-19 21:17:03 +04:00
TheImmortal
0e25b08412
Randbats: Prevent Shed Skin + Chesto with Rest
2013-01-15 02:08:54 +04:00
Guangcong Luo
e37792dcf8
Fix bug in spread hit damage calculation
2013-01-11 17:13:00 -08:00
Guangcong Luo
f6f2d0febc
Properly fix spread hits and damage reduction
2013-01-11 16:03:51 -08:00
Guangcong Luo
4827a10931
Spread hits only get damage reduction if they spread
2013-01-11 15:57:39 -08:00
Marty-D
ddbd2d37c4
Fix multi-hit moves.
2013-01-08 20:23:21 -05:00
TheImmortal
e8e8acbc26
Randbats: Set Snover to level 95
2013-01-08 23:43:04 +04:00
TheImmortal
b52cb1e272
Randbats: Prevent Choice Band + Rapid Spin
2013-01-08 21:05:57 +04:00
Marty-D
01906be31e
Fix Normal Gem + Explosion, Red Card / Eject Button for real.
2013-01-08 12:01:00 -05:00