• 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] Bonus Damage per Mana

Status
Not open for further replies.
Level 9
Joined
Oct 11, 2009
Messages
477
well.. I was thinking on how to do this one..
But I cant think of a way to do it.. >.<
This is basically a System .. That Adds Additional 1 damage per 5 Mana Points of the Unit..

some one help! >.<


Do you mean per attack or physical damage? If that's it I'll show you how.

  • <Name of the Trigger>
    • Events
      • Unit - A unit Is Attacked
    • Conditions
      • (No Conditions)
    • Actions
      • Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (Mana of Attacking unit/(5)) damage of attack type Normal and damage type Normal
Note:
/ - Division(Math Operator)
This is like the Backstab ability of Rikimaru in DotA.The damage bonus is not visible in the damage icon card but the attacked unit still receives the bonus damage.
 
Level 9
Joined
Oct 11, 2009
Messages
477
Hmmm.. Those might actually work.
and for the one you showed to me Sephiroth. I dun want something like that..
Its something like Item Bonus Damage.. >.<


What do you mean item bonus item damage? Like the ability that Claws of Attack can possess? If that's it, Just add the Boolean Condition "Attacking unit has item-type of Claws of Attack" but just like I said before, the damage bonus is not visible in the damage icon card.
 
Last edited:
Level 9
Joined
Oct 11, 2009
Messages
477
You can abuse the "An unit is attacked" script by pressing stop a lot of times.
Never use that event!

Instead use a damage detection system.

Then use a Custom Script line that removes leaked Issued Unit Order to avoid lags or leakage. I don't think if there's a valid JASS code for that because I am not good in JASS-ing.:sad::sad: Not sure of that.:grin:
 
Status
Not open for further replies.
Top