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

Damage Back

Status
Not open for further replies.
Level 3
Joined
Aug 28, 2005
Messages
48
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
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
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
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
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
 
Level 3
Joined
Aug 28, 2005
Messages
48
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
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
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
 
Status
Not open for further replies.
Top