Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Portable Tombstone
[Art] => ReplaceableTextures\CommandButtons\BTNAnkh.blp
[Ubertip] => A dark artefact from a graveyard seldom spoken of.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => Boekie
[authorDisplay] => |cff00CD00Boekie|r
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 50
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Creation
[code] => set itm.userInt = 0 //number of innocent creeps slaughtered mercilessly.
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call boekie_tombstonejibs.setValue(0,I2S(itm.userInt))
return boekie_tombstonejibs
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[2] => Array
(
[name] => Header
[code] => globals
MultiboardValues boekie_tombstonejibs
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
set boekie_tombstonejibs = MultiboardValues.create(1)
call boekie_tombstonejibs.setKey(0,"Tombstone Kills")
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[3] => Array
(
[name] => On Attack
[code] => local Tower tower = itm.getCarrier()
local Unit creep = Event.getTarget()
if creep.getSize() < SIZE_CHAMPION and tower.calcChance((0.0025+(tower.getLevel()*0.0001)) * tower.getBaseAttackspeed()) then
call tower.killInstantly(creep)
call SFXAtUnit("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl",creep.getUnit())
set itm.userInt = itm.userInt + 1
endif
[values] => Array
(
[visible] => true
[name] => Curse of the Grave
[goldcost] => 50
[explain] => This item has a |cffFFFF800.25%|r attackspeed adjusted chance on attack to kill a non boss, non champion target immediately.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.01%|r chance
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0005
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)