The problem would be, that there seems to be no native way to set ability levels per trigger for the learn system implemented by blizzard (involving a learn ability, which provides skill points and multi-level abilities by setting multiple effects).
For reviving, the unit should not lose it's skills, though, at least it does not for me. And when restoring a unit from a bank, you re-create it anyways, so it will have all ability points, and you can use issue order actions to make it learn your desired abilities.
Currently I try to get my bank to work as I want it to do. I managed to store and restore units and its killcount.
But there is one thing I am, for whatever reason, unable to achieve. As soon as my hero levels, he is able to choose a new ability or upgrade an existend one (DotA-Style) but as soon as he dies and respawns or I save and restart the game, the ability is gone but I therefore got a point to spent. Any ideas for this one? Stuff
For this, we would need to know, how your ability system is set up. You might just want to store every level in variables and save them in banks to restore ability/talent levels later on. However, dependent on your setup, this might be hard to realize.
Quote:
I "discovered" some sort of issue with the Action "unit gains expierience level". I am quite sure that I am not the first on who realize that. I wanted to give my hero a reward for each level he gains - vesp and mins.This works fine.
But as soon as he respawns or the game is restarted, he immediately gains this reward. So after every death, he gains an extra bonus of ressources. I looked it up and - yeah - the reward trigger is triggered after every spawn. So, is my trigger broken or is this action itself not working properly.
Thanks in advance.
Yep, noticed this myself. Seems like a bug with the revive function for me (maybe it creates a new unit and gives experience to it?).
Workaround: Set a global boolean variable, which, when active, makes the next lvlup action to be ignored. Set this to true, before you revive the hero.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Do not issue the ability order, but the learn ability order with the correct learn index.
Tried that?
The problem would be, that there seems to be no native way to set ability levels per trigger for the learn system implemented by blizzard (involving a learn ability, which provides skill points and multi-level abilities by setting multiple effects).
For reviving, the unit should not lose it's skills, though, at least it does not for me. And when restoring a unit from a bank, you re-create it anyways, so it will have all ability points, and you can use issue order actions to make it learn your desired abilities.
For this, we would need to know, how your ability system is set up. You might just want to store every level in variables and save them in banks to restore ability/talent levels later on. However, dependent on your setup, this might be hard to realize.
Yep, noticed this myself. Seems like a bug with the revive function for me (maybe it creates a new unit and gives experience to it?).
Workaround: Set a global boolean variable, which, when active, makes the next lvlup action to be ignored. Set this to true, before you revive the hero.