• Check out the results of the Techtree Contest #19!
  • 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

passiv skill

Status
Not open for further replies.
You would have to use triggers. When a unit buys that orb, you have to use

Random Intiger (or something like that <_<) between 1 and 100 (a function like this).

I don't know exacly how it works, because i never found it, i've searched for it so much : (.

-Rui
 
Create sth like this:

Events
A Unit is attacked/taking damage

Conditions
Attacking Unit carries item

Actions
If (Random Integer between 1-100) equal to 1 then do (lightning spell) else (do nothing)
If (Random Integer between 1-100) equal to 2 then do (heal spell) else do nothing

Of course this isn't the correct syntax, but it should give you an idea how to create the trigger.
 
Status
Not open for further replies.
Back
Top