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!
Edit : Ok try this trigger now,im not sure if it works right but....
Untitled Trigger 001
Events
Unit - A unit Sells an item (from shop)
Conditions
And - All (Conditions) are true
Conditions
(Charges remaining in (Sold Item)) Greater than or equal to 2
(Item-type of (Sold Item)) Equal to Potion of Healing
Actions
Player - Add 400 to (Triggering player) Current gold
You need to set the the value of item to player add properties gold,1 trigger for each item with charges,or we need to think of another way,so this should work like this : When some1 buys an item and if that item has more than 2 or equal to 2 charges,add the player gold back,should work as constant and not charging the player amount of gold if he already bought the item once.
You can remove the gold cost like what they do in dota. Then show the price of the item beside the name of the item. Then you deduct the gold via triggers. You may also show the selling price of the item on the item description and gain gold via triggers as what Lifee has shown on the post above your post.
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.