Drop 1 charge

zaqer50

TH.net Regular
Reaction score
3
Is there a way so that when you use a certain potion, instead of using it, it drops it on the ground at your feet?

thanks in advance :)
 
P

Persen

Guest
I cant say exactly ho to do it, but try creating an item at the hero's feet and reducing charges if the item in the inventory.
 
H

Heptameron

Guest
zaqer50 said:
Is there a way so that when you use a certain potion, instead of using it, it drops it on the ground at your feet?

thanks in advance :)
Do you want the potion to take effect or not? Does this potion have multiple charges or just one?

Assuming you want it to work, and it only has one charge:
Code:
Drop Potion On Use
    Events
        Unit - A unit Uses an item
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Item-type of (Item being manipulated)) Equal to [i]<item type 1>[/i]
                (Item-type of (Item being manipulated)) Equal to [i]<item type 2>[/i]
                [i]<etc.>[/i]
    Actions
        Item - Create (Item-type of (Item being manipulated)) at (Position of (Hero manipulating item))
 

zaqer50

TH.net Regular
Reaction score
3
acually, other way around.

It has mutliple charges but doesnt use the effect. The thing im using right now drops it but when you use it at 1 charge it just makes it have none but stay in your inventory...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top