^^ its 2x it size i removed the MS/ATK speed and Ability Power ^^My eyes are bleeding..
For the first time in my life is a trigger so long that code line coudln't move to right anylonger and came back to default once again - many times.
You are a pro with killing triggers
Let's start with.. DIVIDE YOUR trigger a bit to smaller parts and use hidden tag for each of them.
yy i gona split it in 6 triggers for start
edit: found bug with dmg,,, its = number i need greater or = number
EDIT:2
BIG ass bug
-
Stats HP
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
-
Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Set StatsHerHP = (StatsSTA[(Integer A)] x 5)
- Game - Display to (Player group(Players[(Integer A)])) the text: (String(StatsHerHP))
- Unit - Remove Item Life Bonus 1 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 10 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 100 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 2 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 20 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 200 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 3 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 30 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 300 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 4 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 40 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 400 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 5 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 50 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 500 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 6 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 60 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 7 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 70 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 8 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 80 from Heroes[(Integer A)]
- Unit - Remove Item Life Bonus 9 from Heroes[(Integer A)]
-
Unit - Remove Item Life Bonus 90 from Heroes[(Integer A)]
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 500
-
Then - Actions
- Unit - Add Item Life Bonus 500 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 500)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 400
-
Then - Actions
- Unit - Add Item Life Bonus 400 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 400)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 300
-
Then - Actions
- Unit - Add Item Life Bonus 300 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 300)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 200
-
Then - Actions
- Unit - Add Item Life Bonus 200 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 200)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 100
-
Then - Actions
- Unit - Add Item Life Bonus 100 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 100)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 90
-
Then - Actions
- Unit - Add Item Life Bonus 90 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 90)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 80
-
Then - Actions
- Unit - Add Item Life Bonus 80 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 80)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 70
-
Then - Actions
- Unit - Add Item Life Bonus 70 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 70)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 60
-
Then - Actions
- Unit - Add Item Life Bonus 60 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 60)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 50
-
Then - Actions
- Unit - Add Item Life Bonus 50 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 50)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 40
-
Then - Actions
- Unit - Add Item Life Bonus 40 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 40)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 30
-
Then - Actions
- Unit - Add Item Life Bonus 30 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 30)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 20
-
Then - Actions
- Unit - Add Item Life Bonus 20 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 20)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 10
-
Then - Actions
- Unit - Add Item Life Bonus 10 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 10)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 9
-
Then - Actions
- Unit - Add Item Life Bonus 9 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 9)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 8
-
Then - Actions
- Unit - Add Item Life Bonus 8 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 8)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 7
-
Then - Actions
- Unit - Add Item Life Bonus 7 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 7)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 6
-
Then - Actions
- Unit - Add Item Life Bonus 6 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 6)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 5
-
Then - Actions
- Unit - Add Item Life Bonus 5 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 5)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 4
-
Then - Actions
- Unit - Add Item Life Bonus 4 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 4)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 3
-
Then - Actions
- Unit - Add Item Life Bonus 3 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 3)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 2
-
Then - Actions
- Unit - Add Item Life Bonus 2 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 2)
-
Else - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- StatsHerHP Greater than or equal to (>=) 1
-
Then - Actions
- Unit - Add Item Life Bonus 1 to Heroes[(Integer A)]
- Set StatsHerHP = (StatsHerHP - 1)
-
Else - Actions
- Game - Display to (Player group(Players[(Integer A)])) the text: (String(StatsHerHP))
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Do Multiple ActionsFor each (Integer A) from 1 to 8, do (Actions)
-
Events
HerHP Greater or = to 70
Then actions
...adds 70hp
but there the trigger stops..(HerHp=5) left
but it dosent continue
Last edited: