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