Commit Graph

133 Commits

Author SHA1 Message Date
The Immortal
615c7cb70d Update /tiers UU 2015-05-21 09:35:19 +04:00
SolarisFox
29b961ff69 Style fix: indexOf() comparisons 2015-05-18 15:55:57 -07:00
Morfent
882e9369f2 Chat plugins: AotD and Trivia bug fixes
- Remove question sorting on loading the Trivia plugin, since it is no
  longer required
- Trivia game winners are chosen based on who answers first, not who
  signs up first
- The Artist of the Day is no longer always the first artist to be
  submitted
- Replace instances of foo > -1 with foo >= 0
2015-05-18 18:38:29 -03:00
Ivo Julca
b69bbb48c1 Improve /dice
- Input validation: disallow negative, zero, and non-integer quantities where meaningless. Also disallow unsafe numbers to enforce a uniform distribution of rolls.
- Support AdX+B, AdX-B, AdX-L and AdX-H dice notations.
2015-05-17 14:25:52 -05:00
Guangcong Luo
130d52ca56 Merge pull request #1886 from SolarisFox/patch-4
/details: gen information
2015-05-17 18:19:47 +00:00
codelegend
70bb292404 fix /advlearn to use proper mod format 2015-05-17 18:16:11 +05:30
SolarisFox
585304e5ef /details: gen information 2015-05-16 19:31:18 -07:00
Guangcong Luo
ce9f21eebe Update /ipsearch
Now searches hosts and has a help entry.
2015-05-15 17:06:06 -04:00
Konrad Borowski
a32170dda3 Update RU viability ranking link in /tiers 2015-05-15 15:56:50 +02:00
The Immortal
d9caa0d53a Update /tiers 2015-05-15 00:10:13 +04:00
Ivo Julca
e8e50e7cc6 Strip style attributes from /seasonaldata output
They are removed by the client sanitizer
2015-05-13 18:51:57 -05:00
Juanma Serrano
a38692a937 Seasonal: Balance patch
Slow Down now also reduces damage done by 15%.
Add a new full defensive moveset for Tanks.
Change Evasion for new move, Sacred Shield, for support.
Add an extra moveset for support.
Update information.
2015-05-11 10:30:58 +02:00
Juanma Serrano
29fb143ade Fix crash in seasonaldata command 2015-05-06 13:03:43 +02:00
Juanma Serrano
2863d6d810 Seasonal: Nerf Mutilate
Make its base power just 27 so you're forced to cause bleed/poison.
2015-05-06 10:30:45 +02:00
Morfent
062f56ddd2 Chat plugins: mute/lock checks, add remaining help docs...
Letting users that can't talk use the more important commands is fine
and all, until they find a way to spam with them.

- Remove redundant this.canBroadcast call in /aotd
- The response after changing the Quote of the Day uses the proper
  broadcast style
- /aotd viewnoms sorts the prenomination list
- /trivia qs acknowledges that Video Games is a category
- Change suggestions to use the deprecated /trivia help command to /help
  trivia
- Add style fixes used in the Trivia to the The Happy Place and The Studio
  plugins
