I thought why not make the aura regain the Priestess' health and mana(a bit)?
I did the coding myself:
TrueshotAuraValues = Integer
I thoght this works, but when I tried it at the map, no effect were shows. Can anyone help me with this?
I did the coding myself:
-
Trueshot Aura advantage for PotM
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Priestess of the Moon
-
((Attacking unit) belongs to an enemy of (Owner of (Attacked unit))) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Trueshot Aura(my version) for PriestessoftheMoon) Equal to 1
-
-
Then - Actions
-
Set TrueshotAuraValues = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
TrueshotAuraValues Less than or equal to 15
-
-
Then - Actions
-
Unit - Set life of PriestessoftheMoon to ((Life of PriestessoftheMoon) + 20.00)
-
Unit - Set mana of PriestessoftheMoon to ((Mana of PriestessoftheMoon) + 10.00)
-
Special Effect - Create a special effect attached to the chest of PriestessoftheMoon using Abilities\Spells\Items\AIre\AIreTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Trueshot Aura(my version) for PriestessoftheMoon) Equal to 2
-
-
Then - Actions
-
Set TrueshotAuraValues = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
TrueshotAuraValues Less than or equal to 30
-
-
Then - Actions
-
Unit - Set life of PriestessoftheMoon to ((Life of PriestessoftheMoon) + 40.00)
-
Unit - Set mana of PriestessoftheMoon to ((Mana of PriestessoftheMoon) + 20.00)
-
Special Effect - Create a special effect attached to the chest of PriestessoftheMoon using Abilities\Spells\Items\AIre\AIreTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Trueshot Aura(my version) for PriestessoftheMoon) Equal to 3
-
-
Then - Actions
-
Set TrueshotAuraValues = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
TrueshotAuraValues Less than or equal to 45
-
-
Then - Actions
-
Unit - Set life of PriestessoftheMoon to ((Life of PriestessoftheMoon) + 60.00)
-
Unit - Set mana of PriestessoftheMoon to ((Mana of PriestessoftheMoon) + 30.00)
-
Special Effect - Create a special effect attached to the chest of PriestessoftheMoon using Abilities\Spells\Items\AIre\AIreTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
TrueshotAuraValues = Integer
I thoght this works, but when I tried it at the map, no effect were shows. Can anyone help me with this?