Commit Graph

999 Commits

Author SHA1 Message Date
Marty-D
0f7f238a10 Gen I: Prevent Cosplay Pikachu from appearing in Challenge Cup 2015-07-08 20:27:09 -04:00
The Immortal
f27e55dce9 Theorymon: Add new changes 2015-07-08 05:17:44 +04:00
Marty-D
c85622391f Gen III: Fix sleep count interaction with Sleep Talk/Snore
- Basically, a counter separate from the sleep counter starts at 0, and
attempting to use Sleep Talk or Snore while asleep increments it by 1.
- If the Pokemon attempts to use any other move while asleep, this
counter is reset to 0.
- If the Pokemon switches out while asleep, the current value of the
counter is added to the sleep counter.
2015-07-07 20:30:39 -04:00
Ivo Julca
b791a86325 Mix and Mega: display the megaevo item/move rather than the species
Fixes unintended empirical demonstration of Stroop Effect.
2015-07-05 23:29:26 -05:00
Ivo Julca
d0b59f5cca Mix and Mega: remove Mega-Rayquaza theorybans
- Its exact implementation method is ultimately theorymon-based and policy-dependent.
- Keeping the current implementation is furthermore a maintenance burden.
2015-07-05 23:16:02 -05:00
Ivo Julca
41e6aad4e4 Gen 1: residual damage fixes
- Fix Poison/Burn displaying the opponent as source of the damage.
- Fixes inconsistent volatile state after Haze usage.
- Closes #2010
2015-07-05 23:00:52 -05:00
Ivo Julca
029846a6b7 Update Mix and Mega
- Dragonite has been banned from holding stones.
- Baton Pass Clause has been added.
- Mawile and Medicham can hold Medichamite and Mawilite respectively.
2015-07-05 19:01:35 -05:00
Marty-D
0739d7eea5 Gen III, IV: Fix Taunt 2015-07-05 13:40:30 -04:00
Marty-D
e8991f8573 Gen I: Fix fast asleep message showing every sleep turn 2015-07-04 11:14:51 -04:00
Ivo Julca
261f246357 Update GSC Drain+Subs mechanic hint to use -hint 2015-07-03 19:30:56 -05:00
Guangcong Luo
9f8829197b Note that gen 2 drain-substitute mechanic is not a bug 2015-07-03 20:19:56 -04:00
Ivo Julca
e33ec413df Mix and Mega: update weight restriction
Minimum weight is no longer required on set validation, and it's instead automatically set on mega evolution.
2015-07-03 05:36:49 -05:00
Ivo Julca
b060a30ab3 Update Mix and Mega
- Gengarite is banned.
- Regigigas is not allowed to hold any mega stone or orb.
- Remove megastone indicator on switch out. Relevant for Baton Pass.
- Type change information is now sent silently.
2015-07-02 20:35:55 -05:00
Ivo Julca
7810613776 Fix formats getting corrupted if loaded as rules from different mods 2015-07-02 07:48:54 -05:00
Ivo Julca
b8e9d237b5 Mix and Mega updates
- Fix secondary type changes
- Suppress a crash in formats that inappropriately run the mod.
2015-07-02 06:02:54 -05:00
Ivo Julca
abed3f8b62 Implement Mix and Mega 2015-07-01 23:34:47 -05:00
The Immortal
7eacc892fc Update OM of the Month
- New OMotMs are Mix and Mega + Protean Palace
- Seasonal is outdated and is being removed until a new version is made
2015-07-01 19:05:22 +04:00
Kevin Lau
cbef63343a Fix OHKO moves' interaction with accuracy-changing abilities/effects
Add a new event ModifyAccuracy that affects all moves other than OHKO
moves and switched many event handlers that originally used the Accuracy
event to ModifyAccuracy instead.
2015-06-29 17:22:42 -07:00
Marty-D
1d7f27c655 Gen II: Smoochum can't legally learn Lovely Kiss
- There are no males in the Human-Like group that can pass it down
2015-06-26 15:04:04 -04:00
Marty-D
d32b69f48d Fix Attract end messages 2015-06-25 12:29:30 -04:00
Guernouille
437a777fe4 Gen 1: Mimic can copy Transform.
Tested in Link Battle
2015-06-20 17:27:56 +02:00
Marty-D
25a670dc25 Gen II: Steel types can become poisoned 2015-06-18 15:33:39 -04:00
The Immortal
9ea2a9a457 Update OU Theorymon 2015-06-18 04:46:15 +04:00
Kevin Lau
05f718f1ff Move Gen 5 Sky Drop's Try handler to TryHit
Fixes glitches preventing it from working properly due to it inheriting
Gen 6's TryHit handler and effectively locking the users in a loop.
2015-06-16 11:37:09 -07:00
Kevin Lau
903853d91b Battle refactor: No longer reset negated immunity in pokemon.update()
Replace the pokemon.negateImmunity object with a new `NegateImmunity`
event that handles all the immunity negation.

