Spell - Forked Lighing + Life drain

Fuin

New Member
Reaction score
0
K is it possible to make spell which hit for example 6 units (like forked lighting) with animation from life steal (Green link) and convert 50% dealt damage to hp for caster?
 

Arie

Cool Member
Reaction score
5
Yes, you can.

Base your spell from forked lightning, change the lightning effect you what lightning effect that you want, then do the trigger.
Until like this:

Unit - Cause Caster to damage Target, dealing ((Life of Target) / 2.00) damage of attack type Chaos and damage type Universal.
 

Caedin88

New Member
Reaction score
1
Yes, you can.

Base your spell from forked lightning, change the lightning effect you what lightning effect that you want, then do the trigger.
Until like this:

Unit - Cause Caster to damage Target, dealing ((Life of Target) / 2.00) damage of attack type Chaos and damage type Universal.


I think he wants the caster to gain 50% of the damage done by the spell. In which case you would need to create a damage calculating system or somthing, i've never done it.
 

PrisonLove

Hard Realist
Reaction score
78
well you can use if/then/else statements to figrue out what level teh abilitty is and then just add teh damage done/2 to teh caster. no need to trigger the damage you just have to adjust it according to what you set it in object editor. for example lets say in the object editor you have level 1 set to deal 100 damager and level 2 set to deal 200 damage you woudl do

if
level of multi drain (made that name up) equal to 1
set life of triggering unit to life of triggering unit + (100/2)
else
if
level of multi drain equal to 2
set life of triggering unit to life of triggering unit + (200/2)

and keep doing that for each level
 

b_ray210

Active Member
Reaction score
1
But that wouldn't always work because what if the target of the ability had less than 100 health?
 

Manix

Well-Known Member
Reaction score
29
Create a custom spell based on forked lightning, change the Lighgtning Effect to Life Drain and do this:

Code:
Required Trigger
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to < [COLOR="Red"]Your Spell[/COLOR] >
    Actions
        Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + ( < [COLOR="red"]Damage Dealt by Your Spell[/COLOR] > / 2.00))
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
You should add in a if/then to check if they have less than 100 hp left.
 
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