Commit Graph

2427 Commits

Author SHA1 Message Date
The Immortal
511cae6cf2 Merge pull request #475 from sobolews/teambuilder-validate
Add a validate button to the teambuilder
2015-09-19 21:12:28 +04:00
Carl Sobolewski
6855770aa6 Add a validate button to the teambuilder
The validate button sends the current team and a validation request to the
server. The server will respond with a positive acknowledgement for valid teams,
or else a list of problems (the same list as when seeking a battle).
2015-09-19 01:19:13 -06:00
Guangcong Luo
7decf26cc5 Merge pull request #469 from urkerab/name-colour-preview
Preview your username colour as you type
2015-09-18 20:44:34 -05:00
urkerab
d54911cfe2 Preview your username colour as you type 2015-09-18 21:41:28 +01:00
Guangcong Luo
02b80949b6 Merge pull request #471 from Layell/patch-18
Skip past gen backgrounds with modern sprites
2015-09-18 00:40:59 -05:00
Marty-D
64f7e100a6 Teambuilder: Set default level for VGC formats 2015-09-17 23:13:15 -04:00
Layell
be571ebb01 Skip past gen backgrounds with modern sprites
Gen 4 patch before this pull: http://i.imgur.com/lKK4542.png
After: http://i.imgur.com/7mJa8om.png

The past gen backgrounds were never intended to be used with gen 5/6 animated sprites due to formatting with the popup textboxes. Plus it looks weird.

I have also removed bg.jpg as the only background that would appear for gen 5 matches and restored it to the variety of backgrounds that gen 5 matches used prior to gen 6 and custom past gen backgrounds.

Background loading and placement changes

Update battle.js

Update battle.js

Skip past gen backgrounds with modern sprites

Skip past gen backgrounds with modern sprites

Skip past gen backgrounds with modern sprites
2015-09-17 23:10:59 -04:00
Guangcong Luo
a3650647e8 Merge pull request #477 from urkerab/pm-chatbox-keys
Support additional keys in PM chatboxes
2015-09-17 15:28:15 -05:00
Guangcong Luo
12c9b3d570 Merge pull request #356 from Joimer/variable-moves
Make move types and base power match battle status
2015-09-17 15:23:12 -05:00
urkerab
969f77e2e7 Support additional keys in PM chatboxes 2015-09-17 14:09:21 +01:00
Juanma Serrano
72a8d6081b Make move types and base power match battle status
Enhaced the battle tooltips to show more accurate information.
Move Type and Base Power are volatile and thus information is often not accurate.
This commit enhaces battle tooltips to display move type and base power changes.
When a Plate is active, it will change the type of Judgment.
When a Drive is active, it will change the type of Techno Blast.
Other items changing type and base power will reflect their changes.
Moves that have a deterministic varying base power will show the current
base power, not taking into account switches, etc.
In doubles, moves that have different base power on different targets will
show the difference.
There are annotations for special effects like Nature Power.
Display that on the move selector to help players know and remember what
attack type they're using and what power they have.

