Why isnt this working?
-
ids trigger
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Paladin
-
Actions
- Set Item = 0
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 1
-
Then - Actions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item carried by (Hero manipulating item) in slot Item_Slot)) Equal to 1
-
Then - Actions
- Set Item = (Item + 1)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Item Greater than 1
-
Then - Actions
- Game - Display to (All players) the text: You can only carry ...
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Else - Actions
-
If - Conditions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 2
-
Then - Actions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item carried by (Hero manipulating item) in slot Item_Slot)) Equal to 2
-
Then - Actions
- Set Item = (Item + 1)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Item Greater than 1
-
Then - Actions
- Game - Display to (All players) the text: You can only carry ...
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Else - Actions
-
If - Conditions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item being manipulated)) Equal to 3
-
Then - Actions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item level of (Item carried by (Hero manipulating item) in slot Item_Slot)) Equal to 3
-
Then - Actions
- Set Item = (Item + 1)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Item Greater than 3
-
Then - Actions
- Game - Display to (All players) the text: You can only carry ...
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Else - Actions
-
If - Conditions
-
For each (Integer Item_Slot) from 1 to 6, do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events
-
potion stack
-
Events
- Unit - A unit Acquires an item
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Potion of Greater Healing
-
Conditions
-
Or - Any (Conditions) are true
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
- (Item being manipulated) Not equal to (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated))) to ((Charges remaining in (Item carried by (Hero manipulating item) of type (Item-type of (Item being manipulated)))) + (Charges remaining in (Item being manipulated)))
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Item - Remove (Last dropped item)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events