hello guys, so i’m trying to make a skill system here.
when a character finishes spell-cast anim, the spell-effect function will be triggered.
the problem is i don’t know how to efficiently modify or change this universal spell-effect function that attached to spell-cast animation.
My skills are gameobjects. it has its own script call “Skill_Details”. it contains values like skill_id, cooldowns, damages… and stuff.
but not the core functions of skills… like “heal ally” “deal damage” “weaken/enchant armor” “raise the dead”… i want to add these stuffs!
but i can not make changes in Skill_Detail itself because its universal value storage… i could make changes in Inspector but not in the script… q_q
any ideas?