im making a map with a unit that has an ability that gives a unit a 70hp shield that goes away after 10 seconds. it can be upgraded 3 times, the first two add 70hp to the shield, the last doubles HP regen while active. I think it has something to do with giving it a behavior? im not very used to the data section, so ive been trying to do it with triggers which is quite a hassle. how can I do it with data? explanation of how to do it would be very useful.
-thx
Well i know you said you figured it out but maybe i miss understand perhaps this will work.
If you create a Buff Behavior and go to Modification + go to Unit Vital Max Bonus set Shields to 140
For the Health Regen i would stack a buff on the unit that equals their Health Regen.
Assuming your using Veterancy i would add the Buff for every Attribute that increase Regen
Then on the Buff to double Regen i would add a validator checking if your Shield buff level 3 is on.
Then when the shield level 3 is on your unit should automatically get the health regen until the shield buff is gone
im making a map with a unit that has an ability that gives a unit a 70hp shield that goes away after 10 seconds. it can be upgraded 3 times, the first two add 70hp to the shield, the last doubles HP regen while active. I think it has something to do with giving it a behavior? im not very used to the data section, so ive been trying to do it with triggers which is quite a hassle. how can I do it with data? explanation of how to do it would be very useful. -thx
really? nobody can help me? :(
nevermind. I found workaround with triggers
Well i know you said you figured it out but maybe i miss understand perhaps this will work.
If you create a Buff Behavior and go to Modification + go to Unit Vital Max Bonus set Shields to 140
For the Health Regen i would stack a buff on the unit that equals their Health Regen.
Assuming your using Veterancy i would add the Buff for every Attribute that increase Regen
Then on the Buff to double Regen i would add a validator checking if your Shield buff level 3 is on.
Then when the shield level 3 is on your unit should automatically get the health regen until the shield buff is gone