• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] How to increase healing and/or damage done with spells and/or effects

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
Every time a unit casts the spell you are talking about, you should add the conditions you need.

For example if your damage system works on a Integar/Real (I.E Hero Int = x) then you would want to do a condition before the spell that says if the hero has item or anything else, set (your integar = integar + x )
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
You have played World of Warcraft or WoW Allstars?
If you have, you know what I mean.

Post an example trigger, because I can't understand what are you saying! :/
• Example 1: 1 int = +10 spell damage/healing
• Example 2: Robe of the Magi = +50 spell damage/healing
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • Unknown
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Your_Ability
    • Actions
      • Set Spell_Damage = ((Intelligence of (Triggering unit) (Include bonuses)) x 10)
      • If (((Triggering unit) has buff Your_Buff) Equal to True) then do (Set Spell_Damage = (Spell_Damage + 100)) else do (Do nothing)
      • If (((Triggering unit) has an item of type Your_Item) Equal to True) then do (Set Spell_Damage = (Spell_Damage + 50)) else do (Do nothing)
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (Real(Spell_Damage)) damage of attack type Normal and damage type Normal
Spell_Damage can be either Integar or Real, depend how much accuracy you want for the damage.
 
Status
Not open for further replies.
Top