Commit Graph

302 Commits

Author SHA1 Message Date
Relados
c18336155f Make Memento faint user after use on Clear Body
Clear Body and White Smoke stop the stat drops of Memento, but the user still KOs itself (tested on cartridge).
2014-04-24 22:03:33 -05:00
V4Victini
2617d4ebd7 Correct RNG behavior
To mimic the game's RNG, get a random number on self-inflicted drops.
2014-04-22 15:30:39 -04:00
小太
5c8fc7b982 Space after function for anonymous functions 2014-04-22 01:58:16 +10:00
小太
6fb3bc332a Spaces around operators and === instead of == 2014-04-22 01:56:11 +10:00
小太
6c6f5c1eb4 Remove all trailling whitespace 2014-04-21 18:58:09 +10:00
Guangcong Luo
9f87e79e51 Merge pull request #836 from Slayer95/master
Remove some globals
2014-04-18 19:15:55 -05:00
Slayer95
3fc36ef80f 'clampIntRange is now a method of 'Tools' and no longer global 2014-04-18 15:14:54 -05:00
Guangcong Luo
64f6cc98a2 Refactor two-turn moves
They can no longer be redirected
2014-04-17 18:00:51 -04:00
Slayer95
75559362b4 Rename global config to Config 2014-04-17 01:12:28 -04:00
Slayer95
e419e7595a Declare ´damagingid´ and ´damagingType´ in randbats builder 2014-04-16 22:00:42 -05:00
Relados
8186f86aa5 Allow Charizard Y and Mewtwonite Y in randoms
For Pokemon with multiple mega evolutions (Charizard and Mewtwo) it should randomly select either.
2014-04-16 15:31:05 -05:00
Relados
1178f275a5 Prevent Memento and recovery together
If a Pokemon has recovery, it plans to survive in the long-term and having a move that sacrifices itself is unwanted.

