Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[Name] => Mystical Shell
[Art] => ReplaceableTextures\CommandButtons\BTNHermitCrab.blp
[Ubertip] => You can hear the entire ocean when holding it next to your ear.
[abilList] => Array
(
)
)
[settings] => Array
(
[author] => drol
[authorDisplay] => |cffcc6600drol|r
[balanceTip] => Array
(
)
[rarity] => uncommon
[goldcost] => 150
[version] => 1.0
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType drol_spellDmgRecieved
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
local Modifier m = Modifier.create()
call m.addModification(MOD_SPELL_DAMAGE_RECEIVED,0.15,0)
set drol_spellDmgRecieved = BuffType.create(5,0,false)
call drol_spellDmgRecieved.setBuffIcon('@@0@@')
call drol_spellDmgRecieved.setBuffModifier(m)
endfunction
[values] => Array
(
[visible] => false
[name] =>
[goldcost] => 0
[explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => local Tower tower = itm.getCarrier()
if tower.calcChance(0.10 * tower.getBaseAttackspeed()) then
call drol_spellDmgRecieved.apply(tower, Event.getTarget(),tower.getLevel())
endif
[values] => Array
(
[visible] => true
[name] => Resonance
[goldcost] => 150
[explain] => Grants the carrier a |cffFFFF8010%|r attackspeed adjusted chance to debuff the attacked target, increasing all spelldamage dealt to it by |cffFFFF8015%|r for |cffFFFF805|r seconds.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bslo
[oeValues] => Array
(
[Bufftip] => Resonance
[Targetattach] => origin
[Buffubertip] => This unit receives increased spelldamage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNHermitCrab.blp
[TargetArt] => Abilities\Spells\Orc\SpiritLink\SpiritLinkTarget.mdl
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)