Ok, so I'm trying to make a healing aura/shield ability... When it's active, it continually heals allies in a radius around the caster. So I'm using a behavior ability, and while the behavior is active, it uses an effect that does negative splash damage every period. Now, when the combat amount is positive, it deals damage to allies... but when the number is negative, it does nothing. This is frustrating, because this is contrary to what it says in Galaxy / Data / Effects / Damage. Does the negative damage amount only work in some cases? Or is that a mistake?
Also, I've already searched the forums, and haven't found anything that might help... but if the answer is already posted somewhere, a link would be appreciated.
You could also apply a behavior with the aura that increases regeneration. The periodic damage can never work, because due to gameplay constants, damage cannot be less that .5
@Zantai: Not sure where to apply an effect through the search... I just tried adding a validator (target) and then adding a mod unit effect that way, but it didn't work.
@Ranakastrasz: Thanks for that bit of info... If I apply a behavior that increases regen, how do I get it to remove once the allies are no longer in range?
A Search effect has a field called "Search - Areas+". There, you can add circular regions that are scanned by the search and what Effect is applied on the targets that it finds. You can add additional search parameters in the Search Filters/Flags to, for example, make it only target nearby allies.
Let me know if you need further clarification. Good luck!
I think I got it... I was missing the "search area" type of effect, so I thought you simply meant any effect that had a search (like damage) lol. But after fiddling with it, here's basically what I did to get it to work...
I made my ability a behavior one, which activated a behavior on itself, which activated a search area effect, which activated an apply behavior effect, which applied the regen behavior onto the units xD
Now I just need to correct what units it effects and I'm all set :) Thanks again to the both of you.
Yeah I found that out; don't really have a purpose for it with the map I'm making, but you made me think of something... Is it possible to have that delay reversed? In other words, health only regenerates in battle, while shields regenerate out of battle? lol. Just a random thought.
Yeah I found that out; don't really have a purpose for it with the map I'm making, but you made me think of something... Is it possible to have that delay reversed? In other words, health only regenerates in battle, while shields regenerate out of battle? lol. Just a random thought.
Should be possible. Afaik health regeneration has a similar field you can use and to enable shield regeneration in combat, just set the delay to 0.
Just add two buff behaviours with validators. One is Caster In Combat and the other is Caster Not In Combat
Also did you get nega damage to work? Tried the No Dealt Minimum flag?
That sounds perfect; I'll have to try that :D And no... Didn't get the negative damage to work, ended up doing it a different way. Where is that flag located though? Does that turn off the .5 damage limitation that was mentioned?
Ok, so I'm trying to make a healing aura/shield ability... When it's active, it continually heals allies in a radius around the caster. So I'm using a behavior ability, and while the behavior is active, it uses an effect that does negative splash damage every period. Now, when the combat amount is positive, it deals damage to allies... but when the number is negative, it does nothing. This is frustrating, because this is contrary to what it says in Galaxy / Data / Effects / Damage. Does the negative damage amount only work in some cases? Or is that a mistake?
Also, I've already searched the forums, and haven't found anything that might help... but if the answer is already posted somewhere, a link would be appreciated.
Thanks.
Use a Modify unit effect applied using a search instead.
You could also apply a behavior with the aura that increases regeneration. The periodic damage can never work, because due to gameplay constants, damage cannot be less that .5
@Zantai: Not sure where to apply an effect through the search... I just tried adding a validator (target) and then adding a mod unit effect that way, but it didn't work.
@Ranakastrasz: Thanks for that bit of info... If I apply a behavior that increases regen, how do I get it to remove once the allies are no longer in range?
A Search effect has a field called "Search - Areas+". There, you can add circular regions that are scanned by the search and what Effect is applied on the targets that it finds. You can add additional search parameters in the Search Filters/Flags to, for example, make it only target nearby allies.
Let me know if you need further clarification. Good luck!
I think I got it... I was missing the "search area" type of effect, so I thought you simply meant any effect that had a search (like damage) lol. But after fiddling with it, here's basically what I did to get it to work...
I made my ability a behavior one, which activated a behavior on itself, which activated a search area effect, which activated an apply behavior effect, which applied the regen behavior onto the units xD
Now I just need to correct what units it effects and I'm all set :) Thanks again to the both of you.
@Spudtop: Go
Welcome to sc2mapster :D
@grenegg: Go
Thanks ^.^ Great site so far :)
No problem. Keep in mind that stat regeneration can have an out-of-combat cooldown (such as 10s for shield regeneration to kick on for Protoss).
Yeah I found that out; don't really have a purpose for it with the map I'm making, but you made me think of something... Is it possible to have that delay reversed? In other words, health only regenerates in battle, while shields regenerate out of battle? lol. Just a random thought.
Should be possible. Afaik health regeneration has a similar field you can use and to enable shield regeneration in combat, just set the delay to 0.
Just add two buff behaviours with validators. One is Caster In Combat and the other is Caster Not In Combat
Also did you get nega damage to work? Tried the No Dealt Minimum flag?
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
That sounds perfect; I'll have to try that :D And no... Didn't get the negative damage to work, ended up doing it a different way. Where is that flag located though? Does that turn off the .5 damage limitation that was mentioned?
Read the damage effect page in the wiki. That mentions most fields
http://wiki.sc2mapster.com/galaxy/data/effects/damage/
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
@DrSuperEvil: Go
Thanks again :)