• 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.

Item Sets (random item sets for a unit)

Status
Not open for further replies.
Level 5
Joined
Feb 19, 2008
Messages
110
Is there any way to make a trigger action that gives a unit an item set? or spawn an item set?
 
Level 5
Joined
Feb 19, 2008
Messages
110
srry for bad explaining, :sad: the problem is: is it able to make a trigger action that, example: Give unit an item set= 5% mask of death, 10%tome of experience, and 85% stome of strenght. (hope this explains the problem better)
 
Level 9
Joined
Apr 3, 2008
Messages
700
Math --> Random Number
Hero --> Create item for Hero

Set RN = Get random integer (1,20)

if RN <=2
Create "tome of experience" for Hero

else RN ==3
Create "mask of death" for Hero

if RN >=4
Create "stone of strenght" for Hero
 
Status
Not open for further replies.
Top