Warcraft III resources & community, 2003–2006 · archived

Damage Back

6 posts
#1

Damage Back

how do i make it so when a certain unit has this buff, the unit that cast the buff on him (enemy of the unit) deals damage equal to 1.5 times the damage dealt to the attacked unit
#2
make ursef/DL a lovely any unit takes damage event, i wont write my own here

make a condition that checks if unit has ability 'yourbuffcode' -- yes buffs are abilities

make an action that is unit - damage target for 1.5*GetEventDamage()
#3
Read my "The Basics of Trigger Enchancing Spells" tutorial. Check the chapter which mentions the creation of buff spells. As a dummy ability, add the unit, a disabled Spiked Carapace (I think that's its name, anyway, the ability of the Crypt Lord). If it doesn't work, add the ability to a spellbook and disable the spellbook!

~Daelin
#4
Read my "The Basics of Trigger Enchancing Spells" tutorial. Check the chapter which mentions the creation of buff spells. As a dummy ability, add the unit, a disabled Spiked Carapace (I think that's its name, anyway, the ability of the Crypt Lord). If it doesn't work, add the ability to a spellbook and disable the spellbook!

~Daelin
#5
lol for the double post daelin, but i dont think you understand what im going for, purple does though. But how do i get the GetEventDamage thing? im trying not to use JASS because i dont understand it, and all knowledge that i had of it once (i tried to learn it) is now gone, thanks to good ole mary jane
#6
well, make a few triggers. One is a very simple one that checks whenever a unit is created in any way.

It adds an event to a trigger with NO EVENTS that dies what you want it to do that is (Triggering unit is damaged)

the trigger that had no events checks if Triggering Unit is the unit with the ability

use the Real that is Event Damage or something like that