Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => Used for fueling wacky rituals.
[Art] => ReplaceableTextures\CommandButtons\BTNBigBadVoodooSpell.blp
[abilList] => Array
(
)
[Name] => Voodoo Fetish
)
[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_MANA_PERC, -I2R(itm.userInt2)/100.0)
call itm.getCarrier().modifyProperty(MOD_MANA_REGEN_PERC, -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_fetish_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_fetish_mb = MultiboardValues.create(1)
call ashbringer_fetish_mb.setKey(0,"Voodoo Fetish")
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[3] => Array
(
[name] => On Tower Details
[code] => call ashbringer_fetish_mb.setValue(0, formatPercentAddColor(I2R(itm.userInt)/400, 2))
return ashbringer_fetish_mb
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[4] => Array
(
[name] => On Kill
[code] => if itm.userInt < 600 then
set itm.userInt = itm.userInt + 1
if ModuloInteger(itm.userInt, 4) == 0 then
call itm.getCarrier().modifyProperty(MOD_MANA_PERC, 0.01)
call itm.getCarrier().modifyProperty(MOD_MANA_REGEN_PERC, 0.01)
set itm.userInt2 = itm.userInt / 4
endif
endif
[values] => Array
(
[explain] => The fetish increases the maximum mana and mana regeneration of the holder by |cffFFFF800.25%|r for each kill, up to a maximum of |cffFFFF80150%|r bonus. This bonus is bound to the item.
[visible] => true
[goldcost] => 1500
[name] => Voodoo Power
)
)
[5] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty(MOD_MANA_PERC, I2R(itm.userInt2)/100.0)
call itm.getCarrier().modifyProperty(MOD_MANA_REGEN_PERC, I2R(itm.userInt2)/100.0)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)