Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Animal Instinct inicio

Acontecimientos


Unidad - A unit Adquiere una habilidad

Condiciones


(Learned Hero Skill) Igual a Animal Instinct

Acciones


Detonador - Add to Animal Instinct inicio <gen> the event (Unidad - (Learning Hero) Recibe daño)
Animal Instinct

Acontecimientos

Condiciones


((Triggering unit) is alive) Igual a True


((Triggering unit) has buff Animal Instinct ) Igual a True

Acciones


Set AI_Unit = (Triggering unit)


Set AI_Index = (AI_Index + 1)


Set AI_CounterIndex[AI_Index] = 0


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Si: Condiciones




(Percentage life of AI_Unit) Menor que o igual a 15.00




(Level of Animal Instinct for AI_Unit) Igual a 1



Entonces: Acciones




Detonador - Turn on Animal Instintc Loop <gen>




Unidad - Add Animal Instinct ACT 1 to AI_Unit




Unidad - Add Animal Instinct ACT 2 to AI_Unit




Detonador - Turn off Animal Instinct <gen>



Otros: Acciones


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Si: Condiciones




(Percentage life of AI_Unit) Menor que o igual a 22.00




(Level of Animal Instinct for AI_Unit) Igual a 2



Entonces: Acciones




Detonador - Turn on Animal Instintc Loop <gen>




Unidad - Add Animal Instinct ACT 1 to AI_Unit




Unidad - Set level of Animal Instinct ACT 1 for AI_Unit to 2




Unidad - Add Animal Instinct ACT 2 to AI_Unit




Unidad - Set level of Animal Instinct ACT 2 for AI_Unit to 2




Detonador - Turn off Animal Instinct <gen>



Otros: Acciones


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Si: Condiciones




(Percentage life of AI_Unit) Menor que o igual a 28.00




(Level of Animal Instinct for AI_Unit) Igual a 3



Entonces: Acciones




Detonador - Turn on Animal Instintc Loop <gen>




Unidad - Add Animal Instinct ACT 1 to AI_Unit




Unidad - Set level of Animal Instinct ACT 1 for AI_Unit to 3




Unidad - Add Animal Instinct ACT 2 to AI_Unit




Unidad - Set level of Animal Instinct ACT 2 for AI_Unit to 3




Detonador - Turn off Animal Instinct <gen>



Otros: Acciones


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Si: Condiciones




(Percentage life of AI_Unit) Menor que o igual a 32.00




(Level of Animal Instinct for AI_Unit) Igual a 4



Entonces: Acciones




Detonador - Turn on Animal Instintc Loop <gen>




Unidad - Add Animal Instinct ACT 1 to AI_Unit




Unidad - Set level of Animal Instinct ACT 1 for AI_Unit to 4




Unidad - Add Animal Instinct ACT 2 to AI_Unit




Unidad - Set level of Animal Instinct ACT 2 for AI_Unit to 4




Detonador - Turn off Animal Instinct <gen>



Otros: Acciones


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



Si: Condiciones




(Percentage life of AI_Unit) Menor que o igual a 40.00




(Level of Animal Instinct for AI_Unit) Igual a 5



Entonces: Acciones




Detonador - Turn on Animal Instintc Loop <gen>




Unidad - Add Animal Instinct ACT 1 to AI_Unit




Unidad - Set level of Animal Instinct ACT 1 for AI_Unit to 5




Unidad - Add Animal Instinct ACT 2 to AI_Unit




Unidad - Set level of Animal Instinct ACT 2 for AI_Unit to 5




Detonador - Turn off Animal Instinct <gen>



Otros: Acciones
Animal Instintc Loop

Acontecimientos


Tiempo - Every 1.00 seconds of game time

Condiciones

Acciones


For each (Integer CurrentIndex) from 1 to AI_Index, do (Actions)



Bucle: Acciones




Efecto especial - Create a special effect attached to the hand left of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[1] = (Last created special effect)




Efecto especial - Create a special effect attached to the hand right of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[2] = (Last created special effect)




Efecto especial - Create a special effect attached to the overhead of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[3] = (Last created special effect)




Set AI_CounterIndex[CurrentIndex] = (AI_CounterIndex[CurrentIndex] + 1)




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





Si: Condiciones






AI_CounterIndex[CurrentIndex] Igual a 5





Entonces: Acciones






Efecto especial - Destroy AI_Efect[1]






Efecto especial - Destroy AI_Efect[2]






Efecto especial - Destroy AI_Efect[3]






Unidad - Remove Animal Instinct ACT 1 from AI_Unit






Unidad - Remove Animal Instinct ACT 2 from AI_Unit






Set AI_CounterIndex[CurrentIndex] = AI_CounterIndex[AI_Index]






Set AI_Index = (AI_Index - 1)






Set CurrentIndex = (CurrentIndex - 1)






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







Si: Condiciones








AI_Index Igual a 0







Entonces: Acciones








