• 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] Trouble with bonus dmg and items

Status
Not open for further replies.
Level 3
Joined
Jun 20, 2008
Messages
43
Hello :(
Now I'm very confused, I explain first what I want to do :

I have :

Hero X 20 Strength; 0 Bonus Dmg
Enemy Y 40 Strength ; 10 Bonus Dmg

(Strenght = Power how ever or how ever)

Now :
  • Event - A unit is attacked
  • Condition - Attacking unit X
Then I want something like this :
  • If Y Strength+Bonus > Strength X + Bonus then
  • Set X strength + Bonus = Y Strenght + Bonus Dmg
So first of all I need something to save Strength + Bonus Dmg.
I thought about items but I realy don't have an idea how to go ahead with this.
I propably just need to know how to handle it with the Bonus Dmg.
I tried it with items, but I probably can't change the value of the Bonus Dmg of the item :/
Would be nice of you could help me
 
Status
Not open for further replies.
Top