Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Doom's Ensign
[Art] => ReplaceableTextures\CommandButtons\BTNGlyph.blp
[Ubertip] => This relic is imbued with dark powers.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => cedi
[authorDisplay] => cedi
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 1500
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => if Event.isMainTarget() then
call BT.apply( itm.getCarrier(), Event.getTarget(), itm.getCarrier().getLevel() )
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => false
[name] =>
[goldcost] => 0
[ONDAMAGE_chanceLevelAdd] => 0.0
[explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType BT
endglobals
//Do not remove or rename this function!
//Put your initialization tasks here, this function will be called on map init
private function init takes nothing returns nothing
local Modifier m = Modifier.create()
set BT = BuffType.create( 5.00, 0.00, false )
call m.addModification( MOD_ARMOR_PERC, -0.10, -0.006 )
call BT.setBuffModifier( m )
call BT.setBuffIcon( '@@0@@' )
endfunction
[values] => Array
(
[visible] => true
[name] => Ensign's Touch
[goldcost] => 1500
[explain] => When the user of this item attacks an enemy it decreases the armor of the target by |cffFFFF8010%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r armor decrease
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Ensign's Touch
[Targetattach] => head
[Buffubertip] => This unit is demotivated, it has decreased armor.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNGlyph.blp
[TargetArt] => Abilities\Spells\Other\HowlOfTerror\HowlTarget.mdl
[EditorName] => Ensign's Touch
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)