Commit Graph

3094 Commits

Author SHA1 Message Date
Joim
26f9eca695 Revert previous commit 2013-08-13 17:15:06 +02:00
Joim
0f8a191e24 LC: Ban Snover
Since Snover is LC due to Snow Warning ban in RU, preemptively ban 
it on LC until a decision is made.
2013-08-13 17:13:58 +02:00
Joim
48ff9f2462 Update snover's tier to LC
Now that Snow Warning is banned in RU and thus below, 
update Snover tier to show it's LC now.
2013-08-13 17:09:02 +02:00
Joim
5fb86c7c2b RU suspect has ended, Snow Warning banned 2013-08-13 16:39:32 +02:00
Guangcong Luo
b3c9c9a768 Merge pull request #294 from Ethan/promote
Return correct command when using /demote
2013-08-12 12:37:32 -07:00
Joimer
00a5f991fb Gen 2: Fix Light Screen and Reflect
Ater Light so they modify Def and SpD.
On critical hit, choose unmodified stat.
This also does half the work of crit mechanics.
2013-08-12 15:47:19 +02:00
Ethan
6b87cb7083 Return correct command when using /demote
Previously if you used /demote and didn't have permission to it would return /promote - Access denied.
2013-08-12 05:52:51 -05:00
Joimer
fa2031804c Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-12 12:51:35 +02:00
Joimer
563f3236fc Gen 2: Add its own Reflect 2013-08-12 12:51:03 +02:00
Joimer
a9bc62149c Gen 2: Clean up scripts 2013-08-12 12:50:47 +02:00
Guangcong Luo
70f78202e1 Fix Red Card activating on inactive pokemon 2013-08-11 21:33:58 -07:00
Guangcong Luo
0b4e0d072b Merge pull request #292 from Slayer95/patch-2
Show 'access denied' message for redir
2013-08-11 20:47:24 -07:00
Slayer95
e30e58ed14 Show 'access denied' message for redir 2013-08-11 22:46:34 -05:00
Joim
a377acceca Doubles: Re-ban Sky Drop 2013-08-11 21:43:00 +02:00
The Immortal
44b4948d24 Add Smeargle event
VGC Worlds 2013 Smeargle
2013-08-11 18:30:58 +04:00
Joimer
e0b857315c Gen 2: Add readme 2013-08-11 10:05:59 +02:00
Joimer
5cfa629173 Remove annoying Debug message 2013-08-10 22:31:34 +02:00
Joimer
0e8741a6c9 Gen 2: Put phazing moves correct priority 2013-08-10 22:31:18 +02:00
Joimer
21033585d1 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2013-08-10 22:12:21 +02:00
Joimer
8b8aaab216 Gen 3: Enable custom game debug 2013-08-10 22:12:04 +02:00
The Immortal
fa3c656c33 Add new events
Satoshi's Pikachu, Iris's Axew, Dento's Pansage, Prof. Okido's Rotom
2013-08-10 21:45:39 +04:00
Joimer
2190c8d6ec Gen 2: Fix bug on critical hit with debuff
If you have an attack debuff and get critical hit, turn crashes.
2013-08-10 18:10:58 +02:00
Joimer
e96630ed4a Gen 2: Correct Hidden Power Base Power calculation
Brackets were missing.
2013-08-10 17:22:19 +02:00
Joim
7d2a8702a1 Gen 2: Set format to debug mode
Set the format to debug mode for easier test when a user reports a problem.
2013-08-10 15:11:37 +02:00
Guangcong Luo
b8d52b1130 Merge pull request #290 from Slayer95/patch-1
Support using room title for /redir
2013-08-09 16:41:40 -07:00
Joimer
948ea295e7 Gen 2: Add format and ladder 2013-08-09 22:06:00 +02:00
Joimer
64d783aea0 Gen 2: Implement Hidden Power
Typechart is necessary for the types IVs for specific hidden powers.
2013-08-09 22:03:02 +02:00
Joimer
a6b1bff6fb Gen 2: Add base files
Formats for its own validateSet, statuses, learnsets (from Veekun),
items, move changes, formats data for tiering, ability none,
and battle scripts.
2013-08-09 22:02:04 +02:00
Joimer
be2d3686f7 Fix Storm Drain accuracy check for Water-type moves
Water-type moves should not fail against Storm Draim Pokémon.

