Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNExhumeCorpses.blp
[dmgplus1] => 50
[bldtm] => 1
[goldcost] => 45
[sides1] => 1
[acquire] => 850
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Rusty Manifold
[weapTp1] => msplash
[MissileHoming] => 1
[file] => .mdl
[uberSplat] => YTDF
[Harea1] => 200
[Missilespeed] => 1500
[Missileart] => war3mapImported\PoopMissile.mdl
[dice1] => 1
[RngBuff1] => 250
[Hfact1] => 0.5
[modelScale] => 0.1
[rangeN1] => 850
[atkType1] => siege
[cool1] => 2
[Ubertip] => A hazardous place full of scrap, grime, and chemicals, hostile to anything that dares to enter.
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffCCFF00Splash attack:|n |cffFFFF00200|r AoE: |cffFFFF0050%|r damage|r|n|cffFFFF00+10% |rdmg to nature (|cffFFFF00+1%|r/lvl)
[abil_factor] => 0.65
[author] => Moppy
[alpha] => 255
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[element] => iron
[rarity] => common
)
[effects] => Array
(
[0] => Array
(
[x] => 19.7339
[y] => 4.89843
[z] => -12.8
[scale] => 0.4
[rot] => 3.66519
[file] => Doodads\Dungeon\Props\SewerVent\SewerVent0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -0.5
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => 16.1595
[y] => 35.3613
[z] => -19.2
[scale] => 0.25
[rot] => 4.18879
[file] => Doodads\Dungeon\Props\SewerWallpipes\SewerWallpipes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -0.5
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -13.4079
[y] => 11.887
[z] => -12.8
[scale] => 0.4
[rot] => 2.61799
[file] => Doodads\Dungeon\Props\SewerVent\SewerVent2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -0.5
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_NATURE
[base] => 0.1
[add] => 0.01
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType moppy_corrosion_debuff
endglobals
function moppy_corrosion_damage takes Buff b returns nothing
local Unit c = b.getBuffedUnit()
local Tower t = b.getCaster()
local integer lvl = t.getLevel()
call t.doCustomAttackDamage(c, t.userReal + lvl * t.userReal2, t.calcAttackCritNoBonus(), AttackType.DECAY)
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 c = Modifier.create()
set moppy_corrosion_debuff = BuffType.create(5.01, 0.0, false)
call moppy_corrosion_debuff.addPeriodicEvent(EventHandler.moppy_corrosion_damage, 1)
call moppy_corrosion_debuff.setBuffModifier(c)
call moppy_corrosion_debuff.setBuffIcon('@@0@@')
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => call moppy_corrosion_debuff.apply(tower, Event.getTarget(), tower.getLevel())
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNExhumeCorpses.blp
[name] => Corrosive Sludge
[short_explain] => Target enemies hit by this tower take |cff808000Decay|r damage over time.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Target enemies hit by this tower take |cffFFFF8015|r |cff808000Decay|r damage per second. Lasts |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r |cff808000Decay|r damage per second
)
)
[2] => Array
(
[name] => On Tower Creation
[code] => set tower.userReal = 15
set tower.userReal2 = 1
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[EditorName] => Corrosive Sludge
[Buffubertip] => Taking decay damage over time.
[TargetArt] => Abilities\Spells\NightElf\Barkskin\BarkSkinTarget.mdl
[Bufftip] => Corrosive Sludge
[Buffart] => ReplaceableTextures\CommandButtons\BTNExhumeCorpses.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => moppy_corrosion_debuff
)
)
[lightning] => Array
(
)
)