• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Trigger Damage Adding?

Status
Not open for further replies.
Level 3
Joined
Jun 2, 2014
Messages
64
I am making an ability to where each time the hero attacks, he gains some damage for about 30 seconds. And I am trying to look for a way to add damage to the attacking hero with triggers. I seem to not be able to find a way to do this. Please help me!!!
 
One option is to add item ability (item attack damage bonus or something like that) - that has a fixed amount tho. You can solve this problem by using a trick that consists of multiple levels that add certain amount and you mathematically compute levels to get the desired amount of bonus damage.

Another option is to use an already existing ability - for example Critical Strike (or Bash) with 100% chance for proc. Or Roar ability.

Last option is to use triggers and download and import a Damage Detection System (DDS) from the site. DDS allows you to manipulate damage done by any unit in the entire map without a need for anything else.
 
One can also use tomes to permanently modify damage (with negative ones to decrease damage). Remember to remove the tome items after use as by default all items that die (used on pickup) remain forever and can be considered a leak.

One can modify damage within a fixed range by using item damage modifiers of various amounts up to a certain limit. For example if you make 32 different item damage abilities in twos compliment binary increments you can get a range of -2,147,483,648 to 2,147,483,647. 32 different abilities is not trivial however and the damage range provided is far bigger than reasonable maps will ever require so a smaller number of abilities should suffice.
 
Status
Not open for further replies.
Back
Top