Test, Gastrodon + Qwilfish, turn 2 switching the first to Escavalier:
Storm drain is making Hydro Pump accuracy true
Storm drain is making Hydro Pump accuracy true
Storm drain is making Hydro Pump accuracy true
Storm drain is making Hydro Pump accuracy true
Accuracy for Recover: true
Accuracy for Recover: true
Accuracy for Hydro Pump: 80
Accuracy for Hydro Pump: 80
2013-08-09 11:07:12 +02:00
Joimer
fe0e94fd87 Fix Flash Fire accuracy check with Fire-type moves
No Fire-type move should fail against Flash Fire Pokémon.

Test on two turns:
Flash fire is making Will-O-Wisp accuracy to true.
Flash fire is making Will-O-Wisp accuracy to true.
Accuracy for Earth Power: 100
Accuracy for Earth Power: 100
Accuracy for Will-O-Wisp: 75
Accuracy for Will-O-Wisp: 75
Accuracy for Substitute: true
Accuracy for Substitute: true
2013-08-09 11:00:55 +02:00
Slayer95
aa6ff5b32b Support using room title for /redir 2013-08-09 01:50:25 -05:00
Joimer
b9421651eb Gen 1: Implement partial trapping 0 pp bug
When a partial trapping move is executing its 0 pp sequence, if
the opponent switches the pps get rolled back to max.
2013-08-08 21:30:42 +02:00
Joimer
1275006795 Make redir not redir to the same room
It's redundant.
2013-08-08 20:59:32 +02:00
Joim
7b2355a2d1 Move Doubles from othermetas command to tiers command
Since Doubles is going to be official from gen 6 on and it's 
on adaptation period, show it on tiers now so users get 
used to it.
2013-08-08 12:26:08 +02:00
Joimer
762b343977 Crash hotpatch gracefully and inform of the exact error
If a hotpatch fails, it now fails gracefully and informs of the
error stack trace.
2013-08-08 10:12:42 +02:00
Joim
55f9f99f81 Fix styling in last commit 2013-08-08 10:03:34 +02:00
Joim
1851f779ca Update smogdex command: add option to link to doubles formats analyses
Add a third optional parameter to link to a vgc2012, vgc2013, 
or doubles analysis. It only works for gen 5 onwards. If you 
intentionally don't set generation, it will default to 
latest generation and check the parameter for doubles.
2013-08-08 09:54:05 +02:00
The Immortal
5c31a1cb6a Unban Darkrai in STABmons 2013-08-07 08:46:31 -07:00
The Immortal
d7a4e3666f GP 1/2 2013-08-07 08:44:35 -07:00
Joim
eff5371248 Fix Perish Song bug in Doubles
In Doubles, there's the possibility that battle.sides[i].active[j] 
does not exist, thus causing a crash. Add a check for that.
A non-existing Pokémon is not counted for result.
If there's no active Pokémon, there's no field Perish Song 
effect whatsoever.
2013-08-07 17:35:05 +02:00
Joim
d83e30072f Doubles: Unban Sky Drop
Sky Drop is no longer glitched in BW2 and thus available, so Doubles is unbanning it.
2013-08-07 08:45:33 +02:00
Joim
272b2ae691 Fix redir with target with no target room crashing 2013-08-06 22:02:00 +02:00
Joimer
f9951f3471 Fix abusable loophole in redir
Redir used user.can as a way to stop lower auth from rediricting to
higher auth to other rooms.
However, if a user had auth over another user in a private room, this
user could redir the other user even if the latter had higher global auth
and/or was not in the room.
This commit fixes that, checking if a user is inside a room before being
able to use redir on they.
2013-08-06 13:15:39 +02:00
Joim
267a3ca014 Show again UU ladder
As per tier leader kokoloko's request, show both UU ladders again for the current suspect.
2013-08-06 06:49:30 +02:00
Joim
082d24e09b Gen 1: Unban partial trapping moves
With the 0 PP behaviour fixed, there is no need to keep partial trapping moves banned, since the game changing struggle lock on 0 pp sequence is no longer there.
2013-08-05 09:56:55 +02:00
Joim
588df751dd Improve seasonal team maker
Imrpove Average August's team maker taking into account player's feedback on the Seasonal.
2013-08-05 09:54:07 +02:00
The Immortal
a53c3d3e0d Abilities/items of fainted Pokemon should not activate 2013-08-04 23:23:33 +04:00
Guangcong Luo
5a20df1c17 Merge pull request #286 from V4Victini/patch-7
Parse devoice, demod, etc. commands correctly
2013-08-03 21:03:04 -07:00
V4Victini
575b0d1c14 Parse devoice, demod, etc. commands correctly 2013-08-04 00:00:50 -04:00
Guangcong Luo
f5647c5564 Fainted pokemon should still have singleEvents
This is relevant for having Future Sight hit from a fainted pokemon.
2013-08-03 15:04:03 -07:00