Commit Graph

9602 Commits

Author SHA1 Message Date
Kevin Lau
06b5987bfb Seasonals: Pokemon now have five moves
Magikarps now gain Aqua Ring, which has been modified to heal 1/8 of
maximum HP.

Also fixed some minor typos.
2015-10-09 16:22:46 -07:00
The Immortal
a23ac09850 Correct hidetext help
Room owners can use it too. Also changed the permission because it
doesn’t make sense being tied to rooms.
2015-10-10 02:20:17 +04:00
Guangcong Luo
4c532c1ece Merge pull request #2206 from AustinXII/patch-1
Allow leaders to be able to /hidetext at any time
2015-10-09 16:51:34 -05:00
Austin Couturier
af6309d16a Allow leaders to be able to /hidetext at any time 2015-10-09 14:45:52 -06:00
Juanma Serrano
d18e90fd93 Implement October Seasonal, Spoopy Party
This is going to be the Seasonal Ladder for the remainder of October.
Super Squad Showdown will be finished and implemented for November.
2015-10-09 13:12:36 +02:00
Guangcong Luo
1c9a971820 Buttons are now banned in personal rooms 2015-10-09 04:46:38 -04:00
Guangcong Luo
34041dd63d Redesign polls
Polls now have bar charts and also overall look much nicer.
2015-10-09 04:46:38 -04:00
Guangcong Luo
48cd66814a Add basic poll documentation 2015-10-09 04:45:18 -04:00
Guangcong Luo
804078ee0e Add some aliases for polls 2015-10-09 04:43:58 -04:00
Guangcong Luo
f3e8eb94af Limit polls to 1024 chars total 2015-10-09 04:43:58 -04:00
Kevin Lau
5ecce571fd Admins can /hidetext at any time 2015-10-09 01:16:15 -07:00
Ivo Julca
0bc42836b8 Make sure timers are cleared on room removal 2015-10-08 22:21:09 -05:00
Guangcong Luo
49c2abeaae Merge pull request #2203 from SolarisFox/patch-1
/dexsearch: OR operator for parameters
2015-10-08 17:46:43 -05:00
SolarisFox
0ec869d3d7 /dexsearch: OR operator for parameters 2015-10-08 14:05:28 -07:00
The Immortal
d2bb5bf545 Random Battle: Don't count Clear Smog as STAB 2015-10-08 16:47:49 +04:00
Guangcong Luo
4f4d05d961 Merge pull request #2202 from AustinXII/patch-1
remove double instance of hidetext in the error reply
2015-10-07 21:16:24 -05:00
Austin Couturier
9c5b441328 remove double instance of hidetext in the error reply
currently if the command results in access denied you get "/hidetexthidetext - Access denied."
2015-10-07 18:50:48 -06:00
Guangcong Luo
fa2ed71073 Merge pull request #2199 from bumbadadabum/poll2
Some bugfixes to /poll
2015-10-07 13:23:34 -05:00
Bär Halberkamp
52dbc16e7b Show polls upon joining a room. 2015-10-07 14:20:49 +02:00
Bär Halberkamp
e47b5de3dc Updates to polls 2015-10-07 14:20:49 +02:00
Guangcong Luo
b1b1ba97b5 Merge pull request #2198 from Morfent/showimage
/showimage: optional dimensions, accept CSS height/width values
2015-10-07 03:20:45 -05:00
Ben Davies
7364f8aabd /showimage: accept CSS height/width values
Users no longer have to do /showimage url,, to show an image at its
default dimensions. They may also use whatever values they want for the
height and width styles so long as they're valid.
2015-10-07 04:24:01 -03:00
Guangcong Luo
5646d095f6 New command /deroomvoiceall 2015-10-07 02:13:23 -04:00
Guangcong Luo
60c0f07af3 Require confirmation for /unbanall 2015-10-07 02:13:23 -04:00
Guangcong Luo
fca7403b77 Fix bug in /invite auto-roompromotion 2015-10-07 02:13:23 -04:00
Guangcong Luo
87023373a2 Document why image width/height is required 2015-10-07 02:13:23 -04:00
Guangcong Luo
836eaa2553 Allow Starf Berry in Baton Pass Clause 2015-10-07 02:13:23 -04:00
Guangcong Luo
37186620d1 Merge pull request #2177 from bumbadadabum/poll
Implement polls (serverside code)
2015-10-06 19:14:52 -05:00
The Immortal
804214fcf2 No Guard Galaxy: Ban Dynamic Punch 2015-10-06 21:17:21 +04:00
The Immortal
77d2703540 Merge pull request #2190 from ascriptmaster/randoms
Random Battle Move and Ability Updates
2015-10-06 21:04:26 +04:00
DanUgore
6f960bc550 Fix crash in /hidetext
`getLastIdOf()` crashes on a `null` user object (user not found)
2015-10-06 10:32:41 -04:00
Kevin Lau
1fa49099ce Random Battle Move and Ability Updates
Add new sets for Cherrim-Sunshine specifically.

Reject Mach Punch as the only STAB move if the Pokemon does not have
Technician. Affects almost every Fighting Pokemon except Breloom.

