Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => It cackles with mischief and malice.
[Art] => ReplaceableTextures\CommandButtons\BTNLivingBomb.blp
[abilList] => Array
(
)
[Name] => Fiery Soul
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 1250
[author] => Ashbringer
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[rarity] => rare
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Tower tower = itm.getCarrier()
local Unit target = Event.getTarget()
local Buff b
if tower.calcChance(0.15 * tower.getBaseAttackspeed()) then
set b = target.getBuffOfType(ashbringer_agony_buff)
if b != 0 then
call b.refreshDuration()
else
set ashbringer_agony_buff.apply(tower, target, tower.getLevel()).userReal = 300 + (tower.getLevel() * 12)
endif
endif
[values] => Array
(
[explain] => Attacks have a |cffFFFF8015%|r attack speed adjusted chance to apply Burning Agony, which deals |cffFFFF80300|r spell damage per second for |cffFFFF8010|r seconds. Damage is increased by |cffFFFF8010%|r each time it deals damage. Reapplying Burning Agony does not reset the damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+12|r base spell damage
[visible] => true
[goldcost] => 1250
[name] => Burning Agony
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_agony_buff
endglobals
function ashbringer_agony_periodic takes Buff b returns nothing
local Tower tower = b.getCaster()
local Unit target = b.getBuffedUnit()
call tower.doSpellDamage(target, b.userReal, tower.calcSpellCritNoBonus())
set b.userReal = b.userReal * 1.1
endfunction
//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_agony_buff = BuffType.create(10, 0, false)
call ashbringer_agony_buff.setBuffIcon('@@0@@')
call ashbringer_agony_buff.addPeriodicEvent(EventHandler.ashbringer_agony_periodic, 1.0)
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Targetattach] => overhead
[EditorName] => Burning Agony
[Buffubertip] => Taking increasing spell damage over time.
[TargetArt] => Abilities\Spells\Other\SoulBurn\SoulBurnbuff.mdl
[Bufftip] => Burning Agony
[Buffart] => ReplaceableTextures\CommandButtons\BTNLivingBomb.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)