Okay so i'm trying to only limit heros to 1 item in their inventory of these classes: Permanent, artifact, and campaign.
My trigger currently doesn't let them pick up the item if it belongs to one of those classes even if their inventory is empty. Heres the trigger:
No one can help me? Cmon peeps >.<
My trigger currently doesn't let them pick up the item if it belongs to one of those classes even if their inventory is empty. Heres the trigger:
Code:
Events
Unit - A unit Acquires an item
Conditions
Actions
For each (Integer A) 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 being manipulated)) Equal to (Item-class of (Item carried by (Hero manipulating item) in slot (Integer A)))
(Item-class of (Item being manipulated)) Not equal to Purchasable
(Item-class of (Item being manipulated)) Not equal to Powerup
Then - Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)
Else - Actions
Do nothing