Hello everyone,
I'm about to make heros with different spells.
But all the tutorials on the interwebz are about missle-damage-spells or something, but i need some damage dealing debuffs.
Simple debuffs dealing damage every x second.
I tried many many ways, but i have no success.
Now i have an ability of type "Effect - Instant", linking to an ""Apply Behavior" effect due to "Effect - Effect".
This "Apply Behavior" refers to a behavior of type "Buff" due to "Behavior - Behavior". This buff deals periodic damage with a "Damage" effect.
Everything is fine so far, but i cant target anyone, the debuff is always applied to my caster unit.
What do i need to change?
kyr
ps. sry for my bad english =/ I'm german, but we dont have one mapper forum...
You will probably want either a Behavior if your damaging a single unit or a Create Presistent if your damaging an area.
You will need a Damage Effect as well for both methods so create one of those, set the Combat - Amount to the x damage every second you want.
So using the Behavior method:
Your ability effect should be Apply Behavior. Unless you want to fire a missile, then the Apply Behavior should be the impact effect for the missile effect.
In your Behavior - Buff just set the Effect - Periodic to the Damage Effect you created earlier(which is sounds like you already did this part), then you need to set the Duration to how long you want the debuff to last and set the Stats - Period to how long between ticks of damage will happen... 1 being every second, 2 every 2 seconds, ect....
Persistent method:
Almost exactly the same as before... Make a Create Persistent Effect, set the Period Count to how many times you want the damage to occur. Under Effect - Period Effects your going to need a Search Area Effect.. Under the Search - Areas + you will need to create a new one, set the radius and find your Damage Effect and add it. Back to the Persistent Effect, under Period Durations it works just like Stats - Period for Behaviors... just put in how long you want to wait before the next tick of damage occurs.
It will be especially important for the Search - Search Filters to be set to exclude Player and Ally, otherwise it will hurt you. However even going with the Apply Behavior way it will be an important habit to set your Abilities - Target Filters anyway.
You'll probably want to use Effect - Target as your ability type instead of Effect - Instant since Effect - Instant has no target, therefore causing your Apply Behavior to apply to the caster.
You appear to be using the damage effect in the Unit - Unit - Effect field. This is changing the scope of reference for your target to the target of an effect that has not yet occured. Also consider giving it a default button.
How I would do the ability is to have Effect - Instant/Target ability linked to a Search Area effect that then uses an Apply Behavior effect to apply a Buff behaviour. The buff then has negative life regeneration or a periodic damage effect.
Awww... the only thing that was missing all the time was just the "effect - effect range" field in the ability. and i wasted hours in all the behaviors and effects tabs.
Thanks a lot =)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone, I'm about to make heros with different spells. But all the tutorials on the interwebz are about missle-damage-spells or something, but i need some damage dealing debuffs.
Simple debuffs dealing damage every x second. I tried many many ways, but i have no success.
Now i have an ability of type "Effect - Instant", linking to an ""Apply Behavior" effect due to "Effect - Effect". This "Apply Behavior" refers to a behavior of type "Buff" due to "Behavior - Behavior". This buff deals periodic damage with a "Damage" effect. Everything is fine so far, but i cant target anyone, the debuff is always applied to my caster unit.
What do i need to change?
kyr
ps. sry for my bad english =/ I'm german, but we dont have one mapper forum...
You will probably want either a Behavior if your damaging a single unit or a Create Presistent if your damaging an area.
You will need a Damage Effect as well for both methods so create one of those, set the Combat - Amount to the x damage every second you want.
So using the Behavior method: Your ability effect should be Apply Behavior. Unless you want to fire a missile, then the Apply Behavior should be the impact effect for the missile effect. In your Behavior - Buff just set the Effect - Periodic to the Damage Effect you created earlier(which is sounds like you already did this part), then you need to set the Duration to how long you want the debuff to last and set the Stats - Period to how long between ticks of damage will happen... 1 being every second, 2 every 2 seconds, ect....
Persistent method: Almost exactly the same as before... Make a Create Persistent Effect, set the Period Count to how many times you want the damage to occur. Under Effect - Period Effects your going to need a Search Area Effect.. Under the Search - Areas + you will need to create a new one, set the radius and find your Damage Effect and add it. Back to the Persistent Effect, under Period Durations it works just like Stats - Period for Behaviors... just put in how long you want to wait before the next tick of damage occurs.
It will be especially important for the Search - Search Filters to be set to exclude Player and Ally, otherwise it will hurt you. However even going with the Apply Behavior way it will be an important habit to set your Abilities - Target Filters anyway.
GL!
@kyr90: Go
You'll probably want to use Effect - Target as your ability type instead of Effect - Instant since Effect - Instant has no target, therefore causing your Apply Behavior to apply to the caster.
Thanks a lot so far, i can now target, but he only accepts my hero as an target, all those zerglings he refuses to attack.
Check your Unit - Unit +
Make sure its Target
Hum, it is, but i still cant target any hostile unit.
You appear to be using the damage effect in the Unit - Unit - Effect field. This is changing the scope of reference for your target to the target of an effect that has not yet occured. Also consider giving it a default button.
How I would do the ability is to have Effect - Instant/Target ability linked to a Search Area effect that then uses an Apply Behavior effect to apply a Buff behaviour. The buff then has negative life regeneration or a periodic damage effect.
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
Awww... the only thing that was missing all the time was just the "effect - effect range" field in the ability. and i wasted hours in all the behaviors and effects tabs.
Thanks a lot =)