Recent content by Viperio

  1. Viperio

    Programming Pokémon Showdown Damage Calculator

    https://replay.pokemonshowdown.com/gen9ou-2298527882 0 SpA Mew Psychic Noise vs. 252 HP / 252 SpD Payapa Berry Toxicroak: 168-198 (45.4 - 53.5%) -- guaranteed 3HKO after Dry Skin recovery 0 SpA Mew Psychic Noise vs. 4 HP / 0 SpD Glaceon: 84-100 (30.8 - 36.7%) -- guaranteed 4HKO after Ice Body...
  2. Viperio

    Programming Pokémon Showdown Damage Calculator

    https://replay.pokemonshowdown.com/gen9ou-2298525448 0 SpA Mew Psychic Noise vs. 0 HP / 0 SpD Ludicolo: 82-97 (27.2 - 32.2%) -- 58.7% chance to 4HKO after Rain Dish recovery Psychic Noise does block effects such as Rain Dish, but Psychic noise doesn't block Rain Dish recovery in the damage calc...
  3. Viperio

    Programming Pokémon Showdown Damage Calculator

    oh lol I just noticed that I posted the code with an addition I made for a custom calc, but the point still stands
  4. Viperio

    Programming Pokémon Showdown Damage Calculator

    Bad Dreams doesn't work because the check looks for the ability "isBadDreams" instead of "Bad Dreams" } else if ( (defender.hasStatus('slp') || defender.hasAbility('Comatose')) && attacker.hasAbility('isBadDreams') && !defender.hasAbility('Magic Guard') &&...
  5. Viperio

    Programming Pokémon Showdown Damage Calculator

    Hey, I'm trying to set up my own version of the https://github.com/smogon/damage-calc, but the gh-pages branch only includes mons up to gen 8, and trying to use the master branch to build the site gives me this error: -Site contained a symlink that should be dereferenced: /calc/LICENSE. How...
Back
Top