I'm making a spell that when you channel it, it pick 2 random targets around the caster, if they are enemy it damage them depending on the level and if it's an ally it heal the target. The spell dont work at all, it heals the shop but dont do damage neither does it heal friendly ally around me.
EDIT: by the way the unit variable "priest" is set when the player choose the hero. and has no array as the hero can only be picked once.
EDIT2: hmmmm so i found out (well remembered) that "wait" is not compatible with unit loop... how can i make the holy light evveft appear and dissapear after .5 second??
EDIT3: actualy managed to fix it myself so i guess that tread is going nowhere lol sorry about that
EDIT: by the way the unit variable "priest" is set when the player choose the hero. and has no array as the hero can only be picked once.
EDIT2: hmmmm so i found out (well remembered) that "wait" is not compatible with unit loop... how can i make the holy light evveft appear and dissapear after .5 second??
EDIT3: actualy managed to fix it myself so i guess that tread is going nowhere lol sorry about that
-
heavenly bolt
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Heavenly Bolt
-
-
Actions
-
Trigger - Turn on heavenly bolt active <gen>
-
-
-
heavenly bolt stop
-
Events
-
Unit - A unit Stops casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Heavenly Bolt
-
-
Actions
-
Trigger - Turn off heavenly bolt active <gen>
-
-
Last edited: