• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your 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