Hi, so i want to know if its possible to create a global script that handle all damage calculation from any attack.

like taking stats variable from the attacker and the target, then calculate the damage then send back the damage value.

I did have a working damage system by having every objects calculate their own stats and damage when attacking but its very very tedious and inefficient.

thank you!