Warcraft III resources & community, 2003–2006 · archived

passiv skill

4 posts
#1

passiv skill

i want item with passiv skill eg.
a sword with 1% chance to do a chain lightning or 1% to heal yourself
how i can creat this spells?
#2
Try using the Orb of Lightning item ability.
#3
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
#4
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.