MacChaeger
9e69f16157
Fix Defog messages ( #4198 )
2017-12-01 07:41:24 -06:00
Marty-D
eca56a211a
Fix crash in past gen Metronome
2017-11-30 21:46:59 -05:00
Marty-D
8e41dd75e4
Clarify Photon Geyser descriptions
2017-11-30 21:27:18 -05:00
XnadrojX
024c2ce7ac
Gen I-II: Fix accuracy calculations and BrightPowder ( #3926 )
2017-11-30 21:12:59 -05:00
Guangcong Luo
9bdf674d5f
Refactor more tables to arrays
...
See #4079
Now we're just missing oldgens.
2017-11-30 19:40:16 -06:00
Marty-D
c4124dafcc
Add Johto X Alola
...
Closes #4195
2017-11-30 17:56:25 -05:00
Guangcong Luo
e73cd9dbc2
Update Healing Wish test summary
2017-11-30 11:00:15 -06:00
Guangcong Luo
8473c3f4fa
Improve test engine
...
New functions:
battle.makeChoices([side 1], [side 2]);
Intended to be a replacement for the previous .choose/.commitDecisions
API.
If we can get all the test code on it, we can maybe finally actually
deprecate LEGACY_API_DO_NOT_USE.
It's now used in Healing Wish, where I think it makes a very readable
test.
2017-11-30 10:56:01 -06:00
Guangcong Luo
97d773226a
Support switching to pokemon by name
2017-11-30 10:56:01 -06:00
Guangcong Luo
80c9a7c5a1
Fix Healing Wish properly
...
Broken in #4120
2017-11-30 10:39:21 -06:00
Guangcong Luo
901ff2bd4d
Fix Gen 4 Healing Wish and Lunar Dance
...
...?????
Has this code ever worked in the past?
2017-11-29 21:24:36 -06:00
Marty-D
5a8e98d896
Make Ion Deluge fail all the time
...
Pending version 1.1
2017-11-29 13:33:41 -05:00
Guangcong Luo
9b04903ec4
Fix Gen 2 Present
2017-11-29 09:06:52 -06:00
Enigami
993e036d14
Fix Gen 2 Present ( #4192 )
2017-11-29 08:05:40 -06:00
Charlie Kobayashi
50d60511ef
Scavengers: update filter, add /inherithunt ( #4194 )
...
- In preparation for UGM - make it possible for staff to inherit hunts started from queue
2017-11-29 07:42:33 -06:00
Kevin Lau
484f2a556b
Random Battle: Tweak Lycanroc slightly ( #4191 )
...
- Lycanroc-Midday learns Drill Run.
- Lycanroc-Midnight learns Fire Punch.
2017-11-29 03:37:57 +08:00
Guangcong Luo
1d41e73199
Formatter: Change rel="noopener" output
...
The client now interprets `rel="noopener"` to mean "check links for
interstice whitelist", and bypasses the interstice if it's not there.
This is is the best approach for [[google links]] to bypass the
interstice, while not whitelisting all of Google because Google
redirects are not generally trustworthy.
2017-11-28 09:53:21 -06:00
Guangcong Luo
80dc2065b7
Remove redundant escapes in linkRegex
2017-11-28 09:48:17 -06:00
Bär Halberkamp
f802fbc114
Set isTrusted to true for the appropriate uses of Chat.formatText
2017-11-28 16:39:57 +01:00
Bär Halberkamp
5b542c5f4c
Formatter: re-implement [[pokemon: name]] and [[item: name]]
2017-11-28 16:34:48 +01:00
Bär Halberkamp
7bf5a179dd
Display ip-based punishments on /ip ( #4178 )
...
Also adds Punishments.punishmentTypes, mirroring Punishments.roomPunishmentTypes
2017-11-28 08:49:09 -06:00
Guangcong Luo
fda5ab4fcc
Support paren spans in chat formatter
...
This mainly adds support for parenthetical spoilers:
(parenthetical spoiler: these)
They'll be useful for closing any other autoclosing spans in the
future, but currently spoiler is the only one.
2017-11-28 08:34:21 -06:00
Guangcong Luo
3c5b4ca0fb
Formatter: Fix parsing for [[wiki: links]]
2017-11-28 08:34:21 -06:00
Guangcong Luo
d0f66895c3
Update text formatter link syntax
...
Now matches old link syntax [[Text <uri>]]
Also now supports alternate search engines [[wiki: Text]]
2017-11-28 07:59:51 -06:00
Guangcong Luo
45dd012840
Refactor chat-formatter main loop
...
The new loop makes the loop invariant a lot easier to enforce, although
it makes certain parts less readable.
2017-11-28 07:17:36 -06:00
Guangcong Luo
a2d496c947
Require two `` for code formatting
...
For now, the single-backtick formatting might have conflicts with ASCII
art, so it's being pulled pending further investigation.
2017-11-28 06:11:45 -06:00
Marty-D
3cd34bc8e0
Fix crash in Challenge Cup
2017-11-27 23:01:43 -05:00
Kris Johnson
7752819078
AAA: Naganadel is not banned ( #4190 )
2017-11-27 20:27:13 -05:00
Marty-D
7c738b6d42
Add CAP 23: Pajantom
2017-11-27 20:26:32 -05:00
Guangcong Luo
65517f279c
Rewrite chat formatter
...
This new version supports significantly more client chat formatting
than before, and is more readable.
Also new: the `code` formatting now uses basically the same system as
Markdown, where you can use as many `` ` `` in a row as you want as
your delimiter.
2017-11-27 12:16:15 -06:00
The Immortal
752e006727
Random Battle updates
2017-11-27 22:47:49 +08:00
Kris Johnson
69f23fe73a
Random Battles: Update movesets ( #4189 )
2017-11-27 17:16:11 +08:00
urkerab
b18d004959
Allow other legal forms in Challenge Cup ( #4188 )
2017-11-27 17:12:13 +08:00
urkerab
cebac2b5bb
Dancer should activate during other two-turn moves ( #4186 )
2017-11-26 17:13:17 -05:00
urkerab
cb8e24a66b
Revert to Sun/Moon Alola Pokedex for VGC 2017 ( #4187 )
2017-11-26 17:07:47 -05:00
Marty-D
3818165742
Fix Sky Drop interaction with first-turn effects
...
Sky Drop's effect of preventing the target from executing an action for the turn behaves much like the Shift command from Triples, as explained in 3d51664f30 .
Thanks, DaWoblefet!
2017-11-26 14:17:45 -05:00
Marty-D
197e821e98
OU: Ban Naganadel
2017-11-26 11:33:49 -05:00
Marty-D
a41289c523
Learnsets: Remove Punishment from Murkrow
...
Head Smash Nosepass strikes again
2017-11-26 11:33:21 -05:00
urkerab
53ef680bcf
Put Rockruff-Dusk's template into the cache ( #4185 )
2017-11-26 10:02:46 -06:00
urkerab
a4292f5e1b
Use isNonstandard to detect CAP Mega Stone(s) ( #4184 )
2017-11-26 10:02:15 -06:00
Guangcong Luo
081b8301ce
Remove bad command alias
...
/move is a core feature used for choosing moves in the sim.
2017-11-26 06:01:07 -06:00
Ben Davies
cf16bd480d
Trivia: fix Trivia#formatPlayerList
2017-11-26 02:46:55 -04:00
Kris Johnson
26cded70a8
othermetas.js: Add /stone ( #4182 )
...
I couldn't use `Chat.getDataPokemonHTML`, `Chat.getDataItemHTML`, or
`Chat.getDataMoveHTML`, as this required elements that none of those
fully provide.
2017-11-26 14:33:12 +08:00
urkerab
aea93f25db
Fix set name in validation reasons ( #4181 )
2017-11-25 19:08:06 -06:00
Kris Johnson
11104fcbe7
Fix incorrect error messages in /mnm ( #4180 )
2017-11-25 16:26:30 -06:00
Marty-D
792cbeaeab
Update Gen 3 event Pokemon
2017-11-25 10:40:20 -05:00
Marty-D
5727d006af
Release Raikou/Entei/Suicune's Hidden Ability
2017-11-25 08:56:47 -05:00
Marty-D
aebe3634cc
Learnsets: Remove Crystal-only VC egg moves
2017-11-24 20:13:54 -05:00
CheeseMuffin
0b3e09b06a
Fix generation for totem mons ( #4177 )
2017-11-24 18:56:33 -06:00
Honko
e671fdb33e
Gen 3 Randbat updates ( #4144 )
2017-11-24 18:55:33 -06:00