My extension on traits

Hi everyone, I’ve continued working on the traits and I’ve added some stats and a trait to deeply modify the way we handle damage. I’ve included a damage range with a minimum and maximum, a critical hit chance, and a critical damage percentage to multiply the damage in case of a critical hit. I’ve also managed the attack speed based on dexterity. The idea here is just to show that it’s possible. If anyone wants to discuss how, feel free to ask, although I’m certain that with the teachings from the course, you can also succeed in implementing this! Happy coding everyone!


image
image
image

1 Like

Privacy & Terms