Hello, I have 3 triggers that don't work.
This first on is supposed to damage units within x range of the player with the skill, but I can't seem to figure out how to make it work.
(This first part turns on the second trigger, for the first problem)
Trigger 1, Part 1
This trigger is supposed to give gold to all players within 1500 range of the killing unit as well as experience; it only gives experience.
Trigger 2
This third trigger is supposed to add an icon to a hero because he has a skill that was initially a unit skill; the skill doesn't show up after you pick it.
Trigger 3
Any / all help is appreciated and will be rewarded; thanks!
This first on is supposed to damage units within x range of the player with the skill, but I can't seem to figure out how to make it work.
(This first part turns on the second trigger, for the first problem)
Trigger 1, Part 1
-
Healing Aura Start
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Learned Hero Skill) Equal to Healing Aura (Erratic Magic Man)
-
-
Actions
-
Trigger - Turn on Healing Aura <gen>
-
-
-
Healing Aura
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set Spell_Heal_Aura_Temp_Point = (Position of (Triggering unit))
-
Set Spell_Heal_Aura_Temp_Level = (Level of Healing Aura (Erratic Magic Man) for (Triggering unit))
-
Set Spell_Heal_Aura_Temp_Enemy = (Units within ((Real(Spell_Heal_Temp_Level)) x 300.00) of Spell_Heal_Temp_Point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal
-
Set Spell_Heal_Aura_Temp_AmountDam = (Spell_Heal_Temp_Level x 50)
-
Unit Group - Pick every unit in Spell_Heal_Temp_Enemy_Group and do (Actions)
-
Loop - Actions
-
Unit - Cause (Triggering unit) to damage (Picked unit), dealing (Real(Spell_Heal_Temp_AmountDamage)) damage of attack type Spells and damage type Normal
-
-
-
Custom script: call DestroyGroup(udg_Spell_Heal_Aura_Temp_Enemy)
-
Custom script: call RemoveLocation(udg_Spell_Heal_Aura_Temp_Point)
-
-
This trigger is supposed to give gold to all players within 1500 range of the killing unit as well as experience; it only gives experience.
Trigger 2
-
Level 1 Unit
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Zombie - Level 1
-
-
Actions
-
Set Gold_Temp = (Random integer number between 10 and 20)
-
Set Exp_Temp = (Random integer number between 10 and 20)
-
Set Gold_Exp_Temp_Group = (Units within 1500.00 of (Position of (Killing unit)) matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an ally of (Owner of (Killing unit))) Equal to True)))
-
Unit Group - Pick every unit in Gold_Exp_Temp_Group and do (Actions)
-
Loop - Actions
-
Player - Add Gold_Temp to (Matching player) Current gold
-
Floating Text - Create floating text that reads (String(Gold_Temp)) above (Picked unit) with Z offset 60.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 15.00% transparency
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 1.70 seconds
-
Hero - Add Exp_Temp experience to (Picked unit), Show level-up graphics
-
Floating Text - Create floating text that reads (String(Exp_Temp)) above (Picked unit) with Z offset 100.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 15.00% transparency
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 1.70 seconds
-
-
-
Custom script: call DestroyGroup(udg_Gold_Exp_Temp_Group)
-
-
This third trigger is supposed to add an icon to a hero because he has a skill that was initially a unit skill; the skill doesn't show up after you pick it.
Trigger 3
-
Spell 001
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
(Unit-type of (Learning Hero)) Equal to Erratic Magic Man
-
-
Actions
-
Unit Group - Add (Learning Hero) to UnitGroup_HealingAura
-
If ((Level of Healing Aura (Erratic Magic Man) for (Learning Hero)) Equal to 1) then do (Hero - Learn skill for (Picked unit): Healing Aura (Erratic Magic Man - icon)) else do (Do nothing)
-
If ((Level of Healing Aura (Erratic Magic Man) for (Learning Hero)) Equal to 1) then do (Unit - Set level of Healing Aura (Erratic Magic Man - icon) for (Triggering unit) to 1) else do (Do nothing)
-
-
Any / all help is appreciated and will be rewarded; thanks!