Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Ubertip] => Even if this item isn't really valuable it is still very rare.
[Art] => ReplaceableTextures\CommandButtons\BTNPendantOfEnergy.blp
[abilList] => Array
(
)
[Name] => Pendant of Mana Supremacy
)
[settings] => Array
(
[balanceTip] => |n|cffFFFF80Specials:|r|n|cffFFFF00-38% |rattackspeed (|cffFFFF00+1%|r/lvl)|n|cffFFFF00+100% |rmana regen (|cffFFFF00+1%|r/lvl)
[goldcost] => 1672
[author] => cedi
[authorDisplay] => cedi
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_ATTACKSPEED
[base] => -0.38
[add] => 0.01
)
[1] => Array
(
[id] => MOD_MANA_REGEN_PERC
[base] => 1
[add] => 0.01
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Item Creation
[code] => set itm.userInt = 0
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
[1] => Array
(
[name] => On Spell Cast
[code] => local Tower T = itm.getCarrier()
local unit t = T.getUnit()
if not ( Event.getAutocastType().getManacost() > 0.45 ) then
//No cheating
return
endif
if itm.userInt / 25 + 10.0 <= Game.getGameTime() / 25 then
if T.calcChance( 0.2 ) then
call SetUnitState( t, UNIT_STATE_MANA, GetUnitState( t, UNIT_STATE_MANA ) + GetUnitState( t, UNIT_STATE_MAX_MANA ) * ( 0.15 + T.getLevel() * 0.006 ) )
call DestroyEffect( AddSpecialEffect( "Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCasterOverhead.mdl", GetUnitX( t ), GetUnitY( t ) ) )
set itm.userInt = Game.getGameTime()
endif
endif
set t = null
[values] => Array
(
[explain] => When the carrier of this item casts a spell it has a |cffFFFF8020%|r chance to replenish |cffFFFF8015%|r of it's mana. This ability has |cffFFFF8010|r seconds cooldown.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r mana
[visible] => true
[goldcost] => 1500
[name] => Magical Greed
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)