Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
16952d50c4 HTML declare is now its own command
Apparently roomowners can't be trusted with HTML declare
2014-04-17 16:15:36 -04:00
Slayer95
4c18aa60f1 Remove global 'fs' 2014-04-17 14:37:32 -05:00
DragonBean
52d27e97c2 Updated Tiers for Gligar, Meditite, Swirlix.
Changed the tier to LC Uber
2014-04-17 18:31:02 +01:00
Guangcong Luo
180889f514 Fix crash in TR Persistent/Gravity check
Apparently it's been bugged for a while, but Slayer95's recent
refactor upgraded it to a crash.
2014-04-17 04:17:22 -04:00
The Immortal
eb39e08e7d Prevent Thousand Arrows and Thousand Waves in Metronome 2014-04-17 11:51:00 +04:00
Slayer95
4d50796d25 Fix watchConfig 2014-04-17 00:47:35 -05:00
Slayer95
0126585385 Declare ´channelid´ in sockets´ close event handler 2014-04-17 01:14:15 -04:00
Slayer95
1f98a77768 Add globals to gulpfile 2014-04-17 01:13:15 -04:00
Slayer95
75559362b4 Rename global config to Config 2014-04-17 01:12:28 -04:00
Slayer95
b262316d57 Remove globals defined at sockets.js
App, AppSSL, Server, sweepClosedSocketsInterval and sweepClosedSockets.
2014-04-17 01:10:44 -04:00
Guangcong Luo
692f47fc0a Support dynamically spawning simulator processes 2014-04-17 00:16:15 -04:00
Guangcong Luo
dfae5d02c3 Don't check evo level in hackmons/custom 2014-04-17 00:10:01 -04:00
Slayer95
e419e7595a Declare ´damagingid´ and ´damagingType´ in randbats builder 2014-04-16 22:00:42 -05:00
Guangcong Luo
0f9ca7804a Merge pull request #832 from Slayer95/master
Fixes for Embargo, Gastro Acid, Klutz, Magic Room and No Guard
2014-04-16 20:15:30 -05:00
Slayer95
f467483d20 Fix 2-turn moves ignoring No Guard 2014-04-16 19:00:06 -05:00
Slayer95
c3ee9782fb Fix ignoring abilities or items sometimes being not effective
Items: Light Clay, Metronome
Abilities: Aura Break, Contrary, Gluttony, Levitate, Mega Launcher, Minus, Mold Breaker, Persistent, Plus, Shadow Tag, Slow Start, Soundproof, Stall, Unburden, Teravolt, Turboblaze, Zen Mode
2014-04-16 18:59:39 -05:00
Slayer95
eaa3e08646 Add methods to get effective Item or Ability
pokemon.hasItem and pokemon.hasAbility account for Gastro Acid, Klutz, Magic Room and Embargo
2014-04-16 18:52:03 -05:00
Guangcong Luo
d9ff2dd0c9 Merge pull request #688 from Relados/patch-12
Add missing gen2 items
2014-04-16 15:57:55 -05:00
Guangcong Luo
3ca1036079 Merge pull request #830 from Relados/patch-58
Allow Charizardite Y and Mewtwonite Y in randoms
2014-04-16 15:57:37 -05:00
Relados
3ace54a742 Remove typo 2014-04-16 15:38:24 -05:00
Relados
8186f86aa5 Allow Charizard Y and Mewtwonite Y in randoms
For Pokemon with multiple mega evolutions (Charizard and Mewtwo) it should randomly select either.
2014-04-16 15:31:05 -05:00
Guangcong Luo
eff83bd236 Merge pull request #829 from CrestfallPS/patch-2
Update of GenNEXT README
2014-04-16 15:21:40 -05:00
CrestfallPS
880c71c7c5 Update README.md
Changes:
Removed Shuckle getting Leech Seed as it doesn't.
Updated numbers on Explosion/Self-Destruct to current values.
-Crestfall
2014-04-17 01:48:47 +05:30
Guangcong Luo
38b5f9e570 NEXT: Mega Gengar no longer levitates 2014-04-16 15:56:00 -04:00
The Immortal
ed1e9853c8 Gen 4: Fix Beat Up 2014-04-16 21:36:00 +04:00
Guangcong Luo
c01a786c0b Merge pull request #828 from ToucheSir/patch-1
Change gulpfile to take advantage of gulp APIs
2014-04-16 02:22:10 -05:00
Brian Chen
bdede3b5b0 Change gulpfile to take advantage of gulp APIs
Gulp's `gulp.src` can also take an [array of globs](https://github.com/gulpjs/gulp/blob/master/docs/API.md), which makes iterating through all the directories manually rather redundant.
2014-04-16 00:12:04 -07:00
小太
e34fc1110d Default secondary shadow ban action to mute 2014-04-16 14:48:27 +10:00
Guangcong Luo
78b840a033 Merge pull request #827 from sirDonovan/patch-3
Fix No Guard
2014-04-15 18:49:37 -05:00
sirDonovan
d0935d490f Fix No Guard
Fix ability causing multi-target moves to always hit all Pokemon
2014-04-15 18:37:32 -05:00
Guangcong Luo
2c078ddc38 Merge pull request #826 from Relados/patch-57
Prevent Memento and recovery together
2014-04-15 18:31:38 -05:00
Relados
1178f275a5 Prevent Memento and recovery together
If a Pokemon has recovery, it plans to survive in the long-term and having a move that sacrifices itself is unwanted.

