Warcraft III resources & community, 2003–2006 · archived

Damage Delay System

not rated
Submitted by paskovichJASS Enhanced211 downloads26 KB
No preview survived for this resource
The Thick Skin ability causes a unit to feel the pained caused by attack seconds later.

You can set two modes:

-Only attack damage is delayed

-All damage types are delayed (spell, poison, etc.)
File Name
Delay Damage v1.01.w3x
Author
Paskovich
File unavailable

This entry's record survives but its file did not. 231 of 14,336 resources are in this state.

Comments

11
paskovich... fix the leaks
so?

all you add is a true, false then later a WEAPON_TYPE_WHOKNOWS :P
i use only this one, cause the one without BJ needs too much things... :D
dont use BJs :P
i don't think this happens... when i kill a unit, it will still damage my hero, but not for 1000000000...
it works properly.
i don't know where you got that from.
Add a check wether the damager lives or not at the end please, because if the unit that deals the damage in
call UnitDamageTargetBJ

dies during the delay, the damage dealt will be 10000000000000 Trillion, thus, the Hero will just die.
oh, i didn't think of ranged attacks! i must increse the wait time before the damage trigger is destroyed... will update it!


*UPDATED* - changelog in the script ;)
Very Nice.. and well thought out too.. And the fact that the dmg taken can pile up a lot makes it balanced a lot cause you don't know when to heal or not.
doesnt work with ranged attacks =/

(hope u know that)

but kool!
It is indeed unique..
I like it :)
The two modes are:
1) Only attack damage is delayed
If the unit is attacked, it will take the damage seconds later.
2) All damage is delayed
If the unit is damaged, by an attack or a spell, it will take the damage seconds later.

I didn't put this in a spell pack, cause it's unique and special. :)