• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Increasing attack depending on armour?

Status
Not open for further replies.
You don't need a Trigger for that, you can modyfy an Attack-Type to this settings.
Check out "advanced - Game Constants - Combat" there is the Attack/Armor Multiply table.

Edit: If you allready use all Attacktypes.
There is another way but it takes some amount of stuff.
  • A DDS.
  • Save all Attacktypes and Armortypes of all Unit-Types.
  • Use the DamageModyfier Event
  • -> Check for not beeing Spell and beeing the Attack target
  • -> Check out the Armor/Attack type stuff.
  • Do you Multiplier
 
Level 8
Joined
Jul 29, 2010
Messages
319
You don't need a Trigger for that, you can modyfy an Attack-Type to this settings.
Check out "advanced - Game Constants - Combat" there is the Attack/Armor Multiply table.

Edit: If you allready use all Attacktypes.
There is another way but it takes some amount of stuff.
  • A DDS.
  • Save all Attacktypes and Armortypes of all Unit-Types.
  • Use the DamageModyfier Event
  • -> Check for not beeing Spell and beeing the Attack target
  • -> Check out the Armor/Attack type stuff.
  • Do you Multiplier
i don't know of any conditions that can check attack type or armour type
 
DDS at least allows to get "original" damage.

Then read this thread in Lab: GetUnitArmor
It's not waterproof, but should work for most cases to get the armor value.
If you don't know how to use it, you can say. In GUI 1 line of custom script would be needed.

I'm not sure if you want to work with attack types and such -- if you want, then this tutorial is very informative, and worth reading: WC3's Damage System
 
Level 8
Joined
Jul 29, 2010
Messages
319
DDS at least allows to get "original" damage.

Then read this thread in Lab: GetUnitArmor
It's not waterproof, but should work for most cases to get the armor value.
If you don't know how to use it, you can say. In GUI 1 line of custom script would be needed.

I'm not sure if you want to work with attack types and such -- if you want, then this tutorial is very informative, and worth reading: WC3's Damage System
this was so helpful, thank you so much :D :D
 
Status
Not open for further replies.
Top