fix use of wrong member name in /userauth
Gen IV: Fix rampage moves against Detect/Protect.
Gen IV: Wish comes before weather damage.
Magician's handler is now purely a global event
Reverts 3b5d455
Slurpuff banned to BL3
Merge pull request #1341 from asgdf/patch-9

fix use of wrong member name in /userauth
Merge pull request #1343 from nmodi/patch-1

Slurpuff banned to BL3
Ability Refactor: Abilities now listen for End events

Added functionality for setAbility to send End events to abilities.

Fixed bug with Mold Breaker negating all Battle#singleEvent ability calls,
even those that don't involve damage calculation.

Fixed Skill Swap to now use End and Start events in the right order:
send the End events, then change the abilities, then send Start events.
If the same ability is swapped, don't send End events (the game simply
re-activates the abilities in question)

Moved SwitchOut/Faint events from weather to ability so the weather
can interact properly with Cloud Nine or Air Lock.

Primal weathers persist if a Pokemon with the relevant ability is
on-field, even if the originator switches out.
Merge pull request #1334 from ascriptmaster/primal

Ability refactor - Abilities now receive End events properly
Galladite banned from RU

fb post here: https://www.facebook.com/SmogonU/posts/10152876570582390
Merge pull request #1344 from nmodi/patch-2

Galladite banned from RU
Gen 1: PPs rollovers go to 63, not maxPP
Gen 1: Fix critical hits not going through screens
Gen 1: Fix trailing whitespace in mod
Gen 1: Revert sleep duration change

Since sleep takes a full turn to get awake, duration 1-7
is correct.
This commit undoes the wrong change in 84b14e8f937a6a2e0ddd8d963b089e4a13d9d5b7
Gen 3: A faint ends the turn just like in gens 1 and 2

This change is significant due to residual handling and self-destruct.
Explosion and Self-Destruct end the turn if the Pokémon is faster, just like on other past gens.
This is really relevant for turn order and residual order on gen 3.
Update learnsets-g6 to display ORAS moves in Teambuilder
Move /lockdetails functionality to /whois
Merge pull request #1257 from Slayer95/master

Move /lockdetails functionality to /whois
Fix remaining instances of Klutz being ineffective