PVP/Globals/Formulas.gd

5 lines
100 B
GDScript3
Raw Permalink Normal View History

2026-03-11 17:12:53 +01:00
extends Node
func calculate_damage(damage, armor) -> float:
return clamp(damage - armor, 1, 9999)