• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

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