[Spell] Stats Improve Spell Damage?

Status
Not open for further replies.
Level 2
Joined
Jun 24, 2013
Messages
6
How do i create this what variable do i need i feel so stupid for asking this but i have to >.<

someone mind showing me how to make the trigger :)
 
Example:
  • Untitled Trigger 103
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set realVariable = ((Real((Strength of (Triggering unit) (Include bonuses)))) x (Real((Level of (Ability being cast) for (Triggering unit)))))
      • Unit - Cause (Triggering unit) to damage (Target unit of (Ability being cast)), dealing realVariable damage of attack type...

Use Conversion - convert integer to real to be able to use the hero attribute and ability level. Hero attributes adn ability levels are integers and you need a real value. Use Arithmetic function to use +, -, x and /.
 
Status
Not open for further replies.
Back
Top