The Immortal
e6ae62f6e4
Fix mega evolution mechanics
...
In Hackmons, Mega Charizard Y can mega evolve into Mega Charizard X, for example
2014-08-03 23:35:09 +04:00
Ivo Julca
e14cb84f0e
Mold Breaker nullifies the ability of dragged-in pokemon
2014-07-31 01:16:56 -05:00
V4Victini
0186a3a1c9
Add Sexytuple Effectiveness
...
Up to 64x Resists and 64x Weaknesses
2014-07-27 20:03:57 -04:00
V4Victini
2ae9d3d229
Merge pull request #920 from Slayer95/illusion
...
Remove illusion on forme change
2014-07-22 10:11:19 -04:00
Slayer95
3f567f9faa
Revert "Send source effect data to the client on pokemon.cureStatus"
...
This reverts commit 82b8a48ba4 .
2014-07-20 16:36:16 -05:00
Slayer95
7c4ffd2365
Send 'silent' attribute on swapPosition for auto-centering
...
Also refacor battle.swapPosition a bit to use more generic arguments.
2014-07-17 06:21:19 -05:00
The Immortal
4f9f48bf27
Revert "Remove redundant check in auto-centering"
...
This reverts commit 86b49322f5 .
2014-07-17 14:31:31 +04:00
Slayer95
82b8a48ba4
Send source effect data to the client on pokemon.cureStatus
2014-07-17 05:28:02 -05:00
Slayer95
86b49322f5
Remove redundant check in auto-centering
2014-07-17 05:05:18 -05:00
Slayer95
2b082a479c
Finish implementation of linked volatiles
2014-07-15 02:49:06 -05:00
Slayer95
26edd63959
Make sure that switched out pokemon get their moves cancelled
...
There are several issues alike to the one fixed in 62611b926b
2014-07-13 06:54:18 -05:00
The Immortal
0e262a40ae
Add triples center message
2014-07-13 15:45:27 +04:00
Slayer95
4c8df32744
Merge branch 'triples'
2014-07-09 22:29:18 -05:00
Slayer95
be8ab7a213
Fix player disconnection ending turns prematurely
2014-07-07 15:25:08 -05:00
Slayer95
91a5429929
Add Triples Custom Game format
2014-07-03 23:44:23 -05:00
Slayer95
dd44cf3e2a
Mummy reveals the ability the affected pokemon had
2014-06-23 17:52:27 -05:00
Slayer95
937a79489b
Items can be taken from fainting targets
2014-06-23 17:13:41 -05:00
Slayer95
a7efa2c350
Make sure that moves restricted to adjacent targets have valid targets
...
Also Helping Hand's targetting is not hard-coded anymore.
2014-06-16 17:28:30 -05:00
Slayer95
bbcf60cd71
Support leaving empty slots when switching multiple mons in
...
This happens in Doubles or Triples if, in a single turn, more pokemon faint than can switch in.
This commit introduces two changes. Namely:
- If more pokemon faint in a single turn than can switch in, those with the higher positions now can have switch flags on.
- Passing a switch is now a valid decision that gets added to battle queue with maximum priority and disables the pokemon's switch flag.
As a side effect, this also allows running the battle engine in JS strict mode.
2014-06-16 17:26:17 -05:00
Slayer95
3ddddc3333
Triples: implement autocenter
2014-06-16 17:11:54 -05:00
Slayer95
ce8dde79b7
Shifting is now a valid decision in Triples
2014-06-16 17:09:04 -05:00
Slayer95
3e1df13e8e
Remove a check from prior work on Triples
2014-06-16 17:05:57 -05:00
Guangcong Luo
136cbf8317
Correct faint order for Final Gambit
2014-06-12 13:37:40 -04:00
Slayer95
6a48ce030d
Tweaks for adjacency check methods
2014-06-12 02:02:37 -05:00
Slayer95
a103efee91
Swap: send the target position to the client
2014-06-10 14:53:43 -05:00
Guangcong Luo
9d884372b0
Properly fix faint order for Iron Barbs etc
2014-06-09 06:37:14 -04:00
The Immortal
e89eb3b0fd
Revert "Fix faint order for Iron Barbs etc"
...
This reverts commit e94940cd5f .
2014-06-09 13:43:35 +04:00
Guangcong Luo
b5d0c0b190
Merge pull request #993 from Slayer95/pursuit
...
Fix Gen 4 Pursuit
2014-06-09 03:20:03 -05:00
Guangcong Luo
e94940cd5f
Fix faint order for Iron Barbs etc
2014-06-09 04:16:35 -04:00
Guangcong Luo
9fa425bff1
Refactor selfdestruct faint order fix
2014-06-09 04:14:54 -04:00
Slayer95
8f012febb7
Fix Gen 4 Pursuit
2014-06-09 02:43:20 -05:00
V4Victini
bd959a6965
Last Pokemon to faint wins.
2014-06-08 22:52:30 -04:00
Guangcong Luo
75bb5dd186
Fix Explosion faint order
2014-06-08 22:37:38 -04:00
Slayer95
79f83f1d2c
Fix prevention of Arceus´ setType
2014-05-31 19:40:34 -05:00
Slayer95
fdbafd81f7
Fix message on Gooey´s activation
2014-05-17 01:28:10 -05:00
Slayer95
5d82f38b41
Fix recoil for multihit moves
...
- Recoil for Parental Bond Double Edge, etc should happen after all the hits have finished.
- Also removed the event 'Secondary', currently unused in the codebase.
2014-05-14 13:30:12 -05:00
Slayer95
7602236814
Escape HTML in crash reports
...
This has been overlooked for a while.
Directly calling sugar.js strings' escapeHTML method to avoid further crashes if Tools.escapeHTML is missing for any reason.
2014-05-12 23:04:45 -05:00
Guangcong Luo
5a4c5bd614
Merge pull request #931 from Slayer95/stats
...
Update client pokemon stats on forme change
2014-05-12 22:37:47 -05:00
Slayer95
b025743d34
Global 'sanitize' is now 'escapeHTML' method of Tools
2014-05-12 20:52:29 -05:00
Slayer95
d035b2ac07
Update client pokemon stats on forme change
2014-05-12 20:03:38 -05:00
Slayer95
f318c1e652
Remove illusion on forme change
2014-05-10 16:41:31 -05:00
Slayer95
4adada6853
Fix some bugs with mega evolution graphics
...
- Don't play the forme change animation when switching in.
- Fix interaction with illusion in the base forme (http://replay.pokemonshowdown.com/almostanyability-117184227 Turn 11)
2014-05-06 15:35:12 -05:00
Slayer95
70ebbf1fd6
Pass target location to ´beforeTurnCallback´
...
This fixes Assurance sometimes failing to track damage dealt in the turn.
2014-05-03 16:32:51 -05:00
Guangcong Luo
a14c16e899
Locked moves aren't targetable
2014-04-25 01:12:30 -04:00
小太
5c8fc7b982
Space after function for anonymous functions
2014-04-22 01:58:16 +10:00
小太
6fb3bc332a
Spaces around operators and === instead of ==
2014-04-22 01:56:11 +10:00
小太
6c6f5c1eb4
Remove all trailling whitespace
2014-04-21 18:58:09 +10:00
Guangcong Luo
9f87e79e51
Merge pull request #836 from Slayer95/master
...
Remove some globals
2014-04-18 19:15:55 -05:00
Slayer95
05e7060474
Deprecate 'toUserid' global
...
Replaced by 'toId'.
2014-04-18 16:49:16 -05:00
Slayer95
3fc36ef80f
'clampIntRange is now a method of 'Tools' and no longer global
2014-04-18 15:14:54 -05:00