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

Crit Strike + Slow

Status
Not open for further replies.
Level 17
Joined
Apr 24, 2005
Messages
762
Edit: Actually displaying crit dmg isn't that important, i can just display Critical Hit! or something. But how exactly do i create a crit strike via triggers? If i do this: Unit - Cause Attacker to damage Attacked, dealing ((Damage taken) x 2.00) damage of attack type Normal and damage type Normal

then it will do normal damage + the normal dmg x 2
 
Last edited:
Level 17
Joined
Jun 12, 2007
Messages
1,261
Edit: Actually displaying crit dmg isn't that important, i can just display Critical Hit! or something. But how exactly do i create a crit strike via triggers? If i do this: Unit - Cause Attacker to damage Attacked, dealing ((Damage taken) x 2.00) damage of attack type Normal and damage type Normal

then it will do normal damage + the normal dmg x 2

It will show the critical message damage by default so don't worry.
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
No it doesn't... He's making a critical strike trigger, not a modification of the critical strike ability.

And you pretty much do need a damage detection system for this.

Whoops wasn;t reading all that well now was I.

Well do something like this:

- Event: Unit is attacked

- Conditions (all are true):
--- Unit is in range of 100 or something.
--- Conditions (any is true):
------ Attacking unit has spell critical strike (a passif spell that does nothing).

- Actions: Pick random integer between 0 and 100.
If it's below 15 x level of ability just deal unit damage x2 + show message damage taken.

It's late, I'm tired, and my wc3 shortcut is hidden in the menu so if this isn't possible then pardon me.
Basicly what I'm telling is to make a created critical.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
That method has 2 problems:

1) "damage taken" is only useable in response to "specific unit event", not "generic unit event" and thus you'll need a more complex system
2) it could be heavily abused by repeatedly pressing "S" (stop). When the unit stops, it's immediately ordered to attack again, causing the trigger to run again. Someone with a fast hand could trigger the critical strike each second...

Conclusion: you need a damage detection system
 
Level 17
Joined
Apr 24, 2005
Messages
762
just make new ability name it whatever u wonna crypling strike or whatever u wonna and make triger that when ability is used create dummy unit to cast slow to the targeted unit , that's the way maked on all maps

Critical strike is a passive ability, i can't make a trigger with "when ability is used".
Apparently i need a damage detection system, but all the good ones are in jass and i don't understand jass. The GUI ones are said to be sucky so i don't know what to do...
 
Status
Not open for further replies.
Top