[Trigger] Creating a trigger that unlears a spell and gives skill points based on the level of it.

Status
Not open for further replies.
Level 6
Joined
Sep 22, 2011
Messages
85
There seems to be a bug with engineering upgrade, namely when you save heroes in the game cache and load them in the next level, they do not have any spells learned, only engineering upgrade and no skill points refunded.
So i came up with the idea of unlearning it and giving skill points based on the level of the spell(before saving the hero in the game cache)
How would you go about creating that trigger.

[Spell] - Engineering Upgrade in Campaigns
This tread better explains my problem.
 
Level 6
Joined
Sep 22, 2011
Messages
85
  • Set SkillLvl = (Level of EU_ABILITY for <unit>)
  • Hero - Modify unspent skill points of <Unit>, add SkillLvl
Or save that variable if that’s easier and set it on load.

Is it really that easy, thank a bunch, il try it out now :)
 
Status
Not open for further replies.
Top