Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
So if you want to make to hero cannot have two items of type spell book you can do it like this
Events
Unit - A unit Sells an item (from shop)
Conditions
Or - Any (Conditions) are true
((Buying unit) has an item of type Spell Book 1) Equal to true
((Buying unit) has an item of type Spell Book 2) Equal to true
((Buying unit) has an item of type Spell Book 3) Equal to true
Or - Any (Conditions) are true
(Item-type of (Sold Item)) Equal to Spell Book 1
(Item-type of (Sold Item)) Equal to Spell Book 2
(Item-type of (Sold Item)) Equal to Spell Book 3
Actions
Game - Display to (Player group((Owner of (Buying unit))))the text: You can carry only one spells book
Item - Remove (Sold item)
Ofc Spell Book 1, 2 and 3 are only my names you can name it how you want. If you make it from this tutorial condition must be in the order like here if you want to work( it work for me). Tell me is it help you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.