- #1
Tomecide
- 1
- 0
Ok so essentially in this video game I have there are certain stats on swords. The stats are the amount of Attack animations, amount of time to compleate all of the attack animations, sword dammage and critical chance. All of the animations deal the same amount of dammage and the time to compleate all of the animations always stays the same (Dammage is done when you attack and attacking causes an animation to happen). Critical Chance has a fixed percentage of chance to occour and if a critical hit is landed, the attack will deal double damage. Sword dammage is fixed and I've figured out a formula to find the amount of dammage a sword can deal a second: Attack Animations * Base dammage / Time to preform all of the attack animations. I'm confident that this formula is correct, because I have tested it. Anyways my question is how can I factor in critical chance to my equation to reresent the stat properly. Thanks!