• 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.

Is there a way to add new attack types?

Status
Not open for further replies.
Level 21
Joined
Mar 27, 2012
Messages
3,232
Sadly warcraft only has slots for the existing ones.
However, you can make this with a damage detection system. You simply give units something you can use to know which kind of armor and damage they have. Ability maybe. This would also allow having multiple armor and attack types on same unit.
 
Sadly warcraft only has slots for the existing ones.
However, you can make this with a damage detection system. You simply give units something you can use to know which kind of armor and damage they have. Ability maybe. This would also allow having multiple armor and attack types on same unit.

Such thing be will too much for my map who hates lags, thanks for trying to help +rep


Resources
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Damage detection systems do increase the time taken to deal damage (as all that JASS is slow). This makes them a problem if you deal a lot of damage all the time.

For most maps you can safely use damage detection systems as long as you keep the code clean and simple.
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
I want to add new attack types, magic(fire), magic(water), magic (earth) and magic (wind) - in addition to the existing seige/normal/pierce/hero/chaos/spell types, is this possible?

exist but anyway u dont choose that because we already told alot times about damage detection system usage and not the default wc3 attack/armor type :p

u can check my map, there also 5 element attack and defence and dont have any relationship with the normal armor and attack types

makeing with dds your own armor/attack type doesnt make it really slow since it is simple until u do it well
 
Status
Not open for further replies.
Top