xaya / taurion_gsp

Taurion - A Fully Decentralised MMO built for the Xaya Platform.
https://taurion.io
GNU General Public License v3.0
23 stars 10 forks source link

Hit/miss chance for combat #160

Closed domob1812 closed 4 years ago

domob1812 commented 4 years ago

This introduces the concept of a "hit chance" for combat. It has a base chance, which is based on new stats for weapons and targets. Essentially, if a "small" weapon is used against a "large" target, the hit chance is 100%. If a "large" weapon is used against a "small" target, it is proportional to the size ratio.

In addition, this also defines two new fitments, hitext (which boosts the hit chance for your own attacks) and hitred, which reduces the hit chance of enemies in an AoE with a new combat effect. Both fitments are defined in the light variant only for now, and the full data will be added as part of #142.

Also there is not yet any real data for the actual weapon and vehicle sizes.