Commit Graph

1912 Commits

Author SHA1 Message Date
Guangcong Luo
fac38eae05 Merge pull request #150 from Joimer/patch-4
Ladderable 1VS1 Challenge Cup
2013-01-23 05:39:57 -08:00
TheImmortal
da60c928ba Cloyster & Keldeo events 2013-01-23 15:45:23 +04:00
Joim
93b7293fa6 Ladderable 1VS1 Challenge Cup
Adding Challenge Cup to the searcher, also debug's not necessary anymore.
2013-01-23 08:50:35 +01:00
Marty-D
88caef8914 Make sure multi-hit moves count each hit's damage separately. 2013-01-22 19:37:58 -05:00
Marty-D
8bbeabb1a9 Correct Magic Coat in Gen IV and V.
- Magic Coat can only bounce one move per turn in Gen 4, while in Gen 5
it stays active until the end of the turn.
2013-01-22 15:46:50 -05:00
Guangcong Luo
5d1e4a6c4b Fix more crashes relating to new stat code 2013-01-22 10:17:56 -08:00
Cathy J. Fitzpatrick
1513b26181 Change default jursidiction of bypassblocks
Previously, the default configuration allowed the % group and up
to bypass a user's challenge block preference according to each
respective group's default jurisdiction. This commit changes the
behaviour so that all groups with the bypassblocks permission can
bypass the challenge block of all groups, not just groups over
which they have default jurisdiction.
2013-01-22 06:38:12 -07:00
Cathy J. Fitzpatrick
d8dd6f2d6d Fix Choice Specs
Previously, the 'onModifySpA' method was misspelled as 'onModifySpa'.
2013-01-22 05:14:27 -07:00
Cathy J. Fitzpatrick
0d67aa1f35 Display helpful message for missing module
This should help users understand that they need to run npm install.
2013-01-21 21:15:20 -07:00
Guangcong Luo
e99a0d4c5e Consistently call the project 'Pokemon Showdown' in readme 2013-01-21 19:00:20 -08:00
Guangcong Luo
b49b86a1ab Fix a bunch of bugs in the stats refactor 2013-01-21 15:24:16 -08:00
Marty-D
7490af2692 Fix Swallow healing. 2013-01-21 17:57:12 -05:00
TheImmortal
2e650d448a Flare Boost & Toxic Boost are BP modifiers 2013-01-22 01:04:35 +04:00
Marty-D
9dc97b3940 Fix Soul Dew's boosts. 2013-01-21 16:02:16 -05:00
TheImmortal
215cd108ee Fix Relic Song transforming Meloetta twice
- It incorrectly transforms twice in doubles due to being a spread hit
2013-01-22 00:45:29 +04:00
Guangcong Luo
b0de79f26f We're using the PS rules page again 2013-01-21 12:36:15 -08:00
Guangcong Luo
8065551115 Fix avatars 2013-01-21 11:54:32 -08:00
Guangcong Luo
7fa7f24a39 Refactor how stats are calculated
They're now read on-the-fly instead of being recalculated and cached
every update.
2013-01-21 11:49:22 -08:00
Guangcong Luo
4cb0bc7ca5 Marty and MJB get custom avatars 2013-01-21 11:49:21 -08:00
Guangcong Luo
211c499ea6 Finish the renaming for challengeblock code 2013-01-21 11:49:21 -08:00
Guangcong Luo
1a275479a2 Refactor runEvent for readability 2013-01-21 11:49:21 -08:00
Cathy J. Fitzpatrick
31faa73e96 Refactored getTarget and validTargetLoc. 2013-01-21 07:44:35 -07:00
Guangcong Luo
a5f0e5f9b5 Fix naming conventions on challengeblock code 2013-01-21 05:57:47 -08:00
Guangcong Luo
630def7aec Merge pull request #148 from Joimer/patch-2
Updated /help, added permission so auths can challenge through /bc
2013-01-21 05:03:27 -08:00
Joim
547dcd1ac3 Added permission to be able to challenge /bc
Added permission for auths to be able to challenge users in /bc
2013-01-21 13:00:47 +01:00
Joim
b34bf1796f Allowing auth to challenge users in /bc
Added auth check so they can challenge users in /bc.
2013-01-21 12:59:27 +01:00
Joim
8cc6e95a40 Updated /help, added auth can challenge /bc users
Updated /help to show all about /faq, added the ability for auth to challenge users in /bc after popular request.
2013-01-21 12:56:22 +01:00
Cathy J. Fitzpatrick
6b16dd6139 Fix redirection of randomNormal target moves.
Previously, Follow Me (and anything else that redirects moves, such as
various abilities) was unable to redirect the target of a
'randomNormal' target move, because validTargetLoc() always returned
false for a 'randomNormal' type move; this reflects the fact that the
client is not allowed to specify the target for such a move, because it
is chosen randomly. However, the internal game logic does need to be
able to specify a target for 'randomNormal' moves.

