Commit Graph

645 Commits

Author SHA1 Message Date
The Immortal
08f108aefd Random Battle: Merge Rain Dance and Sunny Day checks 2015-04-02 15:24:48 +04:00
Kevin Lau
703399bc8b Random Battle: Split Castform into Sunny and Rainy Formes
Also implement fix for Meloetta starting out in Pirouette Forme in Random
Doubles Battles.
2015-04-01 17:42:47 -07:00
Juanma Serrano
c1210f33ff Implement OMotD contender, Mr Bones Wild Ride 2015-04-01 17:16:50 +02:00
Juanma Serrano
29b13451b6 Implement OM of the Decade
Disregard puny OM of the Month thing. That's for losers anyway.
From now on, the strongest and best OM is going to be added as the OM of the Decaed.
It will only be changed when a strongest OM appears and beats it off.
Right now, with no contender really, that OM is Final Destination. Any other OMs just pale in comparison.
2015-04-01 10:00:11 +02:00
Quinton Lee
5180adac40 Fix error from a0fb03cc91 2015-03-31 22:04:38 -05:00
Ivo Julca
a0fb03cc91 Make randomMonotypeTeam deterministic 2015-03-31 21:01:18 -05:00
The Immortal
20b1b00f4c Random Battle: Reject Flame Charge without enough attacking moves
This fixes #1704 to give Ho-Oh, and other Pokemon with Flame Charge,
better sets.
2015-03-31 19:16:20 +04:00
Juanma Serrano
17be3943c8 Implement Monotype Random Battle challenge option
The long awaited Random Battle format of one of the most acclaimed OM is finally here.
2015-03-31 15:55:49 +02:00
Konrad Borowski
a9c2ed2262 Reject Fire Blast with Fire Punch
There is no reason for Flygon to run both, and having two fire moves 
restricts Flygon a bit.
2015-03-30 17:09:17 +02:00
Juanma Serrano
059d99838a Super Staff Bros.: Buff Beowulf slightly
Fix typo on EVs and give back 10% flinch chance as well as some BP
2015-03-30 11:25:07 +02:00
Juanma Serrano
1b679d63aa Super Staff. Bros: Implement Articuno 2015-03-30 11:11:12 +02:00
Juanma Serrano
3a8f98b3ca Super Staff. Bros: Buff Lyto
Too weak on the current meta, removed debuffs and made it Modest.
2015-03-30 11:01:39 +02:00
Juanma Serrano
7d4b4208fb Super Staff. Bros: Implement Crestfall 2015-03-30 11:00:27 +02:00
Kevin Lau
a5bb313a74 Random Battle: Update Cradily, Cacturne
Reject Seed Bomb with Giga Drain.

Switch Cacturne's Doubles set to fully Physical.
2015-03-29 14:13:13 -07:00
Kevin Lau
9f25d18169 Fix ModifyBoost crashes
ModifyBoost events called for accuracy and evasion were sending the wrong
object as the relay variable.
2015-03-28 17:37:20 -07:00
Guangcong Luo
603f9b8141 Merge pull request #1685 from ascriptmaster/move-fixes
Make sure the flags object always exists in moveData
2015-03-28 18:47:26 -05:00
The Immortal
f05143c00f Random Battle: Improve Aurorus 2015-03-28 16:41:08 +04:00
Kevin Lau
a92cc2b8e0 Make sure the flags object always exists in moveData 2015-03-27 18:43:36 -07:00
Kevin Lau
609286728d Random Battle: Update Ambipom
If Ambipom doesn't have any Technician moves, give it Pickup instead of
Skill Link because Skill Link is useless on it and it might as well have
a slight chance of recovering an item if its item is Knocked Off.
2015-03-27 17:36:35 -07: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
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
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
01c81f3415 Random Battle: Reject Stealth Rock with Rest 2015-03-21 19:27:45 +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
c527eecbeb Seasonal updates 2015-03-20 00:45:17 +04:00
codelegend
b72c19c49a remove redundant code in get team 2015-03-18 23:18:01 +05:30
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
Kevin Lau
181d715cd6 Random Battle: Increase priority of Outrage+Setup item check
Prevents Sub+DD+Outrage from receiving Leftovers.
2015-03-15 10:55:30 -07:00
Kevin Lau
dbf9d58e1d Random Battle: Force Unburden with Acrobatics
Affects Hawlucha.
2015-03-14 22:16:52 -07:00
Konrad Borowski
74b6869232 Make &Sweep hold Mail instead of Brick Mail
There is no item called Brick Mail.
2015-03-14 21:37:19 +01:00
Guangcong Luo
670a04dede Merge pull request #1625 from ascriptmaster/move-fixes
Generation 4: Fix Simple
2015-03-14 14:38:31 -05:00
Kevin Lau
d36297d491 Generation 4: Fix Simple to use proper DPP mechanics
In Generation 4, Simple did not double stat boosts as they changed.
Instead, it treated each stat boost as if it had twice the effect.
Reimplemented the deprecated ModifyBoost event, but with slightly
different functionality as before; it now modifies the live boosts so that
they work properly with Simple.
2015-03-13 18:02:33 -07:00
The Immortal
51c9544a4c Merge pull request #1607 from ascriptmaster/randoms
Random Double Battle: Update level scales based on item/ability
2015-03-14 00:29:52 +04:00
The Immortal
47238d2bac Minor Random Battle changes
Fixes #1627
2015-03-14 00:28:42 +04:00
Kevin Lau
420315407a Random Double Battle: Update levels based on some abilities/Eviolite
This will prevent Pokemon like Azumarill from being too powerful due to
their low base stats with an ability that boosts it to incredible levels.
2015-03-13 13:15:06 -07:00
The Immortal
371d11bea8 Random Battle: Reject rain/sun with only one attack 2015-03-13 22:36:23 +04:00
The Immortal
8d1d789d86 Random Battle: Few updates
- Remove Sucker Punch from Hitmonlee as it gets Unburden majority of the
time (100% actually, according to usage stats) and already has Knock Off
- Remove old check specific to Breloom
- Fix Breloom getting Poison Heal when it wants Technician
2015-03-13 19:52:04 +04:00
The Immortal
4d403ba182 Random Battle: Fix Meloetta-P
Also removed Chlorophyll check for Mega Venusaur because it only has
Thick Fat... Not necessary to hardcode it like Mega Mawile having
Intimidate.
2015-03-13 12:09:38 +04:00
The Immortal
ddaa3bc65d Random Battle: Undo two changes from 8e8420971d 2015-03-13 01:48:03 +04:00
The Immortal
f353aab11e Seasonal: Fix Transform properly
Also updated qtrx.
2015-03-12 23:57:40 +04:00
The Immortal
b06b3723d9 Seasonal changes 2015-03-12 23:24:57 +04:00
The Immortal
10f5ce234d Seasonal: Modify Temporaryanonymous' move
Try to balance it by removing priority and adding a crit chance instead.
2015-03-12 23:01:12 +04:00
The Immortal
8e8420971d Update Random Battle script
- Sorted checks
- Removed old and unused checks
- Added new checks and updated several current ones
Moves:
- Moved some cases to be in the appropriate section
Abilities:
- Fixed a Pokemon's third ability never being used if it has the same
rating as `ability1` (example: Iron Fist has 0% usage on Conkeldurr
because it is rated the same as Guts)
Items:
- Reordered the checks / changed priority of items
2015-03-12 22:49:47 +04:00
Konrad Borowski
0556c56b44 Change the case of TalkTakesTime 2015-03-12 14:43:25 +01:00