Create a simple combat system between player and one creature (target). Check range, speed cooldown and target attackable.. Apply dmg in both direction, substract blockchance / armor. Global cooldown. Handle death (animation + loot) on target and player (respawn popup).
Create a simple combat system between player and one creature (target). Check range, speed cooldown and target attackable.. Apply dmg in both direction, substract blockchance / armor. Global cooldown. Handle death (animation + loot) on target and player (respawn popup).