(This was found on probably the worst set ever seen in Random Battles:  Memento / Rest / Sleep Talk / Poison Jab)
2014-04-15 18:03:03 -05:00
Relados
e6bc89f7d3 Prevent Illusion in last on a random team
Illusion loses viability when it's on a Pokemon that's last on a team
2014-04-11 15:31:33 -05:00
Relados
fba6730251 Fix typo
The case 'u-turn' will never occur, it needs to be 'uturn'
2014-04-09 16:38:38 -05:00
Relados
7637636410 Prevent multiple statusing moves
Hypnosis, Stun Spore and Sleep Powder were not fully accounted for.
2014-04-06 09:31:05 -05:00
TalkTakesTime
158b5f3943 Genesect formes should have Techno Blast 2014-04-04 22:13:42 +13:00
Guangcong Luo
f4c854359d Merge pull request #788 from Relados/patch-42
Prevent Snow Warning Nature Power Aurorus
2014-04-03 11:01:19 -05:00
Relados
772b3d370d Prevent Snow Warning Nature Power Aurorus 2014-04-03 09:13:58 -05:00
Relados
f97dc7fdff Prevent Chesto Berry with Hydration + Rain Dance 2014-04-03 08:34:06 -05:00
Relados
0f802a61e7 Prevent Fire Blast and Lava Plume together
Similar reasoning as preventing Hydro Pump and Scald together
2014-04-02 10:09:15 -05:00
Guangcong Luo
fe97b3bc73 April Fool's 2014 is over 2014-04-02 01:25:17 -04:00
Guangcong Luo
a561cf4c67 April Fool's 2014 2014-03-31 23:36:43 -04:00
Relados
b404688cc5 Prevent various redundant moves
In particular, Morning Sun with other healing moves, or Focus Punch with Drain Punch
2014-03-31 18:37:14 -05:00
Relados
dc5efad439 Prevent U-Turn and Volt Switch together (again)
TI said to remove this segment previously, but evidently the problem still persists because I got 3 pokemon with both moves in the same battle, which was completely useless.
2014-03-30 20:35:36 -05:00
Relados
4069035014 Prevent multiple recovery moves 2014-03-26 20:31:51 -05:00
Relados
c59ca53b2a Allow Knock Off on setup pokemon
With new Knock Off mechanics, sets like Swords Dance Knock Off Weavile is useful
2014-03-26 09:43:30 -05:00
Relados
4ab16d4293 Prevent Moxie on Pokemon without physical moves
It's literally useless - even Unnerve is more useful in that case.
2014-03-25 18:54:42 -05:00
Relados
c0c756ae16 Make Gourgeist have proper probability to show up 2014-03-25 17:06:02 -05:00
Relados
0844a7ccb6 Prevent high bulk pokemon from having Focus Sash
I chose 300 as a sum of Defense, Special Defense and HP that would designate a high bulk Pokemon, due to being just below Dusknoir's sum of the three and I was getting Focus Sash Dusknoir, which is rather subpar.  The number could be changed if there's any better way to designate bulk.
2014-03-25 11:40:34 -05:00
V4Victini
d65812aa21 Pokemon cannot Mega Evolve while locked into a move 2014-03-25 11:18:21 -04:00
Relados
8bae051bb4 Prevent Unburden Normal Gem Explosion 2014-03-20 18:24:21 -05:00
Relados
823793367d Prevent Stone Edge and Rock Blast on same set 2014-03-19 18:43:45 -05:00
Relados
c5c1c55420 Prevent Life Orb and Sturdy on the same set
Life orb renders Sturdy a next to useless ability.
2014-03-19 17:07:58 -05:00
Relados
1f74d5bbf3 Prevent Psychic and Stored Power on the same set
If you have stored power, you have the boosting moves to make it viable, and having psychic as well is redundant.
2014-03-14 06:56:31 -05:00
Relados
564ded1523 Prevent Tinted Lens and Wonder Skin on Sigilyph
Sigilyph's randoms moveset is built solely for use with Magic Guard, and without being able to automatically pass on status, Tinted Lens Sigilyph is pretty much just a free switch in and set-up fodder for a dark type.  Wonder Skin is even worse in that it reduces the need for Psycho Shift.
2014-03-13 18:36:32 -05:00
Relados
2251fa53b6 Prevent Sturdy and Life Orb on same set in randoms
It effectively negates the ability to have both together.
2014-03-12 16:03:29 -05:00
Relados
8032d0ece6 Remove U-turn rejection 2014-03-11 11:55:04 -05:00
Relados
8d06420d04 Prevent Volt Switch and U-Turn on same random set
There's little reason to have both.
2014-03-11 11:11:45 -05:00
Juanma Serrano
0ac16153f1 Delete Seasonal
This was the last Seasonal.
New OM Theorymon ladder it's going to take its place.
2014-03-04 10:01:11 +01:00
The Immortal
21af385043 Fix previous commit 2014-02-27 02:12:39 +04:00
Relados
cc06c1db9f Prevent Bulldoze and EQ on same set in randoms
Must've accidentally misclicked or something on the last request >_>
2014-02-26 16:07:08 -06:00
Guangcong Luo
aa11e73178 Merge pull request #681 from TalkTakesTime/patch-1
Update Doubles randbats team creation
2014-02-25 10:41:15 -06:00
Relados
0373475959 Remove mega Lati@s from random battles
Mega Lati@s should not be usable right now.  (I've also gotten reports of them in hackmons, not sure how that should be dealt with)
2014-02-23 20:39:57 -06:00
TalkTakesTime
5deaa594c6 Prevent AfterMoveSecondary from activating if the move hits a sub 2014-02-23 16:59:56 +13:00
TalkTakesTime
b6d8d850b6 Update Doubles randbats team creation 2014-02-23 15:08:56 +13:00
V4Victini
7511d8ef05 Revert "Prevent AfterMoveSecondary from activating if the attack is taken by a Substitute"
This reverts commit 4c15f252e9.
2014-02-22 13:26:00 -05:00
TalkTakesTime
4c15f252e9 Prevent AfterMoveSecondary from activating if the attack is taken by a Substitute 2014-02-22 18:27:46 +13:00
The Immortal
f0f78cc609 Randbats generator changes
Poison types with Air Balloon prevents them from absorbing Toxic Spikes
2014-02-21 22:34:56 +04:00
The Immortal
6b8339d7a4 selfdestruct faints in gen 6 2014-02-18 20:06:19 +04:00
Relados
393c02e1f0 Remove Limber as randbats ability for Stunfisk
Limber on Stunfisk is completely useless and shouldn't occur.
2014-02-17 15:52:56 -06:00