Under effects search for Infested and in the Create Egg effect there is a field called Spawn Count, this controls how many eggs will spawn.
I suggest looking at the marauder punisher grenades ability to see how to units are slowed. It applies a behavior to the target unit and under the Modification+->Combat there is field called Attack Speed Multiplier, 1 is 100% attack speed.
For multiplying effect counts just stick multiple copies into a Set effect and fire that. Or use a Persistent effect, which allows you to stagger the individual casts (a period duration of 0 will launch them all instantly just like a Set, good if you need more than 5 copies). Exaken's solution only works for spawning units and the Infestor will only lob 1 egg, choose whichever you like more.
On-hit effects are usually integrated into the weapon itself, with Validators to enforce research prerequisites (or dummy buffs to represent a Toggle ability), check the Marauder for the basic setup as Exaken said.
An alternative could be to use a Damage Response on a Buff. Set the Location field to Attacker to trigger it whenever the unit carrying the buff fires and the Handled field can be used to inflict your target with the debuff. Note that any Buff applied through a Damage Response apparently ignores its own Damage Response field for its entire lifetime, so you can't give units Hardened Shields by shooting them with this method.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want to make infestor to spawn 4 infested marine at the same time.. not 1..
how do I make it
and plus, how do I make ability that slows the units, such as whenever unit attacks, it decreases attack and move speed of units by 20%.
help me
Under effects search for Infested and in the Create Egg effect there is a field called Spawn Count, this controls how many eggs will spawn.
I suggest looking at the marauder punisher grenades ability to see how to units are slowed. It applies a behavior to the target unit and under the Modification+->Combat there is field called Attack Speed Multiplier, 1 is 100% attack speed.
For multiplying effect counts just stick multiple copies into a Set effect and fire that. Or use a Persistent effect, which allows you to stagger the individual casts (a period duration of 0 will launch them all instantly just like a Set, good if you need more than 5 copies). Exaken's solution only works for spawning units and the Infestor will only lob 1 egg, choose whichever you like more.
On-hit effects are usually integrated into the weapon itself, with Validators to enforce research prerequisites (or dummy buffs to represent a Toggle ability), check the Marauder for the basic setup as Exaken said.
An alternative could be to use a Damage Response on a Buff. Set the Location field to Attacker to trigger it whenever the unit carrying the buff fires and the Handled field can be used to inflict your target with the debuff. Note that any Buff applied through a Damage Response apparently ignores its own Damage Response field for its entire lifetime, so you can't give units Hardened Shields by shooting them with this method.