Getting death pact to work on all units

Jonny-Reaper

Active Member
Reaction score
0
I'm tryint to get death pact to work on all units aswell as the undead but i dont know how :( any suggestions?
 

bananaHUNT

You can change this now in User CP
Reaction score
55
No you can't change it in the Object Editor, this is hard coded into the game, you can trigger it however:
Code:
Death Pact
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Death Pact
    Actions
        Unit - Set life of (Casting unit) to ((Life of (Casting unit)) + (Life of (Target unit of ability being cast)))
        Unit - Set mana of (Casting unit) to ((Mana of (Casting unit)) + (0.50 x (Mana of (Target unit of ability being cast)))) [optional]
        Unit - Kill (Target unit of ability being cast)
This will gain you full health points of the target and half mana.
 

bananaHUNT

You can change this now in User CP
Reaction score
55
Can you explain how or why it doesn't work? Did you create the dummy ability?:
Create an ability that does nothing, besides targeting a unit. ex. Storm Bolt or Holy Light and change the effects so it does nothing (damage to 0, stun to 0, whatever, but keep the cooldown and manacost of your ability).
 

shinami

Redirect your complaints to the nearest wall
Reaction score
47
Just a note: If you use storm bolt and set the stun to 0 it will be infinite. Do 0.1 instead..

EDIT: Just now i understood that doesnt matter since death pact kills the target <_<
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top