HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Iron Maiden, the damage reflection curse

01-31-2004, 07:25 PM#1
Faradome
I am trying to make a debuff that causes the cursed enemy to take 20 damage per hit when it attacks another unit. Basically an inverted version of spiked barricades.

The required trigger seems pretty hard for my newbie mind. I have managed to find the Unit Is Attacked action, but I have no idea how to specify the condition "attacking unit is debuffed by Iron Maiden" and the effect "attacking unit takes 20 damage".

Help?
01-31-2004, 07:32 PM#2
Dark Illidan
you can put values that are below zero if activated under settings, then you can make new with -20%
01-31-2004, 07:56 PM#3
Alakafizz
Try something along these lines:

Code:
Iron Maiden
    Events
        Unit - A unit Is attacked
    Conditions
        ((Attacking unit) has buff [color=red]Iron Maiden[/color]) Equal to True      [i](Boolean condition)[/i]
    Actions
        Set [color=red]TheUnit[/color] = (Attacking unit)
        Unit - Set life of [color=red]TheUnit[/color] to ((Life of [color=red]TheUnit[/color]) - 20.00)
01-31-2004, 08:33 PM#4
Faradome
Halleluja! Thanks! :)

<-- is so n00b :p