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

[Trigger] Automatic Critical Strike/Evade

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
I tried to make this system for critical strikes and evades like this

  • Dodge
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Set ___Dodge = (Random integer number between 1 and 15)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ___Dodge Equal to 15
        • Then - Actions
          • Unit - Add Dodge to (Triggering unit)
          • Wait 0.50 seconds
          • Unit - Remove Dodge from (Triggering unit)
        • Else - Actions

Same thing for critical strike, the abilities are just 100%, but when it happens you can see the ability in the hero and then it disappears.
How can I make it so the player wouldn't be able to see it ?


Question 2.

How can I make high stairs ? with elevators its only untill "3" and its pretty low.
 
Last edited:
Level 4
Joined
Feb 22, 2005
Messages
110
There is easier alternative to that one.

Instead of adding "Dodge" for attacked unit:

Remove "Miss" Buff from attacker
Create a Dummycaster nearby attacking unit
Give 100% DrunkenWhatever with buff "Miss" to Dummycaster
Order Dummycaster to cast it on Attacking unit
Buff "Miss" should be one with no icon, no tooltip and so on.

You need a disabled spellbook with Critical strike in it.
 
Status
Not open for further replies.
Top