spell help

Kikac_NNGK

Well-Known Member
Reaction score
33
hi can some1 tell me how to make "Death Pact" (Chinkz). I made it but it can be cast only to undead units so can u tell me how to make it?
 

Sirroelivan

Gunnerkrigg Court
Reaction score
95
What do you mean, make it by triggers?

To make it by triggers: make a dummy ability based on channel (luckily channel uses death pact art, so you only have to change the tooltips)

Then use a trigger like this

Code:
Death Pact
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Death Pact (custom)
    Actions
        Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + ((Life of (Target unit of ability being cast)) x (Real((Level of Death Pact (custom) for (Casting unit))))))
        Unit - Kill (Target unit of ability being cast)

Edit: I've uploaded a map to show it.
 

Attachments

  • Custom Death Pact.w3x
    16.7 KB · Views: 79

Cheddar

This is the way it was meant to be.
Reaction score
126
Actually, there was a question like this before, and I'll go steal the previous answer:

Remove the "Undead" classification from any unit you want to be able to cast this on.

As a side note, the hero's name is "Clinkz". The word you used means something else entirely...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top