Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Workbench
[Art] => ReplaceableTextures\CommandButtons\BTNBasicStruct.blp
[Ubertip] => This bench is used to improve other items.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => Boekie
[authorDisplay] => |cff00CD00Boekie|r
[balanceTip] => Array
(
)
[rarity] => unique
[goldcost] => 300
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Creation
[code] => set itm.userReal = 0.00
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call boekie_itemQualBonus.setValue(0,formatPercent(itm.userReal,2))
return boekie_itemQualBonus
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[2] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty( MOD_ITEM_QUALITY_ON_KILL, itm.userReal )
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[3] => Array
(
[name] => Header
[code] => globals
MultiboardValues boekie_itemQualBonus
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_itemQualBonus = MultiboardValues.create(1)
call boekie_itemQualBonus.setKey(0,"Workbench")
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[4] => Array
(
[name] => On Item Drop
[code] => call itm.getCarrier().modifyProperty( MOD_ITEM_QUALITY_ON_KILL, -itm.userReal )
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[5] => Array
(
[name] => On Kill
[code] => call itm.getCarrier().modifyProperty( MOD_ITEM_QUALITY_ON_KILL, -itm.userReal )
set itm.userReal = itm.userReal + 0.0015
call itm.getCarrier().modifyProperty( MOD_ITEM_QUALITY_ON_KILL, itm.userReal )
[values] => Array
(
[visible] => true
[name] => Improve Item
[goldcost] => 300
[explain] => Every kill increases item quality by |cffFFFF800.15%|r. The quality improvement is bound to the item.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)