Commit Graph

746 Commits

Author SHA1 Message Date
Guangcong Luo
80b375fa52 Fix crash in monotype validator 2013-04-24 17:52:15 -07:00
Guangcong Luo
42fb5c6be0 Gen 4 OU ladder 2013-04-23 18:46:42 -07:00
Guangcong Luo
782b497d3c Fix Encore + Mental Herb interaction
This fix involves overhauling how changeDecision works, which also
fixes priority order (and speed ties) getting rerolled when Encore
hits.
2013-04-23 17:21:58 -07:00
Guangcong Luo
5e607f39bb Implement Retaliate 2013-04-23 16:22:34 -07:00
Guangcong Luo
0ef3daa0f1 Fix the rest of the Air Lock interaction bugs
Specifically, Sandstorm's SpD boost and Weather Ball's power/type.
2013-04-22 01:28:27 -07:00
Guangcong Luo
1bc5f3749e Don't deal residual weather damage in Air Lock/Cloud Nine 2013-04-22 01:24:11 -07:00
Marty-D
6d080f232a Correct Tomohawk and Necturna's learnsets. 2013-04-21 22:55:39 -04:00
Guangcong Luo
e719b20e00 Learnsets: Start moves are explicitly L1 2013-04-21 18:05:54 -07:00
Guangcong Luo
db6f92ed42 Put pokedex in National Pokedex order 2013-04-21 18:05:54 -07:00
Guangcong Luo
aa680dcc58 Move Missingno/CAPs to the bottom of the pokedex 2013-04-21 16:43:09 -07:00
Guangcong Luo
7937685fd5 Fix Missingno learnset
It was previously using its April Fool's 2012 learnset. This removes
Magikarp's Revenge from its learnset, and sets its moves to Start
moves since that's what they are.
2013-04-21 02:07:19 -07:00
Guangcong Luo
866bea60be Remove Missingno fake abilities
These were added for April Fool's 2012 but are incorrect.
2013-04-19 23:23:27 -07:00
Guangcong Luo
32f7c74542 Remove Arceus-??? 2013-04-19 23:23:27 -07:00
Guangcong Luo
9125994389 Add basculin-red/blue-stripe aliases 2013-04-19 23:23:27 -07:00
The Immortal
a89f550bc4 Add Ludicolo event + viable moves changes 2013-04-17 11:52:59 +04:00
Cathy J. Fitzpatrick
31fac973e0 Correct trapping mechanics
This doesn't yet handle modded formats that don't validate ability
selection in the ordinary manner. Those formats will continue to work
essentially in the same manner as before, rather than with the correct
mechanics.
2013-04-10 21:19:35 -06:00
Marty-D
0ec35543e6 Spiky-eared Pichu is female. 2013-04-09 23:24:21 -04:00
Marty-D
fd6d21e004 Move Spiky-Eared Pichu out of LC.
- It's not usable outside of HGSS, anyway.
2013-04-09 23:05:18 -04:00
Marty-D
30b850b439 Correct Missingno.'s learnset. 2013-04-09 22:46:56 -04:00
Marty-D
1a6248f44b Missingno. now ???/Normal.
- The ???-type is functionally identical to Bird-type.
2013-04-09 18:29:46 -04:00
Antar1011
e0bbbf2775 Updated LC UU
FWIW
2013-04-09 18:43:38 -03:00
Cathy J. Fitzpatrick
cbfc3e5e16 Working implementation of sending exact damage for own pokemon
This isn't as elegant as I might like, but it does appear to work.
2013-04-09 03:46:45 -06:00
Guangcong Luo
63b2f1d950 Protect gives message when failing on switch 2013-04-08 11:57:51 -07:00
Guangcong Luo
1a15b28db4 Smogon Doubles is no longer a debug format 2013-04-07 21:53:33 -07:00
Guangcong Luo
8bbf7962c0 Taunt is now viable on Froslass 2013-04-07 17:15:23 -07:00
Guangcong Luo
ee35aeae35 Fix learnset validator for Baton Pass Durant 2013-04-07 13:31:20 -07:00
Guangcong Luo
92d50d32a6 Minor Natural Gift refactor
I'm calling it a refactor because I'm pretty sure it doesn't actually
change anything. But right now gems require a new code guarantee:
basePowerCallback shouldn't return false under normal circumstances.

(Some of them still do return false, but only under error conditions)
2013-04-07 11:47:15 -07:00
Guangcong Luo
462a387831 Fix Outrage+Substitute 2013-04-07 10:46:33 -07:00
Guangcong Luo
5039bcea6f Fix Heal Bell 2013-04-07 10:41:52 -07:00
Guangcong Luo
df7b3d785e Move results passed up to useMove
Move results are now passed all the way up to the useMove script.

