- Joined
- Feb 15, 2020
- Messages
- 2
Hello all,
I have just started using the Reforged Warcraft editor and am loving it so far. I have some basic coding
skills and level design skills but am very new to it. I'm trying to make an item that has a big damage increase buff, but halves the heroes max HP when they have said item.
* Im using a variable to track if the player has said item, if they have item, I make them lose health *
1. I can't find a "set percentage of hp" function. At the moment I am making the hero lose a set integer of HP. However I want it to be 50% so I can balance it for heroes with different HP stats.
2. I can't get the hero to go back to its standard health when the item is dropped.
Any and all help is much appreciated
I have just started using the Reforged Warcraft editor and am loving it so far. I have some basic coding
skills and level design skills but am very new to it. I'm trying to make an item that has a big damage increase buff, but halves the heroes max HP when they have said item.
* Im using a variable to track if the player has said item, if they have item, I make them lose health *
1. I can't find a "set percentage of hp" function. At the moment I am making the hero lose a set integer of HP. However I want it to be 50% so I can balance it for heroes with different HP stats.
2. I can't get the hero to go back to its standard health when the item is dropped.
Any and all help is much appreciated