2015-05-05 22:43:33 -03:00
Juanma Serrano
a924acdb70 Seasonal: balance patch
Nerf slightly spread moves.
Make all Pokémon more resilient to damage.
Add EVs to make each Pokémon flavour unique to its character.
Randomise damage slightly more.
Eliminate all immunities.
2015-05-05 11:38:18 +02:00
Guangcong Luo
10a6911d43 Merge pull request #1860 from Rhythms88/master
Seasonal: Changes
2015-05-04 20:12:06 +00:00
Rhythms
4af47e44a7 Seasonal: Changes
- add an alias for /seasonaldata
- add a check in /seasonaldata if there is no target
- change quotes in formats.js and add the same alias
- fix some missed instances of followe
2015-05-04 13:28:53 -06:00
Joimer
8bb5e54ecc Fix typos in Seasonal 2015-05-04 21:15:21 +02:00
Juanma Serrano
f86810d7dc Seasonal: Improve info command and remove immunity
Immunity seems to be overpowered after watching a tournament.
2015-05-04 13:11:16 -05:00
Juanma Serrano
43df4684f2 Implement new Seasonal, You are (not) prepared
More information: http://www.smogon.com/forums/threads/3491902/page-12#post-6202283
Seasonal finally uses a mod. This is for several reasons:
1. The formats were getting too extensive in formats.js, making it difficult to work with that file.
2. This allows to meet expectations of users who want better and more varying seasonals each month.
3. This allows for extra modification, making Seasonals more and more different and exciting.
4. This allows to test the limits of PS mod system.
2015-05-04 13:10:28 -05:00
SolarisFox
99853a85a1 update help entries: /ds and /ms 2015-05-03 22:22:58 -07:00
Rhythms
110a0a2a91 Add a reply if there is no target in /data 2015-05-02 23:21:32 -06:00
Quite Quiet
910e30aa55 Add LC Ubers to search categories 2015-05-01 21:10:23 +02:00
The Immortal
6e5960a26b Update /om 2015-04-30 18:41:18 +04:00
Guangcong Luo
9e039072f3 Merge pull request #1836 from Morfent/trivia
Trivia plugin: add /help docs, more style fixes
2015-04-29 03:41:24 +00:00
Morfent
69be1d638b Trivia plugin: add /help docs, more style fixes
- Fix style on multiline strings
- Use double quotes for HTML
- Fix remaining bugs in trivia submission from bee3a73
2015-04-28 19:41:05 -03:00
Guangcong Luo
662902d8c0 Merge pull request #1825 from SolarisFox/patch-6
Improved /weak targeting
2015-04-28 19:00:59 +00:00
Konrad Borowski
4efd2ce60d Ignore status moves from /coverage
This makes it easier to put an entire moveset into a command without
having to worry about status moves being counted as real moves.
2015-04-28 09:40:54 +02:00
SolarisFox
d81e38880d Improved /weak targeting 2015-04-27 22:38:38 -07:00
Guangcong Luo
efee391072 Merge pull request #1832 from SolarisFox/patch-4
Grey font for 'None' with /weak
2015-04-28 05:12:04 +00:00
Guangcong Luo
ebee51f87e Merge pull request #1829 from SolarisFox/patch-5
Add snatch, gravity and mirror flag to /dt
2015-04-28 05:11:48 +00:00
SolarisFox
110aab9e7c Grey font for 'None' with /weak 2015-04-27 16:07:10 -07:00
SolarisFox
734475b96b Add snatch, gravity and mirror flag to /dt 2015-04-27 16:01:02 -07:00
Guangcong Luo
afb3549176 Merge pull request #1824 from SolarisFox/patch-4
add /coverage
2015-04-27 09:15:40 +00:00
SolarisFox
c031ac6bd2 add /coverage 2015-04-27 00:42:37 -07:00
Ivo Julca
00f6c0faf7 Style fixes 2015-04-26 00:26:13 -05:00
SolarisFox
2f4b511b42 refactor /help 2015-04-25 00:44:14 -07:00
SolarisFox
336cbc462a Move config/commands.js to chat-plugins 2015-04-25 00:44:07 -07:00
Guangcong Luo
f12931e9fd Move command API doc to chat-plugins/COMMANDS.md 2015-04-24 23:51:38 -05:00
sirDonovan
c80d541dcc Trivia plugin: fix /trivia help
Fix typos and line breaks
2015-04-22 04:31:41 -05:00
Morfent
bee3a73559 Trivia plugin: optimize question handling...
Binary searches are now used instead of linear ones when splicing
questions in and slicing all the questions in a category from the
questions arrays. Stalemates are now handled after scoring answers
instead of just before asking a question.
2015-04-17 07:23:01 -03:00
Morfent
3aada3608b Trivia plugin: fix crashes from question submission 2015-04-16 22:35:18 -03:00
Joimer
b480deb2d2 Fix typo in Trivia ladder function 2015-04-15 00:49:55 +02:00
sirDonovan
376406aadd The Studio plugin: fix crashes and nominations 2015-04-14 02:29:36 -05:00
Morfent
41b4c3cbc1 Trivia plugin: optimize ladder updates, bug fixes
- the ladder is now saved in triviadata.json, and gets updated at the
  same time ranks do instead of needing to loop through the leaderboard
  once more
- Trivia.inactivityCounter clears properly on answer
- number and timer modes accept multiple answers again
- added question and intermission timeout consts
- Trivia property names are more specific
2015-04-12 17:40:12 -03:00
Morfent
3fd7efebf1 The Studio plugin: fix /aotd end 2015-04-11 22:49:28 -03:00
Ivo Julca
f6146b1a6d Plugin AotD: support io.js without es6-shim 2015-04-11 20:38:12 -05:00
Konrad Borowski
d87a307796 Allow | as alternate separator for /starthunt. 2015-04-11 15:29:34 +02:00
Morfent
89ccdd5203 Trivia plugin: fix rank sorting, levenshtein answers 2015-04-07 07:47:59 -03:00