Code Monkey home page Code Monkey logo

fogchamp's People

Contributors

chfoo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

keenoraralio

fogchamp's Issues

Damage values are occasionally slightly too high (+1~+3)

idk how worried you are about a couple of damage points or if this is the right way to tell you but

I've seen min roll damage in the game do less than the visualizer's reported minimum roll, apparently because gen IV damage calculation has more floors than the Empire State Building.
From rooting around in Pokémon Showdown's damage calculator:

  • The basic formula is Math.floor(Math.floor(Math.floor(2 * LEVEL / 5 + 2) * userBasePower * userAttack / 50) / foeDefense).
  • STAB is applied before type effectiveness, with a flooring in the middle.
  • Apparently in gen IV, it looks at the effectiveness against each of the defender's types individually and floors the result after each type. So if a move is NVE on the first type and SE on the second, each value is essentially rounded down to the nearest even number. Which means which type is primary/secondary actually very slightly matters in this game.

I probably won't see it if you respond to this thread here but you should be able to find my Discord on the TPP channel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.