- Joined
- Jan 6, 2005
- Messages
- 137
Hi, i'm makig a hero who's basec on a good / evil concept and one of his spells is to go from good mode to evil mode, changing his spells to a more destructive side of themselves (giving him new spells).
THe way i do it is that when the spell has been cast, it hides the caster (good) setting all his factors as variables, skills, level of skills, hp, mana, xp, level, angle, unspent skill point, then deleting him and at the same time creating a new hero (evil), adding all the variables to him.
This does work, in same way, however, when changing back and forth, the hero loses his skillpoints, first just a few, then all of them, and the level of the changing skill itself decreases and ends up being completely unlearned, i don't quite understand why this happens.. i'd post up the full trigger, but im afraid i don't quite know how to.
THe way i do it is that when the spell has been cast, it hides the caster (good) setting all his factors as variables, skills, level of skills, hp, mana, xp, level, angle, unspent skill point, then deleting him and at the same time creating a new hero (evil), adding all the variables to him.
This does work, in same way, however, when changing back and forth, the hero loses his skillpoints, first just a few, then all of them, and the level of the changing skill itself decreases and ends up being completely unlearned, i don't quite understand why this happens.. i'd post up the full trigger, but im afraid i don't quite know how to.