Reject Bullet Punch as the only STAB move if the Pokemon does not have
Technician. Affects Metagross and Mega Lucario.

Don't count Charge Beam as singular STAB, and add checks for redundancy
with Thunderbolt based on the number of remaining Special moves. Affects
Emolga and Magnezone.

Reject Sheer Force with Fake Out in Doubles. Affects Hariyama.

Reject Flash Cannon with Iron Head in Doubles to match the rule in
Singles. Affects Aegislash.

Add Freeze-Dry as an option to Mega Glalie sets. Removed Crunch from its
Singles set and Taunt from both sets. Reject Ice Shard with Freeze-Dry so
it doesn't get too many Ice-type moves.
2015-10-05 17:07:47 -07:00
Quinton Lee
d5fe177413 Update LC desc 2015-10-05 15:11:22 -05:00
Bär Halberkamp
4eef1e9c2b Implement polls (serverside code) 2015-10-05 01:30:44 +02:00
Guangcong Luo
ab71ae20fe Refactor ResourceMonitor into monitor.js
ResourceMonitor has been moved from app.js into monitor.js and
renamed to simply Monitor. It also gains the ability to fine-
grained control the log level, although in a pretty crude way.

Monitor.debug - bugs in PS's engine that we need to fix
someday - by default, these aren't reported

Monitor.warn - issues that suggest an attacker or poorly
coded custom client - these should probably be looked at

Monitor.notice - issues that staff probably want to know.
These are usually also written to the Staff room.
2015-10-04 17:02:17 -04:00
Marty-D
8792169dc6 Merge pull request #2195 from xfix/gen1-residualdmg
Poison/burn/leech seed don't increment residualdmg in Gen1
2015-10-04 10:04:37 -04:00
Konrad Borowski
d9abb0eeb7 Poison/burn/leech seed don't increment residualdmg on start in Gen1
Previously moves like Leech Seed incremented residualdmg when used by 1,
but this doesn't actually happen in the game. Instead, an actual game
uses a flag to store toxic poisoning flag, and when it's not specified,
these statuses always dealt 1/16 of full HP.

This fixes the issue where the sequence of moves (Toxic followed by Leech
Seed) was dealing 1/16, 3/16, and 4/16 of full HP in residual damage,
instead of 1/16, 2/16, and 3/16.
2015-10-04 13:26:23 +02:00
Guangcong Luo
f1eedf49aa Merge pull request #2194 from panpawn/patch-81
Add /staffintro to /roomhelp
2015-10-04 01:53:50 -05:00
panpawn
1970e83784 Add /staffintro to /roomhelp
Room moderators now gain a new command (/staffintro), so we can list it in /roomhelp along with the others.
2015-10-04 00:12:35 -04:00
Ivo Julca
c94fe4a4e0 Fix errorReply for broadcast commands 2015-10-03 22:49:29 -05:00
Guangcong Luo
98d4b46352 Merge pull request #2104 from ascriptmaster/chat
Implement /hidetext command
2015-10-03 20:58:43 -05:00
Guangcong Luo
3ebdb6f568 Merge pull request #2189 from sirDonovan/staffintro
Implement staffintro feature
2015-10-03 18:57:21 -05:00
sirDonovan
28bebd89b8 Implement staffintro feature
- Optional second roomintro that can only be seen by drivers+ and set by mods+ (useful for watchlists, getting a message to all staff, etc.)
- Refactor ChatRoom.getIntroMessage
2015-10-03 16:32:58 -05:00
The Immortal
c3df61d6eb Theorymon: Add new changes 2015-10-03 23:47:49 +04:00
Marty-D
e8a6747e02 Fix multi-hit moves returning false damage when hitting subs 2015-10-03 15:00:29 -04:00
Ivo Julca
c46f9bd3ef Fix range lock affecting confirmed users 2015-10-03 12:47:45 -05:00
Guangcong Luo
57855730d1 Merge pull request #2191 from ascriptmaster/next
Gen-NEXT: Update README.md
2015-10-02 21:03:27 -05:00
Kevin Lau
3bfce38ff7 Gen-NEXT: Update README.md
Improved the grammar on many parts of the README. Also, sorted the Pokemon
in the Intrinsic Levitate section and removed mention of released Hoopa.

Staying true to the Gen-NEXT OU banning philosophy, Hoopa-Unbound is now
banned. Landorus-I is now unbanned.

Removed ability modification in weather-setting abilities as they are no
longer needed.
2015-10-02 17:35:44 -07:00
Kevin Lau
d1b0189b45 Implement /hidetext command
Since users that weren't in the room a malicious user is locked from won't
get the notification that signals a client to remove the messages, this
command allows any room mod or global staff to clear the chat of a locked
user.
2015-10-02 14:37:15 -07:00
The Immortal
e2ef6ec36a Random Battle: Modify levels and Ability ratings
- Set Pokemon whose Ability is banned from UU at UU level
- Change weather Ability ratings, primarily to make sure Politoed
always gets Drizzle
2015-10-02 20:29:19 +04:00