Hey there,
topic describes my problem!
I desperately want to use the xp bar of the hero as a life bar, but so far i can't figure out how and if at all i can REDUCE the xp of a hero. Adding xp is not a problem (why is there even a 'set xp' trigger then?), which makes me wonder. Is there a way to jass or custom script a workaround somehow? I'm a noob when it comes to jass btw...
Thanks in advance
EDIT: Well it kinda works if i use add xp with a negative int, so i will stick with that. If anyone got a smarter idea, let me know!
topic describes my problem!
I desperately want to use the xp bar of the hero as a life bar, but so far i can't figure out how and if at all i can REDUCE the xp of a hero. Adding xp is not a problem (why is there even a 'set xp' trigger then?), which makes me wonder. Is there a way to jass or custom script a workaround somehow? I'm a noob when it comes to jass btw...
Thanks in advance
EDIT: Well it kinda works if i use add xp with a negative int, so i will stick with that. If anyone got a smarter idea, let me know!
Last edited: