I'm trying to make a passive 'self degeneration/destructive ability', the unit gains a few passive bonuses (which I can just simply apply in the units default stats) bit at a cost it 'unstable' and periodically has random explosions coming from it causing it to slowly looses health overtime. (Again the health loss I'll just do in the unit stats).
Some thing like - every 1.0 - 2.0 seconds randomly, create an explosive effect 1 - 5 randomly on unit.
I believe I could quite easily do it with triggers, but am really trying to learn the data editor.
How would you start of with something like this? A little direction would really be appreciated thanks.
Usually I pick a default SC2 ability pretty similar to what I want and modify it accordingly, in this case I can't think of anything.
You do this (the "random duration" thing) with the Create Persistent effect. I just whipped up this test map. It's not a passive ability, but you can make it passive pretty easily.
If you want to make a passive that cannot be turned off, all you need is:
Behavior - Unstable Growth <- add this to the base unit
Effect - Unstable Growth (Persistent)
Effect - Unstable Growth (Damage)
Everything else is basically to make it an active spell, as well as adding some special effects.
I'm trying to make a passive 'self degeneration/destructive ability', the unit gains a few passive bonuses (which I can just simply apply in the units default stats) bit at a cost it 'unstable' and periodically has random explosions coming from it causing it to slowly looses health overtime. (Again the health loss I'll just do in the unit stats).
Some thing like - every 1.0 - 2.0 seconds randomly, create an explosive effect 1 - 5 randomly on unit.
I believe I could quite easily do it with triggers, but am really trying to learn the data editor.
How would you start of with something like this? A little direction would really be appreciated thanks.
Usually I pick a default SC2 ability pretty similar to what I want and modify it accordingly, in this case I can't think of anything.
@Fullachain: Go
You do this (the "random duration" thing) with the Create Persistent effect. I just whipped up this test map. It's not a passive ability, but you can make it passive pretty easily.
If you want to make a passive that cannot be turned off, all you need is:
Behavior - Unstable Growth <- add this to the base unit
Effect - Unstable Growth (Persistent)
Effect - Unstable Growth (Damage)
Everything else is basically to make it an active spell, as well as adding some special effects.