shinjay5882
New Member
- Reaction score
- 0
Hi im trying to get a Death Pact, Dark Ritual like spells. I want it to work on friendly units whether they are organic or undead. I tried using the dummy spells; Holy Light, Death Pact and Healing Wave. Holy Light works only on living units, Death Pact only on Undead and Healing is same as Holy Light. But i want it to work on all Friendly Unit, but not summon and Etheral.
Heres a little trigger for my dummy spell, got it from Tinki's Multi Life Drain. I reworked it only for a single target.
Heres a little trigger for my dummy spell, got it from Tinki's Multi Life Drain. I reworked it only for a single target.
Trigger:
- Soul Leech
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Soul Leech
- Actions
- Set SoulCaster = (Triggering unit)
- Set SoulDMG = ((Level of Soul Leech for (Triggering unit)) x 200)
- Set SoulLife = (Life of (Target unit of ability being cast))
- Unit - Cause SoulCaster to damage (Target unit of ability being cast), dealing (Real(SoulDMG)) damage of attack type Spells and damage type Normal
- Set SoulRealLife = (Life of (Target unit of ability being cast))
- Set SoulAmount = (SoulLife - SoulRealLife)
- Unit - Set life of SoulCaster to ((Life of SoulCaster) + SoulAmount)
- Unit - Set mana of SoulCaster to ((Mana of SoulCaster) + SoulAmount)
- Events