• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Help with Unit - Damage Target

Status
Not open for further replies.
Level 2
Joined
Apr 24, 2005
Messages
11
I need some help with a spell, with the damage stuff specific, I have:
Unit - Order (Trigg Unit) to damage (Target of spell) for (agility of hero x 3.00) using attack type Hero and damage type Normal.
The unit attacks the target, but it deals normal damage, not the bonus. Why is that? From now thanks you.
-Argante.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Because this function does a fixed amount of damage... You just used a formula to determine the current damage of the hero (aproximately) by ordering him to damage the target using that formula. From now I don't know any way to detect the exact damage of an unit. I already tried it several times...

~Daelin
 
Level 2
Joined
Apr 24, 2005
Messages
11
Oh ok, thx Daelin, because I think it deals the damage + the calculations, I will try with Dummy then.
-Argante.
 
Level 7
Joined
May 16, 2004
Messages
355
Daelin said:
Because this function does a fixed amount of damage... You just used a formula to determine the current damage of the hero (aproximately) by ordering him to damage the target using that formula. From now I don't know any way to detect the exact damage of an unit. I already tried it several times...

~Daelin

Well if you want to detect the exact damage of a hero it is something along the lines of

Number between- (base damage+primary atti)+#of dice and (base damage+primary atti)+# of dice*#sides per die

I cant remeber but I think that should be the damage for a hero type unit
 
Status
Not open for further replies.
Top