Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => Once a powerful user of demonic magic, the demons answered his calls and found a greater use for his head.
[Art] => ReplaceableTextures\CommandButtons\BTNGuldanSkull.blp
[abilList] => Array
(
)
[Name] => Skull of Gul'dan
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 1500
[author] => Ashbringer
[authorDisplay] => |cffFF6600Ashbringer|r
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Drop
[code] => call itm.getCarrier().modifyProperty(MOD_TRIGGER_CHANCES, -I2R(itm.userInt2)/100.0)
call itm.getCarrier().modifyProperty(MOD_BUFF_DURATION, -I2R(itm.userInt2)/100.0)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[1] => Array
(
[name] => On Item Creation
[code] => set itm.userInt = 0
set itm.userInt2 = 0
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[2] => Array
(
[name] => Header
[code] => globals
MultiboardValues ashbringer_skullguldan_mb
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 ashbringer_skullguldan_mb = MultiboardValues.create(1)
call ashbringer_skullguldan_mb.setKey(0,"Skull of Gul'dan")
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[3] => Array
(
[name] => On Tower Details
[code] => call ashbringer_skullguldan_mb.setValue(0, formatPercentAddColor(I2R(itm.userInt)/500.0, 2))
return ashbringer_skullguldan_mb
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[4] => Array
(
[name] => On Kill
[code] => if itm.userInt < 500 then
set itm.userInt = itm.userInt + 1
if ModuloInteger(itm.userInt, 5) == 0 then
call itm.getCarrier().modifyProperty(MOD_TRIGGER_CHANCES, 0.01)
call itm.getCarrier().modifyProperty(MOD_BUFF_DURATION, 0.01)
set itm.userInt2 = itm.userInt / 5
endif
endif
[values] => Array
(
[explain] => The skull increases the buff duration and trigger chances of the holder by |cffFFFF800.2%|r for each kill, up to a maximum of |cffFFFF80100%|r bonus. This bonus is bound to the item.
[visible] => true
[goldcost] => 1500
[name] => Darkness Incarnate
)
)
[5] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty(MOD_TRIGGER_CHANCES, I2R(itm.userInt2)/100.0)
call itm.getCarrier().modifyProperty(MOD_BUFF_DURATION, I2R(itm.userInt2)/100.0)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)