Price reduction

BlueTeeth

New Member
Reaction score
3
I am making an item called edge (like the one in Diablo), and I am trying to figure out if it is possilbe to reduce the price of all items by 15% for the player who aquires edge. I don't know if this is even possilbe, but if I can't do it I'm not gonna make the item. Any suggestions? Thanks
 

Don

Rise with the Fallens!
Reaction score
52
Code:
edge
    Events
        Unit - A unit Acquires an item
    Conditions
        ((Hero manipulating item) has an item of type Claws of Attack +3) Equal to True
    Actions
        Player - Add ((Charges remaining in (Item being manipulated)) / 6) to (Owner of (Hero manipulating item)) Current gold

Replace claws of attack +3 by edge.

/6 should be 15% of the price (a little bit more but... we can't put decimal numbers in arithmetic!)
 
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