is the cloud spell the dragon hawks have hard coded to only work for 1 team or somthing i cant work out why my spell is only working for 1 team and not the other
the spell is very basic the unit makes a smoke cloud causing units in the area to have a high chance at missing their attacks iv used channel to cast the spell and a trigger that makes a dummy unit cast the spell based off cloud the dragon hawks have and changed the targets to ENEMY GROUND AIR
the spell works 100% when your on team 1 but if ur on the second team all units incuding ur own will get the miss chance when attacking
note: i changed the dummy caster to make sure the owner of the unit is mine when playing on team 2
the spell is very basic the unit makes a smoke cloud causing units in the area to have a high chance at missing their attacks iv used channel to cast the spell and a trigger that makes a dummy unit cast the spell based off cloud the dragon hawks have and changed the targets to ENEMY GROUND AIR
the spell works 100% when your on team 1 but if ur on the second team all units incuding ur own will get the miss chance when attacking
note: i changed the dummy caster to make sure the owner of the unit is mine when playing on team 2
-
Smoke cloude
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Smoke cloude
-
-
Actions
-
Set Target_loc = (Target point of ability being cast)
-
Unit - Create 1 Zombie King for (Owner of (Casting unit)) at Target_loc facing (Facing of (Casting unit)) degrees
-
Unit - Add Cloud (dummy) to (Last created unit)
-
Unit - Set level of Cloud (dummy) for (Last created unit) to (Level of Smoke cloude for (Casting unit))
-
Unit - Order (Last created unit) to Human Dragonhawk Rider - Cloud Target_loc
-
Unit - Add a 31.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation(udg_Target_loc)
-
-
-
[trigger]