Lord Regno
Active Member
- Reaction score
- 19
Function: Removes item from the shop then a player buy it.
Problem: Item does not get removed.
The Shop Abilitys: Shop sharing, Sell Items, Shop Purchase Item, Invulnerable (Neutral)
EDIT: I made the description simpler.
Problem: Item does not get removed.
The Shop Abilitys: Shop sharing, Sell Items, Shop Purchase Item, Invulnerable (Neutral)
Trigger:
- Item Int
- Events
- Map initialization
- Conditions
- Actions
- Set item_level[1] = Enchanted Gemstone
- Set item_level[2] = Enchanted Gemstone
- Set item_level[3] = Enchanted Gemstone
- Set item_level[4] = Enchanted Gemstone
- Set item_level[5] = Enchanted Gemstone
- Events
Trigger:
- Purchased
- Events
- Unit - A unit Pawns / Sells an item (from/to shop)
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Item-type of (Sold Item)) Equal to item_level[1]
- (Item-type of (Sold Item)) Equal to item_level[2]
- (Item-type of (Sold Item)) Equal to item_level[3]
- (Item-type of (Sold Item)) Equal to item_level[4]
- (Item-type of (Sold Item)) Equal to item_level[5]
- Conditions
- Or - Any (Conditions) are true
- Actions
- Neutral Building - Remove (Item-type of (Sold Item)) from (Sold/Selling unit)
- Events
EDIT: I made the description simpler.