l-hate_you
New Member
- Reaction score
- 6
Rune 2 Take
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Rune of Unlearning
Actions
Set HeroLevel = (Hero level of (Hero manipulating item))
Hero - Set (Hero manipulating item) experience to 0, Hide level-up graphics
Hero - Set (Hero manipulating item) Hero-level to HeroLevel, Hide level-up graphics
When the Else function of this If/Then/Else trigger runs, no experience is lost from the hero
I wanted to make it so that when the hero aquired the Rune, it would take away all of their experience but not make them lose any levels. For example- if a hero is level 5 with 156 experience on top of that, it would only take away the 156 experience and their experience bar would habe no purple in it but they would still just be level 5. That function takes away all of their experience totally and then restores their level- i couldn't think of any other way to do it though there must be one?? Please help x.x :nuts:
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Rune of Unlearning
Actions
Set HeroLevel = (Hero level of (Hero manipulating item))
Hero - Set (Hero manipulating item) experience to 0, Hide level-up graphics
Hero - Set (Hero manipulating item) Hero-level to HeroLevel, Hide level-up graphics
When the Else function of this If/Then/Else trigger runs, no experience is lost from the hero
I wanted to make it so that when the hero aquired the Rune, it would take away all of their experience but not make them lose any levels. For example- if a hero is level 5 with 156 experience on top of that, it would only take away the 156 experience and their experience bar would habe no purple in it but they would still just be level 5. That function takes away all of their experience totally and then restores their level- i couldn't think of any other way to do it though there must be one?? Please help x.x :nuts: