- Joined
- Aug 12, 2007
- Messages
- 133
-
itemoftype
-
Events
- Unit - A unit Acquires an item
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-class of (Item being manipulated)) Equal to Permanent
- (Item-class of (Item being manipulated)) Equal to Charged
-
Then - Actions
-
For each (Integer inv) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-class of (Item carried by (Hero manipulating item) in slot inv)) Equal to (Item-class of (Item being manipulated))
-
Then - Actions
- Set itemint = (itemint + 1)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer inv) from 1 to 6, do (Actions)
-
Else - Actions
-
For each (Integer inv) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-type of (Item carried by (Hero manipulating item) in slot inv)) Equal to (Item-type of (Item being manipulated))
-
Then - Actions
- Set itemint = (itemint + 1)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer inv) from 1 to 6, do (Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- itemint Greater than 1
-
Then - Actions
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Game - Display to (All players) the text: You cannot carry tw...
-
Else - Actions
- Do nothing
-
If - Conditions
- Set itemint = 0
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
What is the problem?