For an example just look at the interceptor. its weapon has an persistent-effect that uses Effect - Initial: first hit Effect - Period Effects+: second hit
here the Effect - Period Count is set to 1 because it does only one hit after the first. also the duration is set to 0 so they happen simultaneously. i dont think you need to use initial and do both attacks by setting the count to 2. probably they (starcraft-developer) had their reasons.
Edit:
creating an ability out of this is simply an Effect-Instant applying a behaviour that switches from one to the other weapon and using the Effect - Final field of the persistent effect to remove that behaviour
the persistent effect that does the double strike gets the remove behaviour.
in the example of the interceptor it would look like this Effect - Initial: first hit Effect - Period Effects+: second hit Effect - Period Count: 1 Effect - Final: Remove behaviour
Make sure the target of the Remove behaviour is set to caster
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Does anyone have a Double Strike type of Ability here? If so can someone show me a Demo. Id help in exchange :)
You need to use persistant with 2 effects from your weapon.......
@abvdzh: Go
and the Ability set to what?
@abvdzh: Go
Period Effects btw? :)
@Mugen245: Go
For an example just look at the interceptor. its weapon has an persistent-effect that uses
Effect - Initial: first hit
Effect - Period Effects+: second hit
here the Effect - Period Count is set to 1 because it does only one hit after the first. also the duration is set to 0 so they happen simultaneously. i dont think you need to use initial and do both attacks by setting the count to 2. probably they (starcraft-developer) had their reasons.
Edit:
creating an ability out of this is simply an Effect-Instant applying a behaviour that switches from one to the other weapon and using the Effect - Final field of the persistent effect to remove that behaviour
@Shieldnutzz: Go
Effect to Final for the Remove Behavior? through the Persistent effects+ or the Ability part? Confused Sorry :)
and thanks it worked as a Passive Behavior. :D
@Mugen245: Go
the persistent effect that does the double strike gets the remove behaviour.
in the example of the interceptor it would look like this
Effect - Initial: first hit
Effect - Period Effects+: second hit
Effect - Period Count: 1
Effect - Final: Remove behaviour
Make sure the target of the Remove behaviour is set to caster