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

Need help for a spell!

Status
Not open for further replies.
Level 14
Joined
May 22, 2010
Messages
362
  • Melee Initialization
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Set Random = (Random integer number between 1 and 5)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Random Equal to 3
        • Then - Actions
          • Hero - Modify Strength of (Casting unit): Add 10
        • Else - Actions
          • Do nothing
This will give the unit a 1 out of 5 chance to gain 10 str when it cast blink.
Change the triggering spell, chance and effect and you should be able to make what you want.
 
Level 5
Joined
Feb 3, 2012
Messages
107
can u be more specific? do u mean like a GUI spell or normal blizzard spell? if GUI WhiteDeath got it right. if normal blizzard spell, theres lots of tutorials out there ( i think). P.S. give WhiteDeath some +rep for helping.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Random integer number between 1 and 100) Less than or equal to 20
    • Then - Actions
      • -------- ACTIONS HERE --------
    • Else - Actions
Less than or equal to 20 from 1 ~ 100 = 20% of the time
 
Status
Not open for further replies.
Top