Its an item combine, and i want so if the hero has any of the 4 swords it will still work. Will it bug if the game tries to remove an item the hero doesnt have? If so how could i get around that
Trigger:
- Godly Sword of Pain
- Events
- Unit - A unit enters Item Combine <gen>
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Entering unit) has (Item carried by (Entering unit) of type Upgrade Gem)) Equal to True
- ((Entering unit) has (Item carried by (Entering unit) of type Godly Gem)) Equal to True
- ((Entering unit) has (Item carried by (Entering unit) of type Sword)) Equal to True
- Or - Any (Conditions) are true
- Conditions
- ((Entering unit) has (Item carried by (Entering unit) of type Ultimate Sword of Desolation)) Equal to True
- ((Entering unit) has (Item carried by (Entering unit) of type Ultimate Sword of Flame)) Equal to True
- ((Entering unit) has (Item carried by (Entering unit) of type Ultimate Sword of Frost)) Equal to True
- ((Entering unit) has (Item carried by (Entering unit) of type Ultimate Sword of Lightning)) Equal to True
- Then - Actions
- Item - Remove (Item carried by (Entering unit) of type Ultimate Sword of Desolation)
- Item - Remove (Item carried by (Entering unit) of type Ultimate Sword of Flame)
- Item - Remove (Item carried by (Entering unit) of type Ultimate Sword of Frost)
- Item - Remove (Item carried by (Entering unit) of type Ultimate Sword of Lightning)
- Item - Remove (Item carried by (Entering unit) of type Upgrade Gem)
- Item - Remove (Item carried by (Entering unit) of type Godly Gem)
- Item - Remove (Item carried by (Entering unit) of type Sword)
- Item - Create Godly Sword of Pain at (Position of (Entering unit))
- Hero - Give (Last created item) to (Entering unit)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events