I am making an ability that reduces a unit's health to 50% of their maximum. I'm using a create persistent, with the periodic effect of dealing 1 damage. I gave the persistent the periodic validator "life > 1/2", but this appears to do nothing, as I get a stack overflow error.
That makes no sense. Do you not mean the first ghost to hit the target will do regular damage while the second and successive ones will do bonus damage?
That is correct, but should a second ghost cast the ability while the first one is still active (for some reason), the first one should deal increased damage while the second one deals regular damage.
That's my other problem. Right now I can get non-ghosts do deal extra damage, but I wanted all units other then ghost that caster the mark target to deal extra damage, including other ghosts.
Casting the mark on the same target should override the original mark ie. the 1st ghost to mark will deal extra damage and the second ghost to mark will do regular damage
I would have a behavior on the infestor with a periodic effect of searching for nearby enemies. The search area would have a validator to check if the caster has a weapon ["Target Has Weapon"]. If the search finds an enemy and is validated, run a set to remove the behavior and order the caster to use neural parasite.
0
x^2 + y^2 = 16
http://www.dummies.com/education/math/calculus/how-to-graph-a-circle/
0
@abvdzh: Go
I think I did that, and it still has this error, but double check anyways :)
0
@abvdzh: Go
Wait, so periodic validation doesn't work with 0 period duration?
I put the validator on the periodic event and the ability works fine, just getting this error.
0
@DrSuperEvil: Go
I did this and the effect works, just getting the error.
0
Hi all,
I am making an ability that reduces a unit's health to 50% of their maximum. I'm using a create persistent, with the periodic effect of dealing 1 damage. I gave the persistent the periodic validator "life > 1/2", but this appears to do nothing, as I get a stack overflow error.
How can I stop this error?
0
That is correct, but should a second ghost cast the ability while the first one is still active (for some reason), the first one should deal increased damage while the second one deals regular damage.
I'll try that validator, see how it works.
0
@DrSuperEvil: Go
That's my other problem. Right now I can get non-ghosts do deal extra damage, but I wanted all units other then ghost that caster the mark target to deal extra damage, including other ghosts.
Casting the mark on the same target should override the original mark ie. the 1st ghost to mark will deal extra damage and the second ghost to mark will do regular damage
0
@TyaArcade: Go
Because this is a researchable upgrade.
0
@FunkyUserName: Go
So, the ghost has a behavior on it, and applies a different behavior to enemies he attacks.
The enemies' behavior has a damage response to take extra damage, with a validator that the attacker doesn't have the behavior on the ghost.
Am I reading this right?
0
Hi all,
I want to give my ghost a sort of "mark target", where units the ghost marks take increased damage from all other units.
How would I do this? obviously the ghost's attack needs to apply a behavior, but how do I stop the ghost dealing more damage?
0
@Bilxor: Go
Aah. (Basic) Validator: Type has the option of fraction.
0
@FunkyUserName: Go
Yes, but that doesn't use percentages.
0
Hi all,
I want my zealot to recharge it's shields when it goes below 30% life.
I know I need to use a damage response for this, and said response needs a validator.
I suck at validators, and can't find a way to require less then or equal to 30% of it's life.
Any help I could get would be great.
0
I would have a behavior on the infestor with a periodic effect of searching for nearby enemies. The search area would have a validator to check if the caster has a weapon ["Target Has Weapon"]. If the search finds an enemy and is validated, run a set to remove the behavior and order the caster to use neural parasite.
0
@DrSuperEvil: Go
Ok, got it working at last :)
Final question: How could I turn this on/off using an upgrade?