This commit adds a new parameter to validTargetLoc that specifies whether
the proposed target was chosen by the client or by the internal game logic.
If the proposed target was chosen by the internal game logic, then the same
targeting rules apply as in the case of a "normal" target move.

Note that it is necessary to add this new parameter, rather than just making
'randomNormal' behave the same as 'normal', because without the userSelected
check, a user could send a crafted choice string to the server specifying a
target for a 'randomNormal' move, and the server would respect the choice.
This implementation correctly prevents the client from specifying the target
of a 'randomNormal' move.
2013-01-21 00:04:21 -07:00
Guangcong Luo
f1f3040aeb Merge pull request #145 from Joimer/patch-1
Adding 1vs1 Challenge Cup to test via challenge
2013-01-20 06:27:09 -08:00
TheImmortal
136c78cce5 Fix error in previous scripts.js commit 2013-01-20 17:32:51 +04:00
Joim
82fd387692 Adding 1vs1 Challenge Cup to test via challenge
Adding wished for Challenge Cup 1 vs 1. First only available via challenge.
2013-01-20 13:01:39 +01:00
TheImmortal
e4db12341f Update descriptions for items now obtainable 2013-01-20 01:40:27 +04:00
TheImmortal
4e5137b78a Randbats script updates
- Reject Relic Song with setup
- Reject Encore/Pursuit/Stealth Rock/Sucker Punch with RestTalk
- Reject Hydro Pump with Razor Shell/Scald
- Reject Flamethrower with Blue Flare
- Reject Bonemerang/Earth Power with Earthquake
- Make Wynaut/Wobbuffet get Custap Berry 50% of the time with Destiny Bond
- Add the possibility of getting Lum Berry with Outrage
2013-01-19 21:17:03 +04:00
Marty-D
9e89524d8f Update several move descriptions. 2013-01-18 18:48:22 -05:00
Guangcong Luo
61fbbcf6f0 Merge pull request #143 from Joimer/patch-3
Added single Faq link for !faq, staff faq
2013-01-18 08:18:54 -08:00
Joim
8c9f833f73 Added single Faq link for !faq, staff faq
Added a single FAQ link for !faq and the main link for !faq all as well as staff faq.
2013-01-18 17:04:32 +01:00
Guangcong Luo
48cf4df85f We no longer need a decay FAQ 2013-01-18 07:44:13 -08:00
Guangcong Luo
e4eeb4b380 Fixes for Joim's buggy !faq command 2013-01-18 07:38:00 -08:00
Guangcong Luo
8e3ae6bade Merge pull request #138 from MJB47/patch-12
Tornadus T is now uber
2013-01-18 07:14:34 -08:00
Guangcong Luo
d7088e0c9a Merge pull request #139 from MJB47/patch-13
OU suspect test is over
2013-01-18 07:14:28 -08:00
Guangcong Luo
d7045a0076 Merge pull request #141 from Joimer/patch-4
Aliases for /bc /ac, ban bug fix, /help update
2013-01-18 07:14:14 -08:00
Joim
5536122512 Aliases for /bc /ac, ban bug fix, /help update
-/idle is a new alias for /blockchallenges (familiar to PO users) and /back is its counterpart, alias for /allowchallenges.
-/help has been updated to show challenges commands and forcerename and alts are now listed under drivers commands.
-Offline users can now be banned with a reason.
-Added /um as alias for /unmute
-Adding FAQ link to !intro
-Typo fixed
2013-01-18 16:03:07 +01:00
Guangcong Luo
839aecebc2 Smogon Tournament approved timer for unrated battles 2013-01-17 19:36:02 -08:00
Guangcong Luo
1c9f509ecd Merge pull request #140 from Joimer/patch-2
Adding warning to all blocked challenges
2013-01-17 16:54:10 -08:00
Joim
b85e056704 Adding warning to all blocked challenges
Added a warning to the user whose challenge gets blocked
2013-01-17 19:29:01 +01:00
TheImmortal
94a4b0946b Prevent CAP abilities in Hackmons/BH 2013-01-17 22:19:04 +04:00
MJB
f6774e38d8 OU suspect test is over 2013-01-17 14:53:15 +00:00
MJB
ec22951d0e Tornadus T is now uber 2013-01-17 14:51:13 +00:00
TheImmortal
1e14d8df07 Free Jaboca Berry 2013-01-17 18:44:20 +04:00
Guangcong Luo
9fd80b6050 We are now officially MIT Licensed 2013-01-17 05:00:28 -08:00