Healing spell

Ormagon

New Member
Reaction score
1
ok so i got the hang of making a spell do damage depending on the casters attribbutes but now how do i do the same with healing an ally??

Code:
Slash
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Slash 
    Actions
        Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (3.00 x (Real((Strength of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
thats wat my trigger looks like
 

vypur85

Hibernate
Reaction score
803
Code:
Slash
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Slash 
    Actions
        Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + (3.00 x (Real((Strength of (Triggering unit) (Include bonuses)))))

Use Set life (to value) action. Then use arithmatic to achieve what you want in value setting. You should be able to do it since you know how to do the damage arithmatic.

:p 3 replies but... all are... :rolleyes:
 
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