Commit Graph

93 Commits

Author SHA1 Message Date
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
TheImmortal
75bd51d3c4 Randbats: Reject Hustle if no Physical moves 2013-01-05 17:24:23 +04:00
Marty-D
46da54c7cd Make sure Normal Gem + Explosion works. 2013-01-04 12:17:22 -05:00
TheImmortal
5ef646c5ec Randbats: Reject Prankster if no Status moves 2013-01-04 15:23:40 +04:00
TheImmortal
dc29863351 Use Sheer Force counter for Serene Grace as well 2012-12-28 00:09:05 +04:00
Guangcong Luo
821ef0aed8 Some fixes to accuracy calculation 2012-12-16 11:42:56 -08:00
Guangcong Luo
7dbe93dcf2 Implement Snatch 2012-12-14 14:44:55 -08:00
Guangcong Luo
87cd851adf Seasonal ladder: nerf Victini 2012-12-14 14:44:55 -08:00
Guangcong Luo
7ed88a77a3 New seasonal ladder: Winter Wonderland 2012-12-14 14:44:55 -08:00
Guangcong Luo
e68507d627 Implement Follow Me 2012-12-13 16:37:10 -08:00
Guangcong Luo
54bcd9ab33 Make sure a Pokemon faints properly after using Explosion 2012-12-13 04:10:14 -08:00
Guangcong Luo
7ed807aacc Fix crash with one pokemon in doubles 2012-12-13 03:11:44 -08:00
Guangcong Luo
02d2c1cba8 Normal Gem Explosion now works correctly 2012-12-13 02:26:13 -08:00
Guangcong Luo
79c1419f2a Spread moves hit allies before foes 2012-12-12 12:45:35 -08:00
Guangcong Luo
7625846be7 Proper implementation of Follow Me, Lightningrod et al. 2012-12-12 11:55:30 -08:00
Guangcong Luo
721f038c3e Explosion KOes self even without a target 2012-12-12 11:23:25 -08:00
Guangcong Luo
4edd2ddfac Fix the order of selfdestruct, drain, and recoil when used by moves 2012-12-12 10:06:56 -08:00
Guangcong Luo
943e79d44e Fix intermittent crash in seasonal ladder
('alteria' was spelled incorrectly)
2012-12-12 08:19:48 -08:00
Guangcong Luo
2ef5820fb6 Fix immunities activating on secondaries 2012-12-12 08:19:47 -08:00
Guangcong Luo
ba510dea75 Doubles! now in beta
- most remaining Doubles issues have been fixed in this commit
2012-12-12 06:52:12 -08:00
Marty-D
cb0bd2fe11 Fix Selfdestruct and Explosion. 2012-12-08 22:57:14 -05:00
Guangcong Luo
180eaae0b1 PROPER code for 0-damage attacks 2012-12-03 22:44:39 -08:00
Guangcong Luo
ea0b811007 Preliminary code to allow 0-damage attacks to activate secondaries 2012-12-03 04:08:47 -08:00
TheImmortal
c179de4e47 Make Moody get Leftovers in Randbats 2012-11-26 01:10:54 +04:00
TheImmortal
11466ffae3 Prevent Air Balloon with Magnet Rise in Randbats 2012-11-23 22:25:12 +04:00
TheImmortal
f95a461ce0 Randbats update
- Prevent Choice Band with Flame Charge
- Reject Defiant if no Physical moves and no Baton Pass
2012-11-17 00:25:31 +04:00
Guangcong Luo
49c0c785a0 Fix crash when attempting to generate a randbat set with no viable moves 2012-11-15 19:32:34 -08:00
TheImmortal
557a2ce8c8 Randbats update
- Prevent Pluck + Acrobatics
- Make sure setups have more than 1 attacking move
2012-11-15 23:14:16 +04:00
TheImmortal
b34b778870 Randbats change
Forgot to include Switcheroo with Trick to be rejected with setup
2012-11-14 20:44:34 +04:00
TheImmortal
b345ac910e Randbats update
- Prevent Fake Out + Trick/Switcheroo
- Prevent Weather Ball without Sunny Day
- Prevent SolarBeam + Giga Drain
- Prevent Rest + Synthesis
2012-11-14 00:21:44 +04:00
Guangcong Luo
52de2b4d19 Ran a static analyzer, fixed some errors
Specifically, Git Canary: gitconary.com
2012-11-12 15:31:57 -08:00
TheImmortal
ea95915791 More Randbat updates
- Allow Eruption + Fire move
- Prevent multiple moves of same typing
2012-11-12 23:51:08 +04:00