Detonador - Turn off (This trigger)








Detonador - Turn on Animal Instinct <gen>







Otros: Acciones





Otros: Acciones
Animal Instinct inicio

Events


Unit - A unit Learns a skill

Conditions


(Learned Hero Skill) Equal to Animal Instinct

Actions


Trigger - Add to Animal Instinct inicio <gen> the event (Unit - (Learning Hero) Takes damage)
Animal Instinct

Events

Conditions


((Triggering unit) is alive) Equal to True


((Triggering unit) has buff Animal Instinct ) Equal to True

Actions


Set AI_Unit = (Triggering unit)


Set AI_Index = (AI_Index + 1)


Set AI_CounterIndex[AI_Index] = 0


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Percentage life of AI_Unit) Less than or equal to 15.00




(Level of Animal Instinct for AI_Unit) Equal to 1



Then - Actions




Trigger - Turn on Animal Instintc Loop <gen>




Unit - Add Animal Instinct ACT 1 to AI_Unit




Unit - Add Animal Instinct ACT 2 to AI_Unit




Trigger - Turn off Animal Instinct <gen>



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Percentage life of AI_Unit) Less than or equal to 22.00




(Level of Animal Instinct for AI_Unit) Equal to 2



Then - Actions




Trigger - Turn on Animal Instintc Loop <gen>




Unit - Add Animal Instinct ACT 1 to AI_Unit




Unit - Set level of Animal Instinct ACT 1 for AI_Unit to 2




Unit - Add Animal Instinct ACT 2 to AI_Unit




Unit - Set level of Animal Instinct ACT 2 for AI_Unit to 2




Trigger - Turn off Animal Instinct <gen>



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Percentage life of AI_Unit) Less than or equal to 28.00




(Level of Animal Instinct for AI_Unit) Equal to 3



Then - Actions




Trigger - Turn on Animal Instintc Loop <gen>




Unit - Add Animal Instinct ACT 1 to AI_Unit




Unit - Set level of Animal Instinct ACT 1 for AI_Unit to 3




Unit - Add Animal Instinct ACT 2 to AI_Unit




Unit - Set level of Animal Instinct ACT 2 for AI_Unit to 3




Trigger - Turn off Animal Instinct <gen>



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Percentage life of AI_Unit) Less than or equal to 32.00




(Level of Animal Instinct for AI_Unit) Equal to 4



Then - Actions




Trigger - Turn on Animal Instintc Loop <gen>




Unit - Add Animal Instinct ACT 1 to AI_Unit




Unit - Set level of Animal Instinct ACT 1 for AI_Unit to 4




Unit - Add Animal Instinct ACT 2 to AI_Unit




Unit - Set level of Animal Instinct ACT 2 for AI_Unit to 4




Trigger - Turn off Animal Instinct <gen>



Else - Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Percentage life of AI_Unit) Less than or equal to 40.00




(Level of Animal Instinct for AI_Unit) Equal to 5



Then - Actions




Trigger - Turn on Animal Instintc Loop <gen>




Unit - Add Animal Instinct ACT 1 to AI_Unit




Unit - Set level of Animal Instinct ACT 1 for AI_Unit to 5




Unit - Add Animal Instinct ACT 2 to AI_Unit




Unit - Set level of Animal Instinct ACT 2 for AI_Unit to 5




Trigger - Turn off Animal Instinct <gen>



Else - Actions
Animal Instintc Loop

Events


Time - Every 1.00 seconds of game time

Conditions

Actions


For each (Integer CurrentIndex) from 1 to AI_Index, do (Actions)



Loop - Actions




Special Effect - Create a special effect attached to the hand left of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[1] = (Last created special effect)




Special Effect - Create a special effect attached to the hand right of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[2] = (Last created special effect)




Special Effect - Create a special effect attached to the overhead of AI_Unit using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl




Set AI_Efect[3] = (Last created special effect)




Set AI_CounterIndex[CurrentIndex] = (AI_CounterIndex[CurrentIndex] + 1)




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






AI_CounterIndex[CurrentIndex] Equal to 5





Then - Actions






Special Effect - Destroy AI_Efect[1]






Special Effect - Destroy AI_Efect[2]






Special Effect - Destroy AI_Efect[3]






Unit - Remove Animal Instinct ACT 1 from AI_Unit






Unit - Remove Animal Instinct ACT 2 from AI_Unit






Set AI_CounterIndex[CurrentIndex] = AI_CounterIndex[AI_Index]






Set AI_Index = (AI_Index - 1)






Set CurrentIndex = (CurrentIndex - 1)






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








AI_Index Equal to 0







Then - Actions








Trigger - Turn off (This trigger)








Trigger - Turn on Animal Instinct <gen>







Else - Actions





Else - Actions
Set AI_Index = (AI_Index + 1)
Set AI_CounterIndex[AI_Index] = 0
And it might work ? I am not good at MUI u.u