Also deprecate 'IgnoreEffectiveness' in favor of having relevant moves
and items use `Effectiveness` event handlers instead.
2015-06-16 00:02:06 -07:00
Kevin Lau
2aba40b8ad Gen 4 and below Pressure affects allies 2015-06-15 16:30:19 -07:00
Juanma Serrano
d351206e56 Gen 1: Ban Dig and Fly
Dig and Fly are banned from all Gen 1 competitive formats.
This has been long done in tournaments, since it has always been implicit that it is preferred a proper Dig and Fly implementation and a ban rather than just modding the game.

Read more here: http://www.smogon.com/forums/threads/fly-and-dig-implementation-and-possible-ban-opinions-wanted.3527640/page-2
2015-06-15 16:58:41 +02:00
Guangcong Luo
cf112d1d3c Merge pull request #1945 from Slayer95/jscs-rules
Implement custom JSCS rules to enforce code style
2015-06-13 06:18:24 +00:00
Guangcong Luo
6cd44dbe07 Merge pull request #1950 from ascriptmaster/move-fixes
Style Change: suppressAttackEvents -> suppressingAttackEvents
2015-06-12 23:51:23 +00:00
Kevin Lau
5bde84fd6d Style Change: suppressAttackEvents -> suppressingAttackEvents
The new function name makes it clear that the function doesn't actually
suppress attack events, only checks if they would be suppressed.
2015-06-12 16:22:32 -07:00
Marty-D
3a8bad7811 Correct message for sub blocking Status moves 2015-06-12 17:43:33 -04:00
Ivo Julca
f18eef39ca Fix Travis build 2015-06-12 03:41:22 -05:00
Guangcong Luo
d46ada6777 Merge pull request #1934 from SolarisFox/patch-5
standardize "Pokémon" in .md files
2015-06-10 00:36:27 +00:00
Ivo Julca
26680768eb Properly handle failure of multitarget moves
- On failure, they will no longer trigger the `AfterMoveSecondarySelf` event. It was a common pattern to check for success on its handlers, so this removes some duplication.
- All failed moves will now run any set `MoveFail` single events.
- Life Orb will now harm the holder if a successful attack did 0 damage (e.g. False Swipe on a 1 HP target).
2015-06-09 19:31:11 -05:00
SolarisFox
7ed407dfd3 standardize "Pokémon" in .md files 2015-06-09 17:21:23 -07:00
Ivo Julca
d595fcd7e1 Linked: fix Encore
The second move will no longer be performed twice.
2015-06-09 18:33:52 -05:00
Kevin Lau
114ab7e8d4 Gen-NEXT: Fix Intrinsic Levitate
An examination of the commit history seems to indicate that it was
intended to be bypassed by Mold Breaker variants, and not be affected
by Gastro Acid.
2015-06-09 13:43:30 -07:00
The Immortal
a4a09021b2 Gen 1: Fix Wrap deducting extra PP
It currently deducts an extra PP on a switch. According to the comment,
PP is not deducted earlier, which is why it was being deducted here.
But this is incorrect. PP is deducted earlier on a switch.
2015-06-09 19:12:43 +04:00
Juanma Serrano
3a4abaf0fc Gen 1: Implement NU listing
Where as SmogDex does not list the NU tier, it is been a long-standing existing tier within Smogon and rby2k10 communities.
The NU tiering serves for Random Battle balance purposes mainly, as there is no UU format.
One could use the change to build a Gen 1 NU tier or similar, though.
2015-06-09 13:42:36 +02:00
Ivo Julca
c42a6bc132 Linked fixes
- Hardcode Assault Vest and Belch behavior to avoid breaking other core mechanics.
- Rework Encore so that its effect is similar to that of Choice Items.
2015-06-08 23:14:39 -05:00
Marty-D
ad00529215 Fix Life Orb
- All attacking moves except OHKO moves now take recoil correctly
(except Bide... TODO)
- Thief effects stealing a Life Orb now take recoil correctly
2015-06-07 15:49:38 -04:00
Marty-D
301ad94a16 Gen II: Fix Focus Band with confusion damage 2015-06-06 23:44:26 -04:00
Ivo Julca
9e20df84ab Linked: fix issues with disabled linked moves
- Handle these moves with a flag set in BattlePokemon#getLinkedMoves
- Fixes Assault Vest and Belch failing to prevent status moves and itself respectively if called in a link.
2015-06-06 02:09:34 -05:00
Marty-D
29e56b1043 Fix confusion timing after rampage moves
- Gen 1, 2, 5, and 6 cause confusion immediately after the move on the
last turn
- Gen 3 and 4 cause confusion at the end of the turn on the last turn
2015-06-04 09:55:30 -04:00
The Immortal
5aefaf121f Add latest Theorymon winner 2015-06-03 17:14:13 +04:00
Marty-D
1e496508af Gen I, II: Fix Low Kick's power 2015-06-01 23:02:28 -04:00
The Immortal
18f37b8e5a Gen 1/2: Fix Low Kick's accuracy 2015-06-02 05:34:08 +04:00
The Immortal
8d3ebabfd6 Add latest Theorymon winner 2015-06-01 14:45:24 +02:00
Ivo Julca
234caa4ee0 Update OM of the Month: Linked 2015-05-31 13:16:39 -05:00
Marty-D
aab6d24bb2 Correct a few "events" from Pokémon XD 2015-05-29 14:27:00 -04:00