- Joined
- Mar 9, 2023
- Messages
- 75
Hi! I'm very inexperienced writing vJass scripts and poor at setting up elaborate triggers. It doesn't help that I'm aloof today, and I want to push out a patch for my players. Can I ask for your help?
I need to create a GUI or vJass script which effectively halves a hero's MAX HP while it is in effect. It will be attached to an item, so while the hero holds the item its max values are lowered by an amount of percent. So if the solution were to create a permanent effect, I would need to create a trigger which removes the effect if the item is removed.
The following thread was the closest I found, and I realise I can repurpose the trigger created by Meticulous, but right now I can't fully understand the solution. Please lend me your wisdom!
www.hiveworkshop.com
I need to create a GUI or vJass script which effectively halves a hero's MAX HP while it is in effect. It will be attached to an item, so while the hero holds the item its max values are lowered by an amount of percent. So if the solution were to create a permanent effect, I would need to create a trigger which removes the effect if the item is removed.
The following thread was the closest I found, and I realise I can repurpose the trigger created by Meticulous, but right now I can't fully understand the solution. Please lend me your wisdom!
Change max health of a unit by a percentage through triggers?
I've been trying to make an ability that will increase the targets hit points by X%. But I can't find any way to do this as a percentage, any ideas?
