Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 650
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => 4
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[atkType1] => pierce
[modelScale] => 0.6
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 700
[upgrades] => Array
(
)
[cool1] => 1.2
[Ubertip] => Advanced tower that attacks multiple targets at once and burns them, increasing other fire towers damage and dealing some damage over time.
[green] => 180
[abilList] => @@0@@
[Name] => Area Roaster
[Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNStaffOfSilence.blp
[buildingShadow] => Array
(
)
[blue] => 100
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 84
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => fire
[authorDisplay] => SirCoqaLot.
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.09
)
[effects] => Array
(
[0] => Array
(
[x] => -0.0000127554
[y] => -1.92508
[z] => 0
[scale] => 0.35
[rot] => 3.11101
[file] => Doodads\Barrens\Rocks\Crator\Crator0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Buff buffyorno = Event.getTarget().getBuffOfGroup("sir_area_rooster")
if buffyorno != 0 then
set tower.userInt = buffyorno.getLevel()+1
set tower.userInt2 = IMaxBJ(buffyorno.getPower(),70)
else
set tower.userInt = 1
set tower.userInt2 = 70
endif
call sir_area_rooster.applyAdvanced(tower,Event.getTarget(),tower.userInt,tower.userInt2,5+tower.getLevel()*0.05)
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNStaffOfSilence.blp
[visible] => true
[name] => Ignite
[short_explain] => Units damaged by this tower burn for some spell damage over time
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Units damaged by this tower receive |cffFFFF807%|r more damage from fire towers and take |cffFFFF8035|r spell damage every |cffffff800.5|r seconds for |cffFFFF805|r seconds. The damage over time effect stacks. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.4|r spell damage |n|cffFFFF80+0.05|r seconds duration
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType sir_area_rooster
endglobals
function sir_area_damage takes Buff b returns nothing
local Tower caster = b.getCaster()
call caster.doSpellDamage(b.getBuffedUnit(),(35+caster.getLevel()*1.4)*b.getLevel(),caster.calcSpellCritNoBonus())
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
local Modifier m = Modifier.create()
set sir_area_rooster = BuffType.create(0,0,false)
call sir_area_rooster.setBuffIcon('@@1@@')
call m.addModification(MOD_DMG_FROM_FIRE,0,0.001)
call sir_area_rooster.setBuffModifier(m)
call sir_area_rooster.addPeriodicEvent(sir_area_damage,0.5)
call sir_area_rooster.setStackingGroup("sir_area_rooster")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Aroc
[oeValues] => Array
(
[checkDep] => 0
[Missilearc] => 0
[DataC1] => 2
[Requires] => Array
(
)
[Cool1] => 0
[Ubertip] => This tower attacks |cffFFFF804|r targets at once.
[targs1] => enemies
[DataA1] => 0
[DataB1] => 99999
[Area1] => 800
[Missileart] => Abilities\Weapons\PhoenixMissile\Phoenix_Missile_mini.mdl
[Name] => Spreading Flames
[Art] => ReplaceableTextures\CommandButtons\BTNVolcano.blp
[Missilespeed] => 1500
[Tip] => Spreading Flames
[Unubertip] => This tower attacks four targets at once.
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => BHav
[oeValues] => Array
(
[Bufftip] => Ignited
[Buffubertip] => This unit is ignited it is dealt spell damage over time and receives additional damage from fire towers.
[Buffart] => ReplaceableTextures\CommandButtons\BTNStaffOfSilence.blp
[EffectArt] => Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
[TargetArt] => Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
[EditorName] => Ignited
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => sir_area_rooster
)
)
)