This commit also intends to make code readable, making all lines changed
span the soft limit of 90 characters.
2015-09-17 10:48:41 +02:00
Guangcong Luo
a1cf85a0ad Merge pull request #473 from urkerab/instant-replay-withdraw
Instant replays should not withdraw
2015-09-15 04:07:16 -05:00
urkerab
d4b6af3adb Instant replays should not withdraw 2015-09-15 09:20:44 +01:00
Guangcong Luo
0309839200 Merge pull request #474 from ascriptmaster/move-fixes
Allow -transform message handler to check [from] tags for Abilities
2015-09-14 19:19:21 -05:00
Kevin Lau
8178b2be90 Allow -transform message handler to check [from] tags for Abilities 2015-09-14 17:06:33 -07:00
Guangcong Luo
1c5afbd4b2 Merge pull request #468 from sobolews/rematch-tier
Rematch button: default to the same tier as previous battle
2015-09-12 22:46:50 -05:00
Carl Sobolewski
107d654d42 Rematch button: default to the same tier as previous battle 2015-09-12 14:50:35 -06:00
Guangcong Luo
3237d00121 Merge pull request #467 from urkerab/export-select
Automatically select when exporting
2015-09-11 13:21:15 -05:00
urkerab
5ca7d22282 Automatically select when exporting 2015-09-11 12:42:19 +01:00
Guangcong Luo
59a0fde5b8 Update sorting of custom ranks
They're now on par with Player instead of Driver.
2015-09-11 00:06:18 -04:00
Guangcong Luo
f4ff8d70c6 Merge pull request #465 from urkerab/esc-close-popup
Close the popup when the Escape key is pressed
2015-09-09 12:25:59 -05:00
Guangcong Luo
e8e3d817e3 Merge pull request #466 from urkerab/minimize-news
Make it possible to minimise the Latest News box
2015-09-09 12:25:32 -05:00
Guangcong Luo
ddcf30364c Merge pull request #451 from urkerab/setcell-item
Make teambuilder more resistant to zoom changes
2015-09-09 12:20:35 -05:00
urkerab
a1c674851a Make it possible to minimise the Latest News box 2015-09-09 12:33:09 +01:00
urkerab
39ffaf0864 Close the popup when the Escape key is pressed 2015-09-09 09:20:14 +01:00
Marty-D
f84a2e93e7 Merge pull request #464 from QuiteQuiet/renders
Correct Diancie dimensions
2015-09-07 18:40:49 -04:00
Quite Quiet
8730c39317 correct diancie dimensions 2015-09-07 23:24:14 +02:00
Guangcong Luo
f1cf55e5c8 Don't require items for formes in Hackmons 2015-09-07 15:50:13 -04:00
Guangcong Luo
144aeec99c Support gen 3 and gen 4 backgrounds
Credit to Layell for making these new backgrounds.
2015-09-07 15:49:52 -04:00
Guangcong Luo
d0b94b0ace Support new (OU) etc pseudo-tiers 2015-09-07 15:49:09 -04:00
Guangcong Luo
268ed72227 Sync data 2015-09-07 15:47:53 -04:00
Marty-D
b7f7ca6d64 Prevent Skill Swap from trying to display Abilties pre-Gen 5 2015-09-06 14:13:02 -04:00
Guangcong Luo
b6a99b897f Merge pull request #463 from urkerab/disconnect-notify
Display desktop notification on disconnect
2015-09-06 10:41:18 -05:00
urkerab
2c0fd2fefb Display desktop notification on disconnect 2015-09-06 09:58:05 +01:00
Guangcong Luo
66217c2e20 Merge pull request #459 from xfix/tour-scouting
Client side support for scouting protection
2015-09-05 12:06:15 -05:00
Konrad Borowski
6190879e88 Client side support for scouting protection 2015-09-05 14:31:45 +02:00
Guangcong Luo
ee87e0b5af Merge pull request #462 from xfix/symbol-regex-boundaries
Don't require boundaries for non-word characters
2015-09-03 18:27:49 -05:00
Guangcong Luo
f2deb92d52 Merge pull request #460 from yenatch/sethp
Fix the reported HP difference for -sethp.
2015-09-03 18:24:40 -05:00
Konrad Borowski
1b593da4e5 Don't require boundaries for non-word characters
This fixes an issue where highlight regular expression like :-?\)
couldn't match a smiley, unless it happened to have a word character
on both of its sides.
2015-09-03 15:46:22 +02:00
yenatch
9e8664f8c6 Fix the reported HP difference for -sethp.
-sethp would report the percentage of remaining HP as the difference. This would also always result in a positive delta, even if HP was lost.
2015-09-02 21:52:46 -07:00
Guangcong Luo
a02a93123a Merge pull request #457 from Layell/patch-16
Battle backgrounds gen 3 + 5
2015-09-01 10:33:01 -05:00
Layell
03b27291e1 Update battle.js 2015-09-01 08:34:02 -04:00
Slayer95
f9ca7fefd7 Merge pull request #458 from xfix/fix-room-titling
Make room title updates not crash the client.
2015-09-01 04:32:18 -05:00
Konrad Borowski
e68078193d Make room title updates not crash the client. 2015-09-01 11:06:36 +02:00
Guangcong Luo
ace15e882a Support nameless chat messages
These messages are used to support timestamps and highlighting in
certain places.
2015-09-01 03:23:53 -04:00
Layell
154a396df1 Battle backgrounds gen 3 + 5
Adding in the gen 3 bg, and fixing it so that gen 5 can use the rotating backgrounds that it could before.

Preview: http://i.imgur.com/qQB0mj5.png
2015-08-31 21:27:47 -04:00
Guangcong Luo
d739ee0a20 Merge pull request #456 from urkerab/optgroup
Display battle formats in groups
2015-08-31 16:46:00 -05:00
urkerab
4238e9a3e4 Display battle formats in groups 2015-08-31 16:43:15 +01:00
Guangcong Luo
76c6768b44 Merge pull request #454 from StAlRuth/markdown-compatibility
Quality of Life addition for users of Markdown-based forums
2015-08-28 23:27:23 -05:00
Stuart Rutherford
e1d3346502 Added copy/paste support for Markdown
Adds two spaces to the end of each line generated by the teambuilder's
text output.  This makes it possible to:
    - Copy and Paste a team into a site that uses a Markdown parser such
      as Github or reddit without worrying about formatting; and
    - Copy and Paste a team from one of the aforementioned sites back
      into Showdown with no effort aside from the Ctrl-C and Ctrl-V.
2015-08-28 22:20:42 +10:00