well as much as it pain's me i need help getting this to work
the ability seems to be stacking behaviors for -life leech untill they reach such a - point they become + life leech that i permanently on the unit
ill explain how i have this ability set up in hero attack and provide xml code as well
unit A (ultra) has
Chitinous Plating Level 1/2/3
Gives the ultralisk hero +0.75/1.5/2.25 armor and returns 10%/20%/30% of non-spell damage to enemy units within a distance of 2. Unit bellow 7% health receive no damage.
unit B is any attacking unit within range 2 of unit A
there are 3 levels to this ability
unit A and unit B do not die they only become hidden when life hit's 0
When unit B is exposed to unit A's aura over the battle for a long period of time unit B gains + life leech with a very high % this leads me to believe that unit A's aura is stacking on unit B and going so far - it becomes +
thank you for your time, i have another question if you don't mind i have it set up to remove the behavior when the duration is over do you know why the behavior is not being removed?
i can see now there's there's 2 part's to the bug im having
if you are applying it faster than the duration runs out it will start to stack. Some flags can also cause reapplication of the buff to refresh/extend the duration. Use the modify vitals fields to be able to visualize stack numbers.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
on the ability theirs a behavior and on the behavior there a effect periodic (0.500) search area the areas effect (had the period of 0.600) is apply behavior for - life leech (use duration flag was NOT marked )
i had no duration on the behavior so my expire effect did not trigger because the behavior never expired
....thank you ive found my problem but ill leave this here in case some else has a similar problem so they can see how i fixed it
if you are applying it faster than the duration runs out it will start to stack. Some flags can also cause reapplication of the buff to refresh/extend the duration. Use the modify vitals fields to be able to visualize stack numbers.
i know this is old but i had a similar problem with leech in general and wanted to know what you meant by
"Use the modify vitals fields to be able to visualize stack numbers."
and where i would find this at it would be a great asset to debug errors
also the only way i found to have a working leech with data without overflow is by adding the behavior directly to the unit and turning it on/off with requirements/vaildators depending on what type of ability your using
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
well as much as it pain's me i need help getting this to work the ability seems to be stacking behaviors for -life leech untill they reach such a - point they become + life leech that i permanently on the unit ill explain how i have this ability set up in hero attack and provide xml code as well
unit A (ultra) has Chitinous Plating Level 1/2/3 Gives the ultralisk hero +0.75/1.5/2.25 armor and returns 10%/20%/30% of non-spell damage to enemy units within a distance of 2. Unit bellow 7% health receive no damage.
unit B is any attacking unit within range 2 of unit A there are 3 levels to this ability unit A and unit B do not die they only become hidden when life hit's 0 When unit B is exposed to unit A's aura over the battle for a long period of time unit B gains + life leech with a very high % this leads me to believe that unit A's aura is stacking on unit B and going so far - it becomes +
thanks for your time
akuma
Sounds like your buff does not have a decent duration/stack count cap. Consider a location Range validator to remove it.
With the damage reflect amounts stated it would need close to 255 stacks and a light reflect to overflow.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
thank you for your time, i have another question if you don't mind i have it set up to remove the behavior when the duration is over do you know why the behavior is not being removed? i can see now there's there's 2 part's to the bug im having
if you are applying it faster than the duration runs out it will start to stack. Some flags can also cause reapplication of the buff to refresh/extend the duration. Use the modify vitals fields to be able to visualize stack numbers.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
im using Expire Effect here's a copy as text of the Field
Field Armor - Negative life leech level 1 Shield and Life Expire Effect Armor - Negative Life leach level 1 Remove
And how you applying the negative leech?. Also if I remember correctly the expire effect only applies when the last stack is removed.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
on the ability theirs a behavior and on the behavior there a effect periodic (0.500) search area the areas effect (had the period of 0.600) is apply behavior for - life leech (use duration flag was NOT marked )
i had no duration on the behavior so my expire effect did not trigger because the behavior never expired
....thank you ive found my problem but ill leave this here in case some else has a similar problem so they can see how i fixed it
some times you just over look the small things
i know double post but my skill is not fixed another minor problem i over looked was the count of behaviors removed mine was 0
i know this is old but i had a similar problem with leech in general and wanted to know what you meant by "Use the modify vitals fields to be able to visualize stack numbers." and where i would find this at it would be a great asset to debug errors
also the only way i found to have a working leech with data without overflow is by adding the behavior directly to the unit and turning it on/off with requirements/vaildators depending on what type of ability your using