Damage Over Time

Status
Not open for further replies.
Level 5
Joined
Oct 3, 2009
Messages
93
Hey guys, I'll try to be as specific as possible

Basically, I have a base attack of the marine gun and an upgrade that makes it do more vs buildings, but I would rather it just apply a damage over time effect of (lets say 5 per second for 20 seconds)

Short version,

Need an upgrade that makes a Marine's Gun attack apply a DoT to structures only.

Thanks in advance.
 
Upgrade enables buff behaviour on marine unit that provides on attack functionality.
On attack functionality runs apply behaviour effect if target is a structure (may need validator).
Apply behaviour effect adds damage over time buff behaviour.
Damage over time buff behaviour perodically runs a damage effect, stacks once per unit and has a finite non-refreshing duration.
 
How do I make the upgrade enable a behavior on a unit
Using eithor a validator or a requirement.

How do i make the behavior provide on attack functionality
Same way immortal's hardened shield works using a buff behaviour but in reverse. You just change the position of the unit from defender (unit takes a hit) to attacker (unit deals a hit).
 
Okay, I think I messed up somewhere else lol.
How do I make it apply the behavior to the attacked unit?

What I have is a behavior called DoT with an effect to apply the Burn behavior, my problem is it wont apply it to anything, dont have any requirements or validators even on yet
 
Last edited:
Status
Not open for further replies.
Back
Top