hey there,
I'm trying to make a spell that very basically modifies the attack of some units ( I just want to make "all picked units" attack for X% more damage when they attack units belonging to player Y ). I am having trouble detecting a few aspects necessary for this -
how much damage the unit is doing or alternatively if the unit is using weapon index1 or 0
what type of damage the unit is doing
when the unit is doing the damage (so that that the damage I add happens at the same time as the unit is attacking)
I assume what I need is some kind of damage engine(/Ddetection system?) and would be happy for a suggestion of a reliable one that works with patch 1.31
If that is not the most straightforward solution to this I would be happy to hear what is.
thanks!
I'm trying to make a spell that very basically modifies the attack of some units ( I just want to make "all picked units" attack for X% more damage when they attack units belonging to player Y ). I am having trouble detecting a few aspects necessary for this -
how much damage the unit is doing or alternatively if the unit is using weapon index1 or 0
what type of damage the unit is doing
when the unit is doing the damage (so that that the damage I add happens at the same time as the unit is attacking)
I assume what I need is some kind of damage engine(/Ddetection system?) and would be happy for a suggestion of a reliable one that works with patch 1.31
If that is not the most straightforward solution to this I would be happy to hear what is.
thanks!