Warcraft III resources & community, 2003–2006 · archived

Shield System 1.2

not rated
Submitted by shadow1500JASS Enhanced573 downloads27 KB
Screenshot
Screenshot
Allows you to add shields to units which block damage.

HandleVars by KaTTaNa

Version 1.1 - Added credit, fixed leaks.

Version 1.2 - Added function CreateShieldEx with 2 arguments - shield color and damage spill option, also fixed problem with armor also
File Name
Shield System 1.2.w3x
Author
Shadow1500
Download

Comments

5
amazing :P

oh ye it can be casted on allies too ( like power shield on WOW )

call CreateShield(GetSpellTargetUnit(),100,0,'Binf',3,0)

is a example.
GetSpellTargetUnit = targeted unit that you cast the spell on
100 = shield hp
0 = duration
binf= buff
3 = shield gerenation
0 = % reduction
so you cast mana or invuniribility to a unit other than self?

Check the spell before commenting.

Can u make it in levels? so level 1 - 50 damage shield, level 2 - 100 damage shield and so on.

Why should I? You can make it work like this without any modifications to the system.
sound pretty cool, may use it in one of my mapps
Can u make it in levels? so level 1 - 50 damage shield, level 2 - 100 damage shield and so on.
so you cast mana or invuniribility to a unit other than self?