(This was found on probably the worst set ever seen in Random Battles:  Memento / Rest / Sleep Talk / Poison Jab)
2014-04-15 18:03:03 -05:00
Guangcong Luo
2bf7416bcc Refactor targetUserOrSelf
It now always fills out targetUsername, and passes the exactName
flag through to splitTarget. /whois will no longer follow through
name changes unless the /whois user has auth (voice counts).

This is not a secure way to hide from unvoiced users; other
commands such as PMing will still follow through.
2014-04-15 16:46:12 -04:00
The Immortal
39867ecc9f Add removed admin check back to /whois 2014-04-16 00:35:49 +04:00
The Immortal
9d12183bb9 Prevent admins on alts from being /whois'ed 2014-04-15 21:11:42 +04:00
The Immortal
6f528b9f84 Merge pull request #825 from Relados/patch-55
Remove Air Slash from Yveltal
2014-04-15 10:05:27 -07:00
Relados
8005b8f8b6 Remove Air Slash from Yveltal
Oblivion Wing is far superior, there's no reason it should ever run Air Slash.
2014-04-15 11:58:33 -05:00
小太
c38d0adcf8 Add /help for shadow ban 2014-04-15 18:13:09 +10:00
小太
c6913b5ba1 Implement shadowban 2014-04-15 18:02:48 +10:00
Guangcong Luo
4910f01545 Merge pull request #823 from kotarou3/tournaments
Fix crash when a battle isn't able to be started (e.g., server lockdown)
2014-04-15 02:07:59 -05:00
小太
f6c2debae3 Fix coding style 2014-04-15 17:04:05 +10:00
小太
516bae6078 Fix crash when a battle isn't able to be started (e.g., server lockdown) 2014-04-15 16:50:38 +10:00
Guangcong Luo
21f9e72af4 Merge pull request #821 from Relados/patch-54
Replace Sludge Wave with Sludge Bomb on Gengar
2014-04-14 19:33:35 -05:00
Relados
738a493574 Replace Sludge Wave with Sludge Bomb on Gengar
Sludge Bomb has higher usage and is arguably better than Sludge Wave on Gengar.
2014-04-14 19:23:41 -05:00
The Immortal
a6258e1370 Merge pull request #820 from DragonBean/patch-2
removed 'to burn' typo
2014-04-14 05:35:40 -07:00
DragonBean
2f3560ba88 removed 'to burn' typo 2014-04-14 11:48:38 +01:00
The Immortal
44520d34df Add Thousand Arrows and Thousand Waves
Also modified Steam Eruption
2014-04-14 10:20:31 +04:00
The Immortal
38a95f78c7 Update Fury Cutter for Gen 5 2014-04-14 09:53:19 +04:00
Guangcong Luo
ec79c563d0 Merge pull request #819 from Relados/patch-53
Fix Fury Cutter damage
2014-04-13 19:57:24 -05:00
Relados
e2c49bd524 Fix Fury Cutter damage
Fury Cutter was basing the multiplier for the move off of the BW base of 20 instead of the XY base of 40.
2014-04-13 19:55:38 -05:00