Commit Graph

728 Commits

Author SHA1 Message Date
Kris Johnson
857d3c8f23 Super Staff Bros.: Add %Bumbadadabum 2015-04-18 11:09:09 -06:00
Juanma Serrano
bd5d724d0e Super Staff Bros.: Remove imanalt
People who are demoted from rulebreaking are not entitled to a voice character.
Exceptions are made only for meme former staff.
2015-04-17 12:22:53 +02:00
Kris Johnson
7d81d7623a Super Staff Bros.: Remove a move from %QuoteCS
Removed Dragon Ascent so QuoteCS's signature move could allow him to
keep the SpD boost.
2015-04-17 03:15:21 -06:00
The Immortal
1edc40f936 Show fail message when status is blocked by Sub 2015-04-17 03:31:30 +04:00
Konrad Borowski
027b45e75f Super Staff Bros.: Promote @xfix 2015-04-16 15:10:47 +02:00
Konrad Borowski
0f93a57e8b Super Staff Bros.: Promote @trinitrotoluene. 2015-04-15 18:35:26 +02:00
Konrad Borowski
5d990198e9 Super Staff Bros.: Fix name of %Crestfall's signature 2015-04-14 22:18:00 +02:00
Guangcong Luo
54947b665f Merge pull request #1728 from ascriptmaster/move-fixes
Move refactor: moves/items that ignore immunity/effectiveness
2015-04-14 17:05:22 +00:00
Konrad Borowski
9172e7a3a5 Super Staff Bros.: Add %galbia. 2015-04-14 12:57:58 +02:00
Konrad Borowski
ca7f91d1d3 Super Staff Bros.: Demote imanalt. 2015-04-12 18:19:20 +02:00
Kevin Lau
8245e1d3b9 Random Monotype: Treat Castform-Sunny and Castform-Rainy as Normal-type 2015-04-10 15:25:31 -07:00
Juanma Serrano
8d149dea2e Monotype RandBats: Make Meloetta-P get into Normal or Psychic teams 2015-04-10 14:31:24 +02:00
Kevin Lau
936f95d64d Random Double Battle: Update move rejection for -ate Pokemon
Remove hardcoded checks that give -ate Pokemon Normal moves, instead using
the Random Single Battle's code.
2015-04-08 14:24:28 -07:00
The Immortal
f1e669e24a Update Random Battle script
Removed the hardcoded moveset modifications for Pokemon with -ate
abilities.
2015-04-08 20:52:24 +04:00
The Immortal
70c3dbe046 Random Battle: Modify custom levels
Ninetales and Politoed are kept because weather is banned in UU (and
below) so they are PU as a result. However, weather is in Random Battle
so they are lowered to RU level. The same applies to Wobbuffet and
Shadow Tag.
2015-04-08 15:29:22 +04:00
Kevin Lau
2e56120ad9 Move refactor: affectedByImmunities -> ignoreImmunity
While move.affectedByImmunities was always a Boolean value to denote if
the move was affected by immunities, move.ignoreImmunity can be a Boolean
value if it ignores or is affected by all type immunities, but also can
act as an object such that !!move.ignoreImmunity[type] means it ignores
immunities of that type.
2015-04-08 00:17:12 -07:00
Kevin Lau
51690081dd Random Battle: Reject Leaf Blade with Giga Drain and no Setup
Affects Mega Sceptile.
2015-04-07 16:59:10 -07:00
The Immortal
a33aecbe83 Random Battle: Make sure Mega Glalie has a Normal move 2015-04-08 02:45:47 +04:00
Kris Johnson
05c3f0397e Seasonal: Update %QuoteCS's EVs 2015-04-07 16:33:09 -06:00
Konrad Borowski
7b071f45a3 Super Staff Bros.: Implement Charles Carmichael 2015-04-07 18:17:14 +02:00
Juanma Serrano
8bedc8aa6d Merge pull request #1740 from RhythmsAreFromVibrations/master
Seasonal: Adjust a lot more
2015-04-07 17:57:39 +02:00
Kevin Lau
6b2234a4dd Random Battle: Update Porygon2, improve Water redundancy checks
Reject Hydro Pump with Waterfall (affects Samurott and Kingdra).

Reduce the number of moves available to Porygon2 so it has a higher chance
of getting Recover.
2015-04-07 02:54:23 -07:00
Kris Johnson
83ef4c5792 Seasonal: Adjust a lot more
Added `%QuoteCS`'s Pokémon, move, and entering/dying phrases (I
talked with him on PS! for info on what he wanted).
Fixed casing on `%Birkal`, `%DTC`, and `%raseri`.
Moved `@rekeri`'s and `@Timbuktu`'s moves to the correct places.
2015-04-06 20:45:52 -06:00
Kevin Lau
bc273b0773 Random Double Battle: Update Huntail, Remove Icy Wind/HP-Ice check
The Doubles EV generator means it's more beneficial to give Huntail all
Physical moves (252 Atk Ice Fang outdamages 0 SpA Ice Beam, for example)

Remove Icy Wind/HP-Ice redundancy check because Keldeo no longer has
Hidden Power Ice on its random battle sets.
2015-04-06 12:40:59 -07:00
Kris Johnson
9dc504a737 Seasonal: Adjust a lot
fixed casing on astara, bean, barton, and haunter
fixed `@Timbuktu`'s rank and added custom messages
added MattL and shaymin to voices since they 'retired/resigned'
2015-04-05 22:25:49 -06:00
The Immortal
fcc619e7ca Merge pull request #1730 from ascriptmaster/randoms
Random Battle: Update Tauros
2015-04-06 05:12:25 +04:00
Kevin Lau
7a97f790a4 Random Battle: Update Tauros
Single Battle: Replace Rock Climb with Return if Tauros does not have
Sheer Force (1/3 chance of getting Intimidate)

