Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => Spherical artifact fixation syndrome is a problem amongst mages.
[Art] => ReplaceableTextures\CommandButtons\BTNElementalConvergence.blp
[abilList] => Array
(
)
[Name] => Spellfire Spheres
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 1000
[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_SPELL_DAMAGE_DEALT, -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_spellfirespheres_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_spellfirespheres_mb = MultiboardValues.create(1)
call ashbringer_spellfirespheres_mb.setKey(0,"Spellfire Spheres")
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[3] => Array
(
[name] => On Tower Details
[code] => call ashbringer_spellfirespheres_mb.setValue(0, formatPercentAddColor(I2R(itm.userInt)/400, 2))
return ashbringer_spellfirespheres_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_SPELL_DAMAGE_DEALT, 0.01)
set itm.userInt2 = itm.userInt / 4
endif
endif
[values] => Array
(
[explain] => Increases the spell damage 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] => 1000
[name] => Arcane Power
)
)
[5] => Array
(
[name] => On Item Pickup
[code] => call itm.getCarrier().modifyProperty(MOD_SPELL_DAMAGE_DEALT, I2R(itm.userInt2)/100.0)
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)