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

simple problem

Status
Not open for further replies.
Level 4
Joined
Nov 17, 2007
Messages
57
hello :) im quite new to world editor and i tried to make a trigger to do so my critical strike would damage the one who crits. I made the trigger like this:

Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Corrupted Blood
Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 7.00)

whats wrong with this trigger? (corrupted blood = my crit ability :))
 
Level 3
Joined
Aug 20, 2008
Messages
40
hello :) im quite new to world editor and i tried to make a trigger to do so my critical strike would damage the one who crits. I made the trigger like this:

Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Corrupted Blood
Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 7.00)

whats wrong with this trigger? (corrupted blood = my crit ability :))

your ability is aura or cast?
if cast then
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Corrupted Blood
  • Actions
    • Unit - Set life of (Target of ability is being cast) to ((Life of (Target of ability is being cast)) - 7.00)
 
Level 4
Joined
Nov 17, 2007
Messages
57
ok :) thanks both, and the example you gave me Selphie worked when i tested with breath of fire, but didnt work on my ability since its a proc or whatever (critical strike <.<).
and thanks berzerker :) ill check it out
 
Status
Not open for further replies.
Top