#Hypixel combat system
1 messages · Page 1 of 1 (latest)
holograms are just an invisible armourstand or a text display
elemental damage types are just math
on damage, set damage to (fireDamage-fireDefence)+(waterDamage-waterDefense)+...
its more detailed than that but thats essentially what its doing
ex. defense being higher than damage shouldn't result in a negative number
For this, you can probably loop through them and use min(0, (damage - defence))
ok thx