• 🏆 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!

Death Pact effect

Status
Not open for further replies.
Level 3
Joined
Sep 3, 2007
Messages
30
Hey, how do i make it so when i cast death pact on an allied unit it doesnt have to be undead.

i get this "Must target an undead unit"

do i need a trigger?

thanks
 
Level 7
Joined
Sep 5, 2006
Messages
334
Use dummy a spell (any thing that can target whatever you want), make a trigger
  • <Insert Your trigger name here>
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Dummy spell
    • Actions
      • Unit - Set life of (Casting unit) to ((Life of (Target unit of ability being cast)) + (Life of (Casting unit)))
      • Unit - Kill (Target unit of ability being cast)
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
No, you cannot do it with a death pact based ability.
What to base it on depends on what you want to do.
You want just to target allies or Allies and enemies or just enemies.
Channel or a buff like inner fire, bloodlust and etc
 
Status
Not open for further replies.
Top