- Joined
- Nov 28, 2007
- Messages
- 203
something's wrong here, but i just dunno what -.- i've checked it over and over again for wrong stuff. i've noticed more and more wrong conditions/actions, but i can't see what's wrong anymore..
this trigger's made for setting the items into variables that i use in the second trigger:
this trigger's made for setting the items into variables that i use in the second trigger:
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set ItemType[1] = Claws of Attack +3
-
Set ItemType[2] = Claws of Attack +6
-
Set ItemType[3] = Claws of Attack +9
-
Set ItemType[4] = Claws of Attack +12
-
Set ItemType[5] = Claws of Attack +15
-
-
Add item
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[1]
-
(Item-type of (Item being manipulated)) Equal to ItemType[2]
-
(Item-type of (Item being manipulated)) Equal to ItemType[3]
-
(Item-type of (Item being manipulated)) Equal to ItemType[4]
-
-
-
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
For each (Integer B) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 1
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 2)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 2) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 2)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 2
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 3)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 3) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 3)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 3
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 4)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 4) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 4)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 4
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 5)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 5) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 5)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 5
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 6)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 6) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 6)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Integer A) Equal to 1
-
(Integer A) Equal to 2
-
(Integer A) Equal to 3
-
(Integer A) Equal to 4
-
-
-
(Integer B) Not equal to 6
-
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer B))) Equal to ItemType[(Integer A)]
-
(Item-type of (Item carried by (Hero manipulating item) in slot 1)) Equal to ItemType[(Integer A)]
-
(Item carried by (Hero manipulating item) in slot (Integer B)) Not equal to (Item being manipulated)
-
(Item carried by (Hero manipulating item) in slot 1) Not equal to (Item being manipulated)
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to ItemType[(Integer A)]
-
-
Then - Actions
-
Item - Remove (Item carried by (Hero manipulating item) in slot 1)
-
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
-
Item - Remove (Item being manipulated)
-
Hero - Create ItemType[((Integer A) + 1)] and give it to (Hero manipulating item)
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-
-
-
Last edited: