• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] custom CriticalStrike pls help

Status
Not open for further replies.
Level 5
Joined
May 27, 2007
Messages
144
Hi can someone help me to do a gui critical strike based on a buff ? im mean when a unit has buff xy it will have chance to criticalstrike but the criticalstrike (standard ability) shouldnt be added coz i would like to have it without (skill/spell) tooltip and icon etc.
it should start like this i think but i doesnt work
  • Criticalstrikebuff
    • Events
      • Unit - A unit is attacked
    • Conditions
      • ((Attacking unit) has buff Crits ) Equal to True
      • (Random integer number between 1 and 2) equal to 1
    • Actions
      • Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Damage taken) + (Damage taken)) damage of attack type Normal and damage type Normal
btw i have german editor so sry for mistakes ^^ PLS help
 
Level 8
Joined
Jul 22, 2008
Messages
331
with trigger you can add how many spells you want...
i think... or you can just create dummy unit which has (2 times your hero) damage.
or try with shift-clicking, but that means that your buff won't function.
 
Status
Not open for further replies.
Top