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

Give both ranged/melee splash damage of their basic attack damage

Status
Not open for further replies.
Level 4
Joined
Feb 13, 2015
Messages
60
Give both ranged/melee splash damage of their basic attack damage. A spell that makes units attacks do 50% of their attack damage to splash to nearby enemies. Help.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
You want it on a spell or is i enough to make it hardcoded on the unit-type itself?

Because then you can just add it to the unit-type.

But if you want the splash damage with an ability, I dont think that such an ability exist.
You will need a DDS and deal splash damage yourself.
(Be aware that not all DDS can do that without problems.)

EDIT:
Cleave could work.
 
Level 12
Joined
May 22, 2015
Messages
1,051
Cleave won't work on ranged units. You'd have to trigger it with damage detection.
 
Level 11
Joined
Jan 23, 2015
Messages
788
You DO NOT need a DDS for this, all you need is to add item attack fire bonus (I'm not sure if that's the name but you will find it under items, it's with an icon orb of fire).
Once you add that ability, you need to calculate and subtract those 50% from your unit's base damage (cause the ability adds those 50% splash damage to your base dmg too). Let's say your unit's base damage is 10, you make the ability to deal 5 splash damage and it also gives +5 dmg to your base dmg, so you subtract it.
If you want to make unit's attack damage to divide to nearby units on impact then all you need to do is make the unit's attack type to splash and adjust the AOE as you wish.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
That doesnt work.
Reducing by 50% does not the opposite of adding 50%
You need to add the inverse of 50%. which results in a decrease of 33.333%
But even that would not work as primary attribute, damage items and abilities and much much more also change your damage with that damage bonus.

Either make unit-types deal splash damage or use a DDS.
 
Level 11
Joined
Jan 23, 2015
Messages
788
Well yeah, I've messed that with my map where the units' base damage that have this ability never changes. I realised this later -_-.
But, you can still make damage divide on impact, else you really need a DDS. :/
 
Status
Not open for further replies.
Top