Commit Graph

3136 Commits

Author SHA1 Message Date
Guangcong Luo
cebaacb677 Merge pull request #1957 from ascriptmaster/move-fixes-2
Battle refactor: No longer reset negated immunity in pokemon.update()
2015-06-16 17:59:09 +00:00
The Immortal
ad7498296b Add Naviathan's hidden ability 2015-06-16 16:12:36 +04:00
The Immortal
991a92f0c9 Merge pull request #1972 from AustinXII/patch-8
Add gatr as an alias for Feraligatr
2015-06-16 12:49:12 +04:00
Kevin Lau
903853d91b Battle refactor: No longer reset negated immunity in pokemon.update()
Replace the pokemon.negateImmunity object with a new `NegateImmunity`
event that handles all the immunity negation.

Also deprecate 'IgnoreEffectiveness' in favor of having relevant moves
and items use `Effectiveness` event handlers instead.
2015-06-16 00:02:06 -07:00
Bryan AA
acacbf32ae Add new alias for formats 2015-06-15 18:39:59 -06:00
AustinXII
d3a14a6f3e Add gatr as an alias for Feraligatr
this is used heavily by most if not all UU players
2015-06-15 18:08:05 -06:00
Ivo Julca
2bae97db67 Battle Factory: support similar sets' sharing probability mass 2015-06-14 01:15:32 -05:00
The Immortal
e9006768f0 Merge pull request #1955 from SolarisFox/patch-5
Randoms: Allow Mono-Attack Setup with BP, change Venomoth movepool
2015-06-13 22:35:12 +04:00
SolarisFox
4770a2cad0 Randoms: Venomoth -Psychic +Substitute 2015-06-13 11:21:16 -07:00
SolarisFox
63a3eb20c5 Randoms: Allow Mono-Attack Setup with BP 2015-06-13 11:20:48 -07:00
Marty-D
0fc6807d3a Fix Pledge moves' interaction with Gems 2015-06-13 12:24:01 -04:00
Marty-D
081e288f57 Fix Pledge moves' interaction with redirection Abilities 2015-06-13 12:10:03 -04:00
The Immortal
ca581b9e29 Random Battle: Prevent Zen Headbutt with Psyshock 2015-06-13 18:59:58 +04:00
The Immortal
7c75d3494d Merge pull request #1954 from Bryan-0/patch-24
Add pika as a alias of Pikachu
2015-06-13 14:49:31 +04:00
Guangcong Luo
cf112d1d3c Merge pull request #1945 from Slayer95/jscs-rules
Implement custom JSCS rules to enforce code style
2015-06-13 06:18:24 +00:00
Bryan AA
98dfb89db6 Add pika as a alias of Pikachu 2015-06-12 22:17:28 -06:00
The Immortal
5e079da138 Random Battle: Give Wobbuffet a chance to get Custap Berry 2015-06-13 03:00:03 +04:00
Marty-D
3a8bad7811 Correct message for sub blocking Status moves 2015-06-12 17:43:33 -04:00
Ivo Julca
f18eef39ca Fix Travis build 2015-06-12 03:41:22 -05:00
Marty-D
4f006f817d Disambiguate Kee and Maranga descriptions 2015-06-11 23:25:34 -04:00
Marty-D
ec06537531 Fix Kee and Maranga Berries
Who would have thought?
Bonus: Fixes Kee Berry's interaction with Knock Off
2015-06-11 13:25:51 -04:00
The Immortal
ae94ce4cc2 Update CC formats
Per Smogon, “Challenge Cup” is keeping its old meaning. Renaming the
new CC to Hackmons Cup.
2015-06-10 13:35:39 +04:00
AustinXII
449cacbfd1 Ban Magneton from NU
70.2% of the voting for the nu suspect have voted ban.
2015-06-09 21:58:53 -06:00
Ivo Julca
26680768eb Properly handle failure of multitarget moves
- On failure, they will no longer trigger the `AfterMoveSecondarySelf` event. It was a common pattern to check for success on its handlers, so this removes some duplication.
- All failed moves will now run any set `MoveFail` single events.
- Life Orb will now harm the holder if a successful attack did 0 damage (e.g. False Swipe on a 1 HP target).
2015-06-09 19:31:11 -05:00
Marty-D
cbd28a5c7a Show correct message on powder immunity 2015-06-09 17:20:54 -04:00
Konrad Borowski
3fd7d49f56 Ban Reuniclus and Noivern from RU 2015-06-09 07:14:09 +02:00
Ivo Julca
a231aa9690 Fix Life Orb harming the holder on multitarget moves' failure 2015-06-08 01:43:41 -05:00
The Immortal
3e3f2ad7cc Fix Color Change 2015-06-08 00:35:07 +04:00
Marty-D
ad00529215 Fix Life Orb
- All attacking moves except OHKO moves now take recoil correctly
(except Bide... TODO)
- Thief effects stealing a Life Orb now take recoil correctly
2015-06-07 15:49:38 -04:00
Marty-D
3f997d71dd Ensure confusion damage does not break Illusion 2015-06-06 23:43:21 -04:00
Marty-D
a263bdbfd8 Merge pull request #1921 from ascriptmaster/move-fixes
Sleep Talk cannot call Belch
2015-06-06 18:36:36 -04:00
Kevin Lau
f8d3cb884f Sleep Talk cannot call Belch 2015-06-06 15:34:52 -07:00
Guangcong Luo
e656c83fbc Fix Focus Sash and Confusion interaction 2015-06-06 17:56:39 -04:00
Kevin Lau
48a9a91cdf Fix Smack Down and Thousand Arrows' interaction with Fly/Bounce
They were forcing the Pokemon to attempt to use Fly/Bounce again.
2015-06-06 00:47:11 -07:00
The Immortal
bd700cad85 Add CAP 20: Naviathan
TODO: Improve Random Battle moves once we get an idea of what sets it
runs
2015-06-06 01:18:21 +04:00
Juanma Serrano
a68086e526 Ban Landorus from OU
b-bye ;_;
2015-06-05 10:01:50 +02:00
Kevin Lau
c74e1b7991 Slightly tweak Misty Terrain
It would have halved damage from Dragon moves against semi-invulnerable
Pokemon if No Guard or Lock On was involved.
2015-06-04 10:10:55 -07:00
Marty-D
29e56b1043 Fix confusion timing after rampage moves
- Gen 1, 2, 5, and 6 cause confusion immediately after the move on the
last turn
- Gen 3 and 4 cause confusion at the end of the turn on the last turn
2015-06-04 09:55:30 -04:00
Marty-D
703ee2e76e Merge pull request #1913 from ascriptmaster/move-fixes
Belch cannot be selected if the Pokemon has not eaten a berry
2015-06-04 09:37:19 -04:00
Kevin Lau
038d4e91fe Belch cannot be selected if the Pokemon has not eaten a berry
https://www.youtube.com/watch?v=paMtFIVWRkQ&t=6m33s
2015-06-03 20:04:13 -07:00
The Immortal
6d904e9096 Random Battle: Fix Megas being removed in d279b2ded5 2015-06-03 23:13:02 +04:00
AustinXII
c17b9b2913 Bring Gallade to NU
with the lower than 1.7% usage Gallade has dropped to NU
2015-06-02 13:40:09 -06:00
Kevin Lau
d279b2ded5 Restrict Stealth Rocks on Random Battle Teams to 2
Refactor set generation function to use a new parameter `teamDetails` to
keep track of more than just whether there shouldn't be a Mega Evolution.
2015-05-31 17:52:42 -07:00
Marty-D
aab6d24bb2 Correct a few "events" from Pokémon XD 2015-05-29 14:27:00 -04:00
Marty-D
4749def28b Add Johto starter prizes from Pokémon XD 2015-05-29 11:58:59 -04:00
Guangcong Luo
5be489504d Fix Razor Wind in Doubles 2015-05-29 00:02:33 -04:00
Guangcong Luo
066b1d6828 Merge pull request #1865 from ascriptmaster/move-fixes
Battle refactor: No longer reset ignore in Battle#update
2015-05-27 01:11:34 +00:00
Guangcong Luo
b7aa629703 Merge pull request #1889 from ascriptmaster/move-fixes-2
Battle refactor: New function isGrounded(), bug fixes
2015-05-26 07:09:19 +00:00
Guangcong Luo
590ebf9730 Merge pull request #1898 from ascriptmaster/tests
Un-hardcode Rock Head in favor of an onDamage handler
2015-05-26 01:25:06 +00:00
Marty-D
c40fdef413 Remove Yawn tag when the effect ends 2015-05-23 14:48:13 -04:00