Item Percent

emjlr3

Change can be a good thing
Reaction score
395
depends, if its on attack, add a bollean that a random number from 1-100 is less then your precent

actually same of its when casted too

this is to be added in teh cnditions part of your trigger
 

kiren17

New Member
Reaction score
2
i have an ax item, i use it on a tree. every 75% i get wood. how would i do that?
 

emjlr3

Change can be a good thing
Reaction score
395
ability is cast
if Random int from 1-100<=75 then
create wood

not too tough
 
S

Sunny_D

Guest
Code:
Event:
    Unit - A unit uses an item
Conditon:
    (Random Number between 1 and 100) less than or equal to 75  // Integer Comparison
    Item Type equal to Axe
Action:
    Player - Add property (wood) to (Owner of Triggering Unit)

Edit: meh... site not updated... didnt see emjlr3 's post ;)
 

kiren17

New Member
Reaction score
2
how would i make the item only target trees aka destructables?

(and dmg too would i just put like storm bolt buff on it?)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top