PVP/Globals/Formulas.gd
2026-03-11 17:12:53 +01:00

4 lines
100 B
GDScript

extends Node
func calculate_damage(damage, armor) -> float:
return clamp(damage - armor, 1, 9999)