Added file
image_res/Weakness_Policy.png (just an in-game pic of Weakness Policy)
Updated files
index.html:
-added a hide menu for moves that double in power and for 1-2 hits
-added buttons for Neutralizing Gas, ally Steely Spirit, G-Max Field, and Weakness Policy
-code syntax has also been slightly changed due to it being reformatted in VS 2017
ability_data.js:
-added Competitive, Inner Focus, Oblivious, Own Tempo, Mirror Armor, Ripen, and Steely Spirit
ap_calc.css:
-minor font adjusting for the double-in-power, 1-2 hits menu
ap_calc.js:
-added a simple conditional for the double-in-power menu to show/hide appropriately
-added an extra condition for moves that always hit three times
-added a bool for moves that can double in power
-added vars for ally Steely Spirit, Neutralizing Gas, and G-Max Field
-added a condition for Dragon Darts to have the option to hit once or twice (1-2 hits menu)
damage.js:
-added a condition for Neutralizing Gas that nullifies abilities
-added Rising Voltage and Triple Axel to Max move base power exceptions
-fixed Max move calculations so that they take base power exceptions into account
-added a condition for G-Max Drum Solo, Fireball, and Hydrosnipe so base power is 160
-fixed Max moves such that they can crit now, and the number of hits for a multi-hit attack's Max move only hits once
-fixed Gorilla Tactics so it doesn't give a boost on a Max move
-slight change to choice item calculations: nullifying Choice Band and Choice Specs only applies when the calculated move is a Max move, and nullifying Choice Scarf only applies when the Pokemon is Dynamaxed
-added type change for Terrain Pulse
-added a conditional for Final Gambit's damage output
-added cases for Expanding Force, Misty Explosion, Terrain Pulse (base power), Rising Voltage, Grav Apple, and Triple Axel
-added conditional to double the power of moves that are meant to
-added conditional for ally Steely Spirit
-added var for Shell Side Arm (functions based on the research done at Smogon)
-added to Steelworker conditional to include user's Steely Spirit
-added conditional for Ripen
-added conditionals for Inner Focus, Oblivious, Own Tempo, Scrappy, Mirror Armor, and Competitive for Intimidate
-added conditionals for Weakness Policy boost from Weakness Policy button
dark_ap_calc.css:
-changes mirror ap_calc.js
item_data.js:
-added the other pinch berries for user convenience
ko_chance.js:
-added conditionals to hasFigy for the other pinch berries
-added var for Ripen
-added conditional for G-Max Field damage
move_data.js:
-added the following moves: Blast Burn, Dive, Frenzy Plant, Hydro Cannon, Rock Wrecker, Fire Pledge, Grass Pledge, Water Pledge, Heat Crash, Final Gambit, Disarming Voice, Mystical Fire, Parabolic Charge, Petal Blizzard, Burning Jealousy, Dual Wingbeat, Expanding Force, Flip Turn, Grassy Glide, Lash Out, Meteor Beam, Misty Explosion, Poltergeist, Rising Voltage, Scorching Sands, Shell Side Arm, Skitter Smack, Steel Roller, Surging Strikes, Terrain Pulse, Triple Axel, Wicked Blow
-the following moves have bool canDouble: Assurance, Stomping Tantrum, Bolt Beak, Fisheous Rend, Lash Out
-fixed Breaking Swipe so it is now a spread move
pokedex.js:
-added the following Pokemon: Kubfu, Urshifu-Single Strike, Urshifu-Rapid Strike, Zarude, Rillaboom-Gmax, Cinderace-Gmax, Inteleon-Gmax, Slowpoke-Galar, Slowbro-Galar
-changed the following Pokemon's abilities: Milotic, Wigglytuff, Rillaboom, Cinderace, Inteleon, Corviknight, Flapple, Appletun, Toxtricity, Perrserker, Pincurchin, Dracozolt, Sneasel, Snorunt, Glalie, Lucario, Mienfoo, Mienshao, Umbreon
status_item_data.js:
-mirrors changes in item_data.js (didn't realize this file goes unused until after coding)
NOTES:
-G-Max Field is a stand-in for Wildfire/Volcalith/Vine Lash/Cannonade to ease coding and UI
-the Steely Spirit field condition and the Steely Spirit ability are separate from each other since Steely Spirit can stack in-game
-Neutralizing Gas does not affect any checks at the beginning of the calculations; this is intentional
Sorry for being lazy and ignoring this, just rebased this to another branch & gonna check it out locally today. If it all looks good I'll go ahead and merge to master
Added file image_res/Weakness_Policy.png (just an in-game pic of Weakness Policy)
Updated files
index.html: -added a hide menu for moves that double in power and for 1-2 hits -added buttons for Neutralizing Gas, ally Steely Spirit, G-Max Field, and Weakness Policy -code syntax has also been slightly changed due to it being reformatted in VS 2017
ability_data.js: -added Competitive, Inner Focus, Oblivious, Own Tempo, Mirror Armor, Ripen, and Steely Spirit
ap_calc.css: -minor font adjusting for the double-in-power, 1-2 hits menu
ap_calc.js: -added a simple conditional for the double-in-power menu to show/hide appropriately -added an extra condition for moves that always hit three times -added a bool for moves that can double in power -added vars for ally Steely Spirit, Neutralizing Gas, and G-Max Field -added a condition for Dragon Darts to have the option to hit once or twice (1-2 hits menu)
damage.js: -added a condition for Neutralizing Gas that nullifies abilities -added Rising Voltage and Triple Axel to Max move base power exceptions -fixed Max move calculations so that they take base power exceptions into account -added a condition for G-Max Drum Solo, Fireball, and Hydrosnipe so base power is 160 -fixed Max moves such that they can crit now, and the number of hits for a multi-hit attack's Max move only hits once -fixed Gorilla Tactics so it doesn't give a boost on a Max move -slight change to choice item calculations: nullifying Choice Band and Choice Specs only applies when the calculated move is a Max move, and nullifying Choice Scarf only applies when the Pokemon is Dynamaxed -added type change for Terrain Pulse -added a conditional for Final Gambit's damage output -added cases for Expanding Force, Misty Explosion, Terrain Pulse (base power), Rising Voltage, Grav Apple, and Triple Axel -added conditional to double the power of moves that are meant to -added conditional for ally Steely Spirit -added var for Shell Side Arm (functions based on the research done at Smogon) -added to Steelworker conditional to include user's Steely Spirit -added conditional for Ripen -added conditionals for Inner Focus, Oblivious, Own Tempo, Scrappy, Mirror Armor, and Competitive for Intimidate -added conditionals for Weakness Policy boost from Weakness Policy button
dark_ap_calc.css: -changes mirror ap_calc.js
item_data.js: -added the other pinch berries for user convenience
ko_chance.js: -added conditionals to hasFigy for the other pinch berries -added var for Ripen -added conditional for G-Max Field damage
move_data.js: -added the following moves: Blast Burn, Dive, Frenzy Plant, Hydro Cannon, Rock Wrecker, Fire Pledge, Grass Pledge, Water Pledge, Heat Crash, Final Gambit, Disarming Voice, Mystical Fire, Parabolic Charge, Petal Blizzard, Burning Jealousy, Dual Wingbeat, Expanding Force, Flip Turn, Grassy Glide, Lash Out, Meteor Beam, Misty Explosion, Poltergeist, Rising Voltage, Scorching Sands, Shell Side Arm, Skitter Smack, Steel Roller, Surging Strikes, Terrain Pulse, Triple Axel, Wicked Blow -the following moves have bool canDouble: Assurance, Stomping Tantrum, Bolt Beak, Fisheous Rend, Lash Out -fixed Breaking Swipe so it is now a spread move
pokedex.js: -added the following Pokemon: Kubfu, Urshifu-Single Strike, Urshifu-Rapid Strike, Zarude, Rillaboom-Gmax, Cinderace-Gmax, Inteleon-Gmax, Slowpoke-Galar, Slowbro-Galar -changed the following Pokemon's abilities: Milotic, Wigglytuff, Rillaboom, Cinderace, Inteleon, Corviknight, Flapple, Appletun, Toxtricity, Perrserker, Pincurchin, Dracozolt, Sneasel, Snorunt, Glalie, Lucario, Mienfoo, Mienshao, Umbreon
status_item_data.js: -mirrors changes in item_data.js (didn't realize this file goes unused until after coding)
NOTES: -G-Max Field is a stand-in for Wildfire/Volcalith/Vine Lash/Cannonade to ease coding and UI -the Steely Spirit field condition and the Steely Spirit ability are separate from each other since Steely Spirit can stack in-game -Neutralizing Gas does not affect any checks at the beginning of the calculations; this is intentional