Commit Graph

369 Commits

Author SHA1 Message Date
Marty-D
0d1581d4fa Fix exclusive Z-Move users 2016-11-17 22:15:29 -05:00
Marty-D
9ce2ae1aed Add Z-Crystal data 2016-11-17 22:08:10 -05:00
Marty-D
ceca7aaa2d Implement Silvally's type changing
Plus add support for Z-Crystals working with Multitype and Fling powers
with Memories.
2016-11-17 11:06:13 -06:00
Marty-D
82d8aa2b81 Implement new items 2016-11-17 11:06:13 -06:00
Marty-D
9ace6d2391 Add Soul Dew change 2016-11-17 11:06:13 -06:00
urkerab
efdc8e33a0 Run powder immunities in the correct order (#2842) 2016-10-14 23:11:59 -04:00
Marty-D
e806ce0e32 Add missing item index numbers 2016-09-01 18:16:00 -04:00
urkerab
c8b808138d -activate should include item: or move: prefix (#2724) 2016-08-28 12:35:15 -05:00
urkerab
5f8a608270 Quick Claw and Custap Berry should override Stall (#2709) 2016-08-23 10:35:41 -04:00
urkerab
98eeba9f22 Bug Bite/Pluck should only activate Belch/Cheek Pouch for edible Berries (#2694) 2016-08-23 10:35:24 -04:00
Marty-D
5b1c5a5406 Correct Park/Sport Ball's gen of origin 2016-08-15 21:23:54 -04:00
urkerab
6a8b55e9d2 Fix interaction between Illusion and Primal Reversion (#2693) 2016-08-13 16:39:41 -04:00
urkerab
219ed9f4eb Fix Red Card's interaction with spread moves (#2628) 2016-07-18 21:02:00 -04:00
urkerab
2b95a4eb10 Fix ability activation for Oblivious, Overcoat and Own Tempo (#2589) 2016-06-17 11:40:44 -04:00
Marty-D
5612d223de Fix type-resist Berries' interaction with substitutes
Plus add weakening message
2016-06-09 11:32:26 -04:00
Marty-D
a1752fd6c9 Clarify Eject Button and Red Card descriptions 2016-06-08 12:37:21 -04:00
Guangcong Luo
d27df9235f Endless Battle Clause: Fix bug in Fling detection
Eating a Leppa Berry with a stale foe (mainly from flinging Leppa) now
correctly ends the game.
2016-04-22 23:10:43 -07:00
Kevin Lau
1c574c6c55 Critical Hit Ratio refactor: Use an event to modify crit ratios (#2501)
This allows for proper crit ratios when a Pokemon loses/gains an ability,
item, or other effect in the middle of a multi-hit attack.
2016-04-11 21:35:36 -04:00
alex-taxiera
9b66ba25d3 Fix Cheek Pouch (#2497)
* Cheek pouch triggers after berry effect
* Cheek pouch triggers on Fling, Bug Bite, and Pluck
2016-04-08 23:37:01 -04:00
Guangcong Luo
794d160eec Refactor runImmunity
BattlePokemon#runImmunity is now two functions, runImmunity and
runStatusImmunity.

The split is helpful because: 1. NegateImmunity only applies to type
immunities, and 2. Immunity only applies to status immunities and
Ground immunities.

Ground immunities are now entirely handled hardcoded in isGrounded.

This overall doesn't have a noticeable impact on performance, but
it makes certain things behave more predictably, and correctly
shows the ability activation for Levitate, so I assume that means it's
a net positive. I hope I at least improved readability...
2016-02-19 05:18:40 -06:00
The Immortal
02fc77eed2 Move primal reversion message to client 2016-02-08 21:18:20 +04:00
Marty-D
b7d3ce40e7 Add CAP 21: Crucibelle 2016-01-11 18:55:05 -05:00
Konrad Borowski
81f602b8d8 Always use trailing comma for multiline objects 2016-01-01 00:20:07 +01:00
Konrad Borowski
79a5b23f25 Modify data and mods files to follow style rules 2016-01-01 00:18:00 +01:00
Marty-D
edc2b8f98a Fix Jaboca and Rowap Berries' damage ordering
Corrects interactions with Bug Bite/Pluck/Knock Off, etc.
2015-12-28 17:40:30 -05:00
Guangcong Luo
2e7af97262 Fix Primal activation order 2015-12-28 12:16:32 -05:00
Marty-D
235e470553 Merge pull request #2339 from ascriptmaster/trapping
Trapping refactor
2015-12-28 12:10:52 -05:00
Marty-D
7d11d384f7 Restrict Ice Berry to Gen 2 games 2015-12-25 14:06:06 -05:00
Marty-D
8d2c022c14 Gen II: Remove now unneeded items.
And fix up the real Gen 2 items.
2015-12-24 12:36:57 -05:00
Guangcong Luo
02274e56be Add missed gen 2 item 'Dragon Scale' 2015-12-24 08:26:23 -06:00
Guangcong Luo
f351885781 Fix 'Energy Powder' item name for gen 6 2015-12-24 08:25:56 -06:00
Guangcong Luo
15caa435bd Add a default sprite for Berserk Gene
We're using Red Chain; probably the best option we have that was
already in our sprite sheet.
2015-12-24 04:37:16 -06:00
Guangcong Luo
8aa1409da7 Add Gen 2 only items
PS has a tradition of supporting future-gen items/moves/etc in past gens,
so why not the other way around? Obviously, these items are banned
outside of Custom Game.

This mainly helps make the teambuilder less confusing to gen 2 players.
2015-12-24 03:19:31 -06:00
Kevin Lau
567b070cda Refactor trapping mechanics out of ModifyPokemon event
Trapping is now checked within Battle#nextTurn as a new TrapPokemon event.
All relevant abilities/items/moves have been adjusted to use it.
2015-12-21 14:56:22 -08:00
Marty-D
6ecac2029d Fix Mental Herb always showing Attract's end message 2015-12-08 11:22:01 -05:00
Marty-D
091fffee59 Fix Air Balloon showing during Gravity 2015-11-20 12:19:34 -05:00
Ivo Julca
8619ba2022 Turn on strict mode globally for real 2015-11-08 15:38:15 -05:00
Ivo Julca
38eb5d373d Lint: fix variable name collisions in data 2015-11-06 22:31:36 -05:00
Ivo Julca
1a8c51e9a9 Consolidate Pokémon forme validation
- Introduces `battleOnly` to Pokémon formats-data to flag which formes are forbidden on battle start.
- Adds back Secret Sword as Keldeo-Resolute's required move.
- Introduces `requiredAbility` to handle Darmanitan-Zen.
- Introduces `forcedForme` to items' data to flag the formes that some items enforce.
2015-10-20 23:13:32 -05:00
Marty-D
48e4bc46f3 Apply more accurate modifiers in damage calculations 2015-10-18 21:03:37 -04:00
Marty-D
51fb5c8745 Fix Enigma Berry 2015-09-12 21:15:22 -04:00
Marty-D
ecda0f293d Correct Natural Gift base powers 2015-09-03 13:12:29 -04:00
Marty-D
cf77e666fa Fix race conditions with added flinch effects
- Sheer Force removes secondary effects before King's Rock/Razor Fang
adds the flinch effect to moves, which Serene Grace can then double
2015-08-15 00:09:41 -04:00
Marty-D
934f9a4b4d Fix Air Balloon's interaction with confusion damage 2015-08-12 16:04:15 -04:00
Guangcong Luo
89a8acae34 Small update to Endless Battle Clause 2015-08-07 09:05:49 -04:00
Kevin Lau
0bbd3650b7 Normalize ModifySpe calculations with the other Modify-Stat events
The current implementation of ModifyAtk, ModifyDef, etc. is to pass the
actual stat into the event, have event handlers run battle.chainModify(),
ModifySpe passes in a modifier variable, calls battle.chain(), and then
ends with battle.modify() using the modifier variable. The way chainModify
is implemented within the event system also means that it chains together
modifiers in the same manner and finishes with battle.modify(), meaning
that there is no need for ModifySpe to use battle.chain() and
battle.modify() manually.

This also fixes the effect of BattlePokemon#getStat on stats other than
speed.
2015-07-24 12:19:42 -07:00
Guangcong Luo
5d3cd8263c More updates to Endless Battle Clause
- Gen 1 PP overflow makes a Pokemon stale
- Staleness warnings now specify the staleness source
- Half-staleness also warns, if another pokemon is already stale

Warning on half-staleness helps remind people who seem to think
they've beaten Endless Battle Clause after 5-ish turns, when it
takes 10-20 turns for some staleness verdics, especially if
there's a lot of switching going on.
2015-07-24 03:33:28 -04:00
Guangcong Luo
c8c03ad92d Update Endless Battle Clause
The full description is in the comments of the Endless Battle
Clause entry in rulesets.js.

This update fixes a lot of the issues with yesterday's version.

Also included: A minor refactor of deductPP, which did not need
a success variable.
2015-07-22 03:41:43 -04:00
Marty-D
d7ead997a5 Fix Ditto Transformed into Ditto gaining Metal/Quick Powder boosts 2015-07-17 21:57:09 -04:00
Marty-D
c8a63d4e53 Merge pull request #2012 from ascriptmaster/move-fixes-3
Fix OHKO moves' interaction with accuracy-changing abilities/effects
2015-07-01 11:05:00 -04:00
Marty-D
75d94ab935 Correct Mail and Zoom Lens' descriptions 2015-06-30 21:47:49 -04:00
Kevin Lau
cbef63343a Fix OHKO moves' interaction with accuracy-changing abilities/effects
Add a new event ModifyAccuracy that affects all moves other than OHKO
moves and switched many event handlers that originally used the Accuracy
event to ModifyAccuracy instead.
2015-06-29 17:22:42 -07:00
Kevin Lau
fce231cc48 Various Item removal fixes
Knock Off no longer broadcasts the source so Arceus can knock off a Plate
from a non-Arceus, Genesect can knock off a Drive, etc. Updated Sticky
Hold to check for Knock Off specifically as a result.

TakeItem is no longer suppressed by Mold Breaker, fixing interaction with
Unburden. Updated Sticky Hold to check for Mold Breaker instead.

Items that prevent their own removal do not have that effect negated by
Klutz and other item-negating effects.

Thief and Covet can steal Mail.
2015-06-28 16:53:47 -07:00
Marty-D
a179b5c37c Clarify description of mostly useless Berries
...and Rare Bone
2015-06-27 16:54:49 -04:00
Marty-D
d32b69f48d Fix Attract end messages 2015-06-25 12:29:30 -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
Marty-D
0fc6807d3a Fix Pledge moves' interaction with Gems 2015-06-13 12:24:01 -04: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
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
Ivo Julca
a231aa9690 Fix Life Orb harming the holder on multitarget moves' failure 2015-06-08 01:43:41 -05: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
Kevin Lau
12be51b262 Battle refactor: New functions ignoringItem() and ignoringAbility()
BattlePokemon#ignoringItem and BattlePokemon#ignoringAbility are
hardcodedto return true for any situation where pokemon.ignore['Item']
or pokemon.ignore['Ability'] respectively would have been true.
2015-05-18 19:17:41 -07:00
Guangcong Luo
383af9eea1 Merge pull request #1858 from ascriptmaster/move-fixes-2
Fix Rage Powder's interaction with Safety Goggles
2015-05-05 05:39:29 +00:00
Kevin Lau
d287e86b46 Do not consume healing berry if healing is blocked
Fixes behavior between healing berries and Berry Juice with Heal Block.
2015-05-04 21:17:08 -07:00
Kevin Lau
0ec4ff912a Battle Engine Refactor: Add a DisableMove event
The intention for this event is to remove the move disabling code away
from ModifyPokemon and to an event that can be run a fewer number of
times. Since the disabledMoves index is used to gray-out moves that cannot
be used, and not for any other purpose, there is no need for the related
code to be run at the ModifyPokemon timing, instead working better as a
once per turn event.
2015-05-04 21:17:00 -07:00
Kevin Lau
23a8ebd8eb Fix Rage Powder's interaction with Safety Goggles
Safety Goggles was causing Rage Powder to fail.
2015-05-04 00:22:01 -07:00
Guangcong Luo
54947b665f Merge pull request #1728 from ascriptmaster/move-fixes
Move refactor: moves/items that ignore immunity/effectiveness
2015-04-14 17:05:22 +00:00
Ivo Julca
e6332ff424 Properly do b0e7711 2015-04-11 20:19:52 -05:00
Kevin Lau
628b870b2f Move Refactor: Moves track the type effectiveness of the move
Set up moves to track the type effectiveness of the move for purposes of
'Hit' and 'ModifyDamage' events. This fixes various glitches resulting
from Pokemon with the 'IgnoreEffectiveness' flag set for some types, and
also is a slight optimization because it removes the need to run the
'Effectiveness' event one more time to check effectiveness in the moves.
2015-04-09 01:46:22 -07:00
The Immortal
d4a22bb1e6 Remove isContact property from moves
Use flags instead.
2015-04-03 16:59:53 +04:00
Kevin Lau
b0e7711685 Fix Leppa Berry protocol message
Apparently the move data that stores PP doesn't have a "name" property.
2015-04-01 23:09:02 -07:00
Guangcong Luo
d89a77ac87 Merge pull request #1639 from ascriptmaster/modifypokemon
Weight Refactor: Do not modify weight in ModifyPokemon
2015-03-21 22:38:43 -05:00
Marty-D
ed074532c6 Make sure the flags object always exists 2015-03-21 14:29:07 -04:00
Kevin Lau
b0c2dcde5f Weight Refactor: Do not modify weight in ModifyPokemon
Added a new event, ModifyWeight, to deal with weight changes from items,
abilities, and moves. Add a function getWeight to call the event and
return a Pokemon's current weight.
2015-03-18 18:44:01 -07:00
Kevin Lau
aaea0556f7 Fix Pickup to use correct behavior
Pickup was not retrieving items consumed by allies, was picking up items
from nonadjacent foes, and had a chance of failing to retrieve an item
from a foe if the other one had not used its item that turn. Pickup now
queries all eligible Pokemon before randomly choosing one of the items to
pick up, instead of choosing the target before checking whether it had an
item that could be retrieved.
2015-02-25 20:19:09 -08:00
Kevin Lau
3306b02b48 Fix Unburden/Symbiosis interaction with Natural Gift/Air Balloon/Fling
Switched Unburden's onUseItem handler to onAfterUseItem instead, and set
Natural Gift, Air Balloon and Fling to send AfterUseItem events when the
items are removed. Sending these events also has the side effect of fixing
some of the functionality with Symbiosis not giving items when these moves
consume their items.
2015-02-25 19:23:01 -08:00
Kevin Lau
e27e7de08a Fix Knock Off + Mail interaction
Change Mail's onTakeItem handler to allow Knock Off to remove it using
Battle#takeItem. This prevents Mail from being recycled and lets it
trigger Unburden.
2015-02-25 19:13:36 -08:00
Marty-D
78f5cacd63 Update item descriptions 2015-02-20 18:16:39 -05:00
The Immortal
608ee7af7e Fix Safety Goggles interaction with Effect Spore
This fixes the bug created in 46008ea0a6.
2015-02-09 01:08:22 +04:00
The Immortal
46008ea0a6 Add Safety Goggles message for powder moves 2015-02-08 16:26:05 +04:00
The Immortal
7f9cbf617d Release Custap Berry 2015-02-03 17:11:33 +04:00
Marty-D
245af9721e Fix Mental Herb
- Cures Heal Block in Gen 5 and 6
2015-01-20 20:20:04 -05:00
Ivo Julca
2b5e3bab10 Minor style fixes in data files 2015-01-12 00:11:48 -05:00
Guangcong Luo
80704c272d Merge pull request #1298 from Slayer95/disabled-maybe
Hide moves disabled by Imprison or NEXT's Telepathy
2014-12-10 03:57:30 -06:00
Marty-D
8c2b18c622 Fix forced switch mechanics.
- Red Card and Eject Button do not activate if the holder is being
forced out.
- Circle Throw, Dragon Tail, Roar, and Whirlwind cannot attempt to force
out a Pokemon with no inactive unfainted allies.
2014-12-06 11:53:26 -05:00
The Immortal
d2f5f01830 Soul Dew is released 2014-11-26 01:03:38 +04:00
The Immortal
bcf19608c9 Update Mega Rayquaza
Rayquaza does not have a mega stone; it can mega evolve with the move
Dragon Ascent.
2014-11-21 16:26:56 +04:00
ascriptmaster
c0d2b26a89 Primal Reversion occurs before ability messages activate
Moved primal reversion checks to the SwitchIn event.

Moved the SwitchIn event to properly account for turn order.
2014-11-20 21:06:02 -08:00
The Immortal
579319bc9b Release ORAS megas/primals
The ORAS formats are no longer needed.
2014-11-20 13:52:21 +04:00
Marty-D
e0eff117f3 Add missing item sprites. 2014-11-19 20:40:34 -05:00
The Immortal
8eac7f2e9a Update ORAS mega stones 2014-11-19 13:37:38 +04:00
Guangcong Luo
4bc18009d9 Merge pull request #1315 from ascriptmaster/move-messages
Updated most moves, items and abilities to not use -message tags
2014-11-19 13:51:31 +08:00
ascriptmaster
54fd6f41d3 Updated most moves, items and abilities to not use -message tags
Some gen 1 moves like Dig/Fly, gen 4's Custap Berry, and everything in
NEXT is untouched for now.
2014-11-17 11:25:56 -08:00
Marty-D
fdc3d9f570 Fix several item mechanics.
- Griseous Orb, Plates, Drives, and Mega Stones can no longer be removed
from or given to their respective species by any means
- Mold Breaker and friends can no longer remove a Plate from an Arceus
- The Fling base power for these related items is now defined in Tools,
like Berries
- Sticky Hold works correctly with Bestow, Fling, Knock Off, Switcheroo,
and Trick
2014-11-13 15:51:28 -05:00
Ivo Julca
d928b64221 Implement BattlePokemon#disableMove to support hiding information
- Changed data to use it anywhere moves get disabled.
2014-11-13 14:45:49 -05:00
Marty-D
f0ca855d94 Add sprites for Blue and Red Orb. 2014-11-09 09:47:41 -05:00
Ivo Julca
4557cbd280 Fix client crash from 072d413 2014-10-29 17:23:25 -05:00
Ivo Julca
727579ff89 Revamp effectiveness calculation
- Implement BattlePokemon#runEffectiveness, accounting for battle events.
- Refactor Tools#getEffectiveness accordingly.
- Remove Inverse mod. It's now implemented using the global event 'Effectiveness', and with a few changes in the base data for hazards and Arena Trap.
- NEXT: Fix Filter and Solid Rock not accounting for the special effects of Freeze Dry and Flying Press.
2014-10-27 03:46:32 -05:00
The Immortal
69689c17fa Allow Light Ball to work for Cosplay Pikachu 2014-10-25 19:03:09 +04:00
ascriptmaster
072d41345b Removed placeholder message for Focus Band 2014-10-21 13:50:55 -07:00
Lucafausto96
bc8273d721 Fix Glalitite name 2014-10-19 17:40:15 +02:00
The Immortal
a72edc4ad1 Implement Primal Reversion 2014-10-18 19:10:17 +04:00
The Immortal
a382a8f908 Add Red and Blue Orbs 2014-10-17 16:16:59 +04:00
The Immortal
03a6b3e3fa Add ORAS Mega Evolutions
Some Mega Stone names are assumptions.
Mega Glalie and Mega Steelix are the only ones with missing height and
weight.
2014-10-16 19:31:19 +04:00
The Immortal
bf2c64525b Properly fix Shell Bell healing twice 2014-10-07 23:49:44 +04:00
The Immortal
b3d6730eeb Fix Shell Bell healing twice with Metronome 2014-10-07 14:04:15 +04:00
小太
fe37f3b6a7 Apply jscs to the data files as well 2014-09-30 18:34:16 +10:00
QxC4eva
9bb8cd35ed Remove e-acute from friendball desc for consistency 2014-08-29 18:46:22 +10:00
V4Victini
7f47f70033 Fix faint order for recoil items 2014-07-27 21:21:26 -04:00
Evan Wildenhain
2ca0cf5bdf Changed Zoom Lens's description to better reflect the mechanics of its implementation. 2014-07-16 23:43:36 -07:00
Slayer95
377345454f Shed Bell may be nullified by Sheer Force
Also remove 'AfterMove' global event from all gens, and 'AfterMoveSelf' from Gen 3 onwards.
2014-07-14 19:03:38 -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
Slayer95
62611b926b Fix Eject Button interaction with Volt Switch/U-Turn
If a pokemon is switched out and in in the same turn, the move was not cancelled
2014-07-13 06:18:03 -05:00
V4Victini
657e80f523 Add Friend Ball 2014-06-24 00:32:25 -04:00
The Immortal
be5fe33eff Allow Soul Dew to work for Mega Latias/Latios
Relevant to Hackmons
2014-06-12 21:24:23 +04:00
Guangcong Luo
9fa425bff1 Refactor selfdestruct faint order fix 2014-06-09 04:14:54 -04:00
Guangcong Luo
75bb5dd186 Fix Explosion faint order 2014-06-08 22:37:38 -04:00
The Immortal
fab3e08064 Add Fairy Gem 2014-05-02 13:26:35 +04:00
Guangcong Luo
4db56d30d1 Fix Rocky Helmet description 2014-04-21 20:10:33 -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
Slayer95
c3ee9782fb Fix ignoring abilities or items sometimes being not effective
Items: Light Clay, Metronome
Abilities: Aura Break, Contrary, Gluttony, Levitate, Mega Launcher, Minus, Mold Breaker, Persistent, Plus, Shadow Tag, Slow Start, Soundproof, Stall, Unburden, Teravolt, Turboblaze, Zen Mode
2014-04-16 18:59:39 -05:00
sirDonovan
89ef8b0dad Fix Genesect Drives being removable 2014-04-13 18:29:21 -05:00
Slayer95
544804fe72 Shorten Iron Ball's description 2014-03-30 18:01:58 -05:00
Slayer95
3be767238a Update some descriptions 2014-03-30 15:51:20 -05:00
Ivo Julca
e768fc501e Relocate custom messages to statuses.js 2014-02-27 22:35:57 -05:00
Ivo Julca
70114c8c4c Fix messages for activation of Toxic/Flame Orb 2014-02-27 21:39:46 -05:00
Slayer95
6990326d56 Fix Flame/Toxic Orb immunities' ignoring Gastro Acid 2014-02-27 20:28:34 -05:00
V4Victini
2193eeec53 Merge pull request #634 from Slayer95/heavy-gravity
Ground moves do 1x on mons with Iron Ball/Gravity
2014-02-22 15:53:01 -05:00
Juanma Serrano
7ef66c96b3 Add Latios-Mega and Latias-Mega
Add the confirmed information about the Latii twins's mega formes.
2014-02-20 18:04:46 +01:00
Layell
9ee670f380 item.js ampharosite fix 2014-02-20 02:16:28 -05:00
Guangcong Luo
1497cfbd50 Correct sprite numbers for gen 6 items 2014-02-20 00:50:39 -06:00
Guangcong Luo
fd1a6b351b Sprite numbers for gen 6 items 2014-02-17 02:15:44 -05:00
V4Victini
8cf291037f Revert 45908ff 2014-02-16 20:23:21 -05:00
Ivo Julca
1349c17d55 Update descriptions of items and moves
Rocky Helmet, Electric Terrain and Misty Terrain.
2014-02-16 18:23:59 -05:00
Ivo Julca
141eabe2bd Add base power for Fling of Assault Vest and Weakness Policy
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-47#post-5035804
2014-02-16 17:49:54 -05:00
Ivo Julca
45908ff4e9 Rocky Helmet deals 1/8 of the HP in Gen 6
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-24#post-4908236
2014-02-16 17:42:43 -05:00
Ivo Julca
6ed52d85b6 Ground moves do 1x on mons with Iron Ball/Gravity 2014-02-12 13:25:41 -05:00
TalkTakesTime
ca8673133d Fix Knock Off interaction with unremovable items 2014-02-11 13:56:53 +13:00
Tyler Stark
bff353cc58 Second Pass at cleaning up the code. These are pretty safe edits that include adding 0 to decimal values, fixing variables that are declared multiple times, and removing duplicate keys 2014-02-09 23:38:57 -06:00
Tyler Stark
afb3dc0c09 First pass at code quality: adding semicolons. 2014-02-09 20:35:42 -06:00
TalkTakesTime
9d5a19a4ae Fix Weakness Policy activating on fixed damage moves 2014-01-29 23:36:59 +13:00
migetno1
a26d2e06bd indentation changes 2014-01-24 15:29:50 +11:00
migetno1
59ce617100 Added Natural Gift values for Kee/Maranga Berries
As per
http://www.smogon.com/forums/threads/battle-mechanics-research.3489239/page-50#post-5105979
2014-01-24 15:11:16 +11:00
V4Victini
8a24b61713 Properly implement Powder immunity 2014-01-13 10:43:49 -05:00
nmodi
d2c4fbbfb0 One berry was incorrectly edited, fixed. 2014-01-09 00:05:27 -06:00
nmodi
1eda799638 Natural Gift BP updated for XY 2014-01-08 23:41:13 -06:00
nmodi
dd3e70592b XY Natural Gift berry power increased by 20 BP each 2014-01-08 22:37:56 -06:00
Ivo Julca
c10354578b Fix Flying Press and Freeze Dry
Items and abilities supposed to activate depending on effectiveness were not accounting for their effects
2014-01-08 19:45:22 -05:00