Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Soul Collectors Cloak
[Art] => ReplaceableTextures\CommandButtons\BTNCloakOfFlames.blp
[Ubertip] => This cloak has the special ability to absorb the souls of units that are killed by the user of the cloak.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => cedi
[authorDisplay] => cedi
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 1000
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Creation
[code] => set itm.userInt = 0
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call cedi_dpsCloakMB.setValue(0, I2S(itm.userInt))
return cedi_dpsCloakMB
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[2] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty(MOD_DPS_ADD, itm.userInt)
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[3] => Array
(
[name] => Header
[code] => globals
MultiboardValues cedi_dpsCloakMB
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 cedi_dpsCloakMB = MultiboardValues.create(1)
call cedi_dpsCloakMB.setKey(0,"DPS Gained")
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[4] => Array
(
[name] => On Item Drop
[code] => call itm.getCarrier().modifyProperty(MOD_DPS_ADD, -itm.userInt)
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[5] => Array
(
[name] => On Kill
[code] => if itm.userInt < 4000 then
call itm.getCarrier().modifyProperty(MOD_DPS_ADD, 20)
set itm.userInt = itm.userInt + 20
endif
[values] => Array
(
[visible] => true
[name] => Soul Power
[goldcost] => 1000
[explain] => Each time the user of this cloak kills a unit, its dps is increased by |cffFFFF8020|r. There is a maximum of |cffFFFF804000|r bonus dps. The extra damage is bound to the item.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)