SOLVED
Well, this time, the custom skill is like this:
I use an ability that will damage a target enemy unit. Then, a chain lightning will be cast upon nearby enemy units too.
But the problem is that, I don't want the chain lightning to hit the unit attacked with the first effect of the ability, because if the first effect kills, the chain lightning won't be cast! how do I set the chain lightning to be cast upon enemies that are nearby the primary one?
The trigger is like this:
Events
A unit Starts the effect of an ability
Conditions
Ability being cast equal to Electrical Surge
Actions
'I set all the variables here'
Then...
Create 1 Dummy for EL_Owner at EL_Location facing etc...
Add 1.5 expiration time for last created unit
add Electrical Surge Secondary for last created unit
Set level of Electrical_Surge for last created unit to EL_Level
order last created unit to Orc Far Seer - Chain Lightning
well, everything works properly, except for the problem I said...
Someone can give a little hand here?
Well, this time, the custom skill is like this:
I use an ability that will damage a target enemy unit. Then, a chain lightning will be cast upon nearby enemy units too.
But the problem is that, I don't want the chain lightning to hit the unit attacked with the first effect of the ability, because if the first effect kills, the chain lightning won't be cast! how do I set the chain lightning to be cast upon enemies that are nearby the primary one?
The trigger is like this:
Events
A unit Starts the effect of an ability
Conditions
Ability being cast equal to Electrical Surge
Actions
'I set all the variables here'
Then...
Create 1 Dummy for EL_Owner at EL_Location facing etc...
Add 1.5 expiration time for last created unit
add Electrical Surge Secondary for last created unit
Set level of Electrical_Surge for last created unit to EL_Level
order last created unit to Orc Far Seer - Chain Lightning
well, everything works properly, except for the problem I said...
Someone can give a little hand here?
Last edited: