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

Roll The Bones ability from WoW

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
167
Hello everyone, i am wondering if its possible to make this ability work and how? Can we just put a trigger that picks a random number between 1 and 10 everytime we click/use the ability and then for each specific number to gain different buff?
 
Events:
A unit starts the effect of an ability
Conditions:
Ability being cast equal to Roll The Bones
Actions:
Create a Dummy unit
Set Variable Roll = A random number between 1 and 3
If Roll = 1 then Add Ability 1 to Dummy -> Order Dummy to cast Ability 1 on Triggering Unit
If Roll = 2 then Add Ability 2 to Dummy -> Order Dummy to cast Ability 2 on Triggering Unit
If Roll = 3 then Add Ability 3 to Dummy -> Order Dummy to cast Ability 3 on Triggering Unit
 
Events:
A unit starts the effect of an ability
Conditions:
Ability being cast equal to Roll The Bones
Actions:
Set Variable Roll = A random number between 1 and 3
Create a Dummy unit
If Roll = 1 then Add Ability 1 to Dummy -> Order Dummy to cast Ability 1 on Triggering Unit
If Roll = 2 then Add Ability 2 to Dummy -> Order Dummy to cast Ability 2 on Triggering Unit
If Roll = 3 then Add Ability 3 to Dummy -> Order Dummy to cast Ability 3 on Triggering Unit
Thank you sir! ;3
 
Status
Not open for further replies.
Back
Top