Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
38ba706f1b Check PotD template validity before continuing 2012-03-28 23:32:43 -04:00
Guangcong Luo
88b6639e73 Mention singles only in README 2012-03-28 23:32:43 -04:00
Bill Meltsner
dd0679803f Flag punching moves so that they get boosted by Iron Fist. 2012-03-28 22:25:13 -05:00
Bill Meltsner
48ef7d44cb Implement Soundproof. 2012-03-28 16:46:32 -05:00
Bill Meltsner
7674969270 Fix PotD letting two of the same Pokemon be on a team. 2012-03-28 16:27:31 -05:00
Bill Meltsner
c564bdd7c6 Properly implement Defiant. 2012-03-28 16:25:18 -05:00
Guangcong Luo
2e006fe27d Update README:
> - "only supports singles battles"
> - mention NoScript as a possible pitfall for local testing; suggest Chrome
> - rephrase plans for hosting entirely local servers
2012-03-28 17:04:40 -04:00
Bill Meltsner
b5955c1f90 Prevent users from changing their nicknames while participating in a rated battle. 2012-03-28 03:43:41 -05:00
Bill Meltsner
626a975029 Nomenclature change: "ranked" -> "rated" 2012-03-28 03:43:02 -05:00
Bill Meltsner
fb98ebd011 Include Ataraxia's avatar. 2012-03-28 03:23:29 -05:00
Bill Meltsner
ea9abe2889 Fix Trick, Switcheroo, and Bestow removing items even when they fail. 2012-03-28 01:52:51 -05:00
Bill Meltsner
6645765411 Fix Intimidate not triggering Defiant. 2012-03-28 01:49:51 -05:00
Bill Meltsner
c79819fbee Give Healer, Hydration, and Shed Skin their proper end-of-turn priorities. 2012-03-28 01:17:17 -05:00
Bill Meltsner
0f75191737 Implement Triple Kick. 2012-03-28 01:16:48 -05:00
Bill Meltsner
26751cf2b9 Fix some omissions in the No Metronome list. 2012-03-28 00:45:50 -05:00
Bill Meltsner
ce6667ac73 Fix a few omissions in Copycat's "no copy" list. 2012-03-27 22:38:41 -05:00
Bill Meltsner
f0d8478d26 Fix Entrainment.
Opponents can have their ability changed if they have Zen Mode, and there are several abilities that Entrainment cannot pass on to opponents.
2012-03-27 12:45:55 -05:00
Bill Meltsner
cd41ce3b64 Fix False Swipe. 2012-03-27 03:11:16 -05:00
Guangcong Luo
3628e8d1f4 THIS IS HUGE: Groups are now preserved
- In particular, you will retain your group upon logging out, and server restarts
- Groups are stored in config/usergroups.csv
2012-03-27 03:47:36 -04:00
Bill Meltsner
81e5627fc0 Implement Cute Charm. 2012-03-26 19:09:30 -05:00
Bill Meltsner
fc8fd2e0fb Implement Oblivious. 2012-03-26 18:34:49 -05:00
Bill Meltsner
b704b01575 Clean up ability descriptions (and fix a few JSLint complaints). 2012-03-26 18:31:28 -05:00
Bill Meltsner
88acb407e1 Add a (placeholder) activation message for Unnerve. 2012-03-26 16:45:44 -05:00
Guangcong Luo
477af8973d Add the new event documentation.
Old event documentation is still there because it goes into a completely different level of detail than the new event documentation
2012-03-26 01:54:25 -04:00
Bill Meltsner
b5c89447db Confusion is ???-type.
Fixes confusion damage being blocked by Wonder Guard.
2012-03-25 20:40:59 -05:00
Bill Meltsner
bcf5b50212 Lock-On always hits. 2012-03-25 18:36:29 -05:00
Bill Meltsner
a60e1e326a Un-break Sucker Punch. 2012-03-25 18:31:12 -05:00
Bill Meltsner
0c57c0fc76 Assist always hits. 2012-03-25 18:30:32 -05:00
Guangcong Luo
49ede803e7 Fix crash in Mirror Move 2012-03-25 19:16:06 -04:00
Bill Meltsner
7fa571faeb Change SmellingSalt and Wake-Up Slap to use onHit instead of afterMoveCallback, thanks to the new event system. 2012-03-25 16:28:45 -05:00
Bill Meltsner
d0d35c261e Absorb has 100% accuracy. 2012-03-25 16:27:24 -05:00
Bill Meltsner
9fb309b38e Implement Lock-On and Mind Reader. 2012-03-25 16:18:24 -05:00
Bill Meltsner
611cc2a678 Fix a whole lot of inaccurate accuracies. (Thanks to Marty for finding all of these.) 2012-03-25 16:13:49 -05:00
Bill Meltsner
4cac0643b2 Fix Crush Grip and Wring Out's displayed base power. 2012-03-25 16:01:26 -05:00
Bill Meltsner
783f70f83f OHKO moves gain accuracy when the user's level is higher than the target's.
Also, OHKO failure due to the user's level being lower than the target's is now reported to the client.
2012-03-25 15:37:01 -05:00
Bill Meltsner
e4c14cdd55 Fix PotD not working. 2012-03-25 15:05:38 -05:00
Bill Meltsner
743e0f6a76 Rename the "Limbo" tier to "NFE", and re-tier its Pokemon to match Smogon's data. 2012-03-25 14:53:26 -05:00
Bill Meltsner
48ac09c8a1 Sticky Barb jumping to another Pokemon should not be stopped by Sheer Force (but still stopped by Substitute). 2012-03-25 13:57:55 -05:00
Bill Meltsner
3f759f42dd Implement Sticky Hold. 2012-03-25 13:49:38 -05:00
Bill Meltsner
1fd6f6516d Make Multitype prevent Plates from being taken. 2012-03-25 13:43:14 -05:00
Bill Meltsner
825af32581 Add a source argument to BattlePokemon.takeItem, representing the Pokemon causing the item to be removed.
Also, updated the relevant takeItem() calls to now pass the source.
2012-03-25 13:42:46 -05:00
Bill Meltsner
5c7d7d08c6 Implement Pickup. 2012-03-25 13:37:17 -05:00
Bill Meltsner
7daab42b98 Each Pokemon now has a usedItemThisTurn flag, which represents exactly what it sounds like.
BattlePokemon.setItem will also set that flag if the Pokemon had an item previously - this handles cases like Fling, where the games mark the item as "consumed" but the item is never technically "used".
2012-03-25 13:31:24 -05:00
Bill Meltsner
9b82cddc05 Add a noPPBoosts flag to moves that should not have their PP maximized.
Really only applies to Trump Card, and also Sketch/Struggle so that they don't end up with 1.6 PP.
2012-03-25 11:34:47 -05:00
Bill Meltsner
2e660ffa4a Make Leppa Berry trigger on Update, just like every other Berry that doesn't weaken attacks. 2012-03-25 11:31:24 -05:00
Bill Meltsner
fdd631b649 Fix Curse.
In Generation 5, Ghost Curses aren't blocked by Substitute. Also, took advantage of ModifyMove to reimplement Curse more intelligently.
2012-03-25 01:42:40 -05:00
Guangcong Luo
b3a79d8a74 Fix Sucker Punch to use the normal event system 2012-03-25 01:26:38 -04:00
Guangcong Luo
98684689df Make sure nothing's immune to ???-type 2012-03-25 01:03:51 -04:00
Guangcong Luo
98f78a025a Make sure Mold Breaker negates Magic Bounce-like events 2012-03-25 01:02:54 -04:00
Guangcong Luo
a9cdc89313 Fix some typos in the TryHit event documentation 2012-03-24 21:52:33 -04:00