What I want to do is build an abstract class that holds some default variables and functions and a constructor if possible. Each time a skill is called I would like it to call the constructor function is there anyway to do with DB?
//So like this
proc/abstract_skill_class/
var cooldown = 5
constructor()
check_cooldown_on_or_Off()
proc/abstract_skill_class/mage_skills_class
teleport()
//teleport stuff
So when I call mage_skill_class/teleport() its going to run the parent constructor() [check_cooldown_of_or_off()] and if I havent defined a cooldown for teleport it would be set to 5 automatically.