Double Battle: Remove Rock Climb for Return and add Stone Edge, since
Tauros always has Intimidate in Random Double Battles
2015-04-05 18:03:28 -07:00
The Immortal
4949d4a476 Random Battle: Reject Rock Climb with Double-Edge 2015-04-06 04:56:47 +04:00
The Immortal
1c9fb89988 Remove isTwoTurnMove property and use charge flag 2015-04-05 03:27:32 +04:00
Guangcong Luo
77b232ec25 Fix Substitute blocking foeSide moves
TryPrimaryHit, originally created for Substitute, is currently
being used for Substitute, gems, and auras. Neither of these
should affect all, foeSide, and allySide moves, so the event no
longer fires in these cases.

Included: Bonus: unit test for Substitute not blocking Stealth Rock
2015-04-03 22:48:24 -04:00
Rhythms
f05af24486 Seasonal: Capitalize Bean 2015-04-03 19:13:31 -06:00
The Immortal
a706b5601c Update Random Battle level scale 2015-04-03 17:14:22 +04:00
Cranham
64939bf3ad Random battles: Reject ice beam & freeze dry together
Seems a bit redundant to have both together. affects articuno and lapras
2015-04-03 02:11:56 +01:00
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
Rhythms
0f93f17df8 Seasonal: Fix spacing errors 2.0
same reasoning as the other PR that got merged
2015-03-11 21:56:20 -06:00
The Immortal
17d966b9de Merge pull request #1618 from ascriptmaster/randoms-2
Random Battle: Update Meloetta
2015-03-12 01:06:15 +04:00
Rhythms
9058594f64 fix rekeri
Rekeri is a mod
2015-03-11 14:15:19 -06:00
Kevin Lau
1a34f623fa Random Battle: Update Meloetta
- Add sets to Meloetta-Pirouette, effectively splitting Meloetta into
  distinct Physical and Special sets.
- Added Focus Blast to Meloetta-Aria.
2015-03-11 11:46:14 -07:00
Kevin Lau
e6458dea8a Random Double Battle: Add required moves section
This would have resulted in Mega Rayquazas without Dragon Ascent, Drive
Genesect without Technoblast, etc.
2015-03-11 11:05:26 -07:00
The Immortal
fbfec84f9e Seasonal updates
- Update Eevee General's moves
- Add Shame That
- Slightly nerf Dell by removing the accuracy boost, which means he
actually has some risk with Jump Kick
2015-03-11 21:16:27 +04:00
The Immortal
867d6fa29c Seasonal changes
- Remove Defog from WaterBomb
- Change DTC to dtc
- Fix Feliburn's special
- Add message for myself
2015-03-11 03:25:39 +04:00
The Immortal
fa580c5160 Seasonal updates 2015-03-10 21:53:00 +04:00
Juanma Serrano
b07966fd7f Super Staff Bros.: Balance and fix patch
Fix a typo in bloobblob's faint sentence.
chaos's move should not be bounceable.
Update Goddess Briyella's move: change name and animation.
Update Beowulf's moveset, make Spiky Shield mandatory.
Update Legitimate Username's moveset.
Update Queez, he's now a moderator.
2015-03-10 09:38:02 +01:00
The Immortal
66f32b8a39 Random Battle: Add more custom levels
Ninetales and Politoed are in PU because Drought and Drizzle are banned
in UU. Slightly lowered their levels.
2015-03-10 02:08:13 +04:00
Juanma Serrano
98981a774e Super Staff Bros.: Fix style on Morfent
Moves are added through ids.
Also acid armor was wrong.
2015-03-09 16:12:22 +01:00
Juanma Serrano
4ab80e0cfd Implement new Seasonal, Super Staff Bros.
This Seasonal is a joined effort of the whole staff team.
It contains over 100 custom sets and moves, allowing users to play the whole month and still find new things.
For format editing purposes, let it be noted that the Seasonal starts on line 348 and ends on line 3211 on formats.js as of this commit.

While I'm making the final commit to the master repository, let it be noted that this huge code is a joined effort of some members of the staff.
Special thanks to people who have worked on this code, without whose contributions this Seasonal couldn't have been finished for this month:
@ascriptmaster @cadaeic @Slayer95 @TheImmortal @xfix

More information for this special format can be found here:
http://www.smogon.com/forums/threads/3491902/page-6#post-6093168
2015-03-09 11:07:50 +01:00
Juanma Serrano
a158cdfcee Remove February Seasonal, Han vs Hun 2015-03-09 11:07:50 +01:00
Kevin Lau
c75b0db6fa Random Battle: Fix Baton Pass check
It would not reject Baton Pass if the Pokemon did not have Speed Boost.
2015-03-09 00:53:49 -07:00
The Immortal
dc7d170858 Random Battle: Reject Sucker Punch with Foul Play
Foul Play is rejected with setup already.
2015-03-08 22:05:24 +04:00
The Immortal
88e09b03d5 Merge pull request #1602 from ascriptmaster/randoms
Random Double Battle: Update Feint usage on Pokemon
2015-03-08 15:24:18 +04:00
Kevin Lau
505821e103 Random Double Battle: Update Feint usage on Pokemon
- Removed it from Pokemon that are too weak to use it.
- Reject Feint with Fake Out (for Persian).
- Update move checking to not count single hit moves with 30 base power as
  damaging moves.
2015-03-08 00:57:22 -08:00