It's now possible to tell from within useMove whether or not the move
succeeded.

This fixes a bug where successful Memento and Healing Wish were
considered to have failed and so didn't cause the user to faint.
2013-04-06 19:03:59 -07:00
Guangcong Luo
c663b5eaa5 Fix Substitute for new hit system 2013-04-06 18:27:20 -07:00
Guangcong Luo
3ef4b5c785 Ugly hack to fix burn+Explosion damage
Currently, if a burned Pokemon explodes in doubles, all targets except
the first will take full damage, because it's fainted (and no longer
burned) by the time those damage calculations are done.

The correct solution is to do all damage calculations before dealing
any damage, which I will do someday. Today is not that day.

Today, we move fainting the Explosion user to after damage is dealt.
Which, aside from making the faint order wrong, doesn't really have
any other consequences, and is better than the current buggy
damage calculation.
2013-04-06 16:11:15 -07:00
Guangcong Luo
d888a75bbe Fix Forewarn message 2013-04-06 15:49:24 -07:00
Guangcong Luo
b7500a375a Make sure ability immunities go last
Specifically, abilities like Lightningrod should activate their
absorption effects after Protect, Magic Bounce, or anything like
that.
2013-04-06 15:22:32 -07:00
Guangcong Luo
2b1a5540ac Fix SR for new move hit system
Specifically, the TryFieldHit event no longer exists.

Instead, Magic Bounce has separate event handlers for TryHit and
TryHitSide.

This also fixes it so Magic Coat/Bounce happen before ability
absoption (like Water Absorb).
2013-04-06 14:35:31 -07:00
Guangcong Luo
7aa1ed7ae3 Order the TryHit event correctly
(This isn't perfect yet; Magic Coat/Bounce uses a different event,
which we'll need to correct later.)
2013-04-06 12:57:16 -07:00
Guangcong Luo
fe2da359e9 Refactor when accuracy is calculated
Accuracy is now checked after immunities and certain other effects,
rather than before.
2013-04-06 12:55:38 -07:00
Guangcong Luo
55362a8f81 Gem activation conditions fix 2013-04-06 08:47:21 -07:00
Marty-D
5370068ed7 Make sure Gems don't activate with Status moves. 2013-04-06 10:47:00 -04:00
Guangcong Luo
64354a847c VGC 2013 out of dev (finally) 2013-04-05 23:13:27 -07:00
Guangcong Luo
b0cfddcede Fix Gems and spread moves
Gems now boost all hits of a spread move.

This introduces a new event BasePowerMultiplier, so that gems actually
activate at the right time now.

The name is similar to basePowerModifier but they do the same thing
anyway. We should probably figure something out for their naming,
though.
2013-04-05 23:13:26 -07:00
Guangcong Luo
d91896a106 Fix Rebound
It previously was using an outdated algorithm to determine whether
a move is bounceable.
2013-04-05 16:04:29 -07:00
Marty-D
f786cbe640 Rowap Berry is now released. 2013-04-05 14:33:02 -04:00
Guangcong Luo
d196e1f826 Fix Sky Drop bug
It caused weird errors when the target was fainted.
2013-04-03 16:51:53 -07:00
Guangcong Luo
5ae7f0b145 Implement Monotype format 2013-04-03 13:22:43 -07:00
Guangcong Luo
ddeae3d5dc Ubers is having a suspect test 2013-04-03 07:40:05 -07:00
Guangcong Luo
015d0071a6 Format list arranged by sections
Technically, they were before, but rather than having sections by
mod or gametype, I've split them into the following sections:
- Singles
- Doubles
- Other Metagames
- Past Generations

(Technically OM of the Month is its own section, to make it stand
out)

Anyway, format list sections should be fairly standardized from
now on.
2013-04-03 07:39:19 -07:00
The Immortal
b8d27473a9 Add April Fools Taunt quotes to Fools Festival 2013-04-03 13:54:30 +04:00
The Immortal
a14b34864a Randbats script update
- Add Hustle counter
- Prevent a few move combinations
- Prevent Simple without a boosting move
- Prevent Swift Swim/Chlorophyll without Rain Dance/Sunny Day
- Set Combee's ability to always be Honey Gather
- Set Deoxys-D and Deoxys-S to level 74
2013-04-02 22:35:07 +04:00
Marty-D
d2a72715b0 Jynx has been unbanned from NU.
http://www.smogon.com/forums/showthread.php?t=3481611
2013-04-02 00:33:42 -04:00