• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Skill Creation

Status
Not open for further replies.
Level 4
Joined
Sep 27, 2007
Messages
85
how do i create a skill that has a percent chance of casting an ability....or does that need a trigger?:huh::huh::huh:
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Triggers triggers and triggers

Conditions
If Random Integer Between 1,100 is smaller then <Chance> (17 = %17 for example)
Actions
PWN4Z0R THE TARGET
 
Level 6
Joined
Feb 12, 2008
Messages
207
i would recommend:

  • P4WN1NG TRIGGER
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Ability being cast) equal to Electric Shock
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 10) equal to 1
        • Then - Actions
          • Unit - Order unit to Farseer - Chain lightning to (Target of ability being cast)
        • Else - Actions
          • Do nothing
 
Status
Not open for further replies.
Top