Description of what i want to do: i want a metamorphosis ability that changes the form of the hero and so the hero, for the duration, gets a full set of new abilities. i did this so far by removing the abilities (storing their levels before) and adding the new ones, after x seconds remove them again and adding the old ones and set their levels.
now i noticed when the hero levels up during metamorphose and u spend that skill point u learn that ability (what i actually dont want), after meta runs out, all abilities are set by a trigger to their levels they had before, resulting in the skill point being lost.
can i prevent that (and maybe safe the work of storing the abilities levels and setting them again) if i just disable them and enable them instead of removing and adding?
also i have another issue, when the hero has a reincarnation ability in both forms, both forms have their own cooldowns, reuslting in him dying during meta, being revived in his normal form, still having reincarnation with no cooldown (so he can die a second time). - maybe someone knows a solution for this too?
now i noticed when the hero levels up during metamorphose and u spend that skill point u learn that ability (what i actually dont want), after meta runs out, all abilities are set by a trigger to their levels they had before, resulting in the skill point being lost.
can i prevent that (and maybe safe the work of storing the abilities levels and setting them again) if i just disable them and enable them instead of removing and adding?
also i have another issue, when the hero has a reincarnation ability in both forms, both forms have their own cooldowns, reuslting in him dying during meta, being revived in his normal form, still having reincarnation with no cooldown (so he can die a second time). - maybe someone knows a solution for this too?