Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 150
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => ground
[goldcost] => 3000
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1700
[moveHeight] => 12
[file] => units\creeps\RockGolem\RockGolem.mdl
[atkType1] => hero
[modelScale] => 0.45
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 750
[upgrades] => Array
(
)
[cool1] => 2.2
[Ubertip] => Advanced nature tower that will deal damage in an AoE around itself and will slow damaged targets. Also gives nearby towers a chance to deal damage and slow targets in an AoE around iteself.
[green] => 110
[abilList] => Array
(
)
[Name] => Mud Golem
[Missileart] => Abilities\Weapons\RockBoltMissile\RockBoltMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNRockGolem.blp
[red] => 150
[buildingShadow] => Array
(
)
[turnRate] => 0.5
[blue] => 70
[sides1] => 408
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 2326
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => nature
[authorDisplay] => SirCoqaLot.
[alpha] => 255
[balanceTip] => |cffFF0000Attacks GROUND only|r
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.20
)
[effects] => Array
(
[0] => Array
(
[x] => -10.8327
[y] => 6.16789
[z] => -6.4
[scale] => 1
[rot] => 5.78566
[file] => Doodads\Barrens\Props\Barrens_Bones\Barrens_Bones6.mdl
[red] => 150
[green] => 110
[blue] => 70
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -25.6212
[y] => -10.4202
[z] => 6.4
[scale] => 0.5
[rot] => 2.26775
[file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 16.0707
[y] => -26.4396
[z] => 6.4
[scale] => 0.8
[rot] => 3.28076
[file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -22.0533
[y] => 11.0671
[z] => -12.8
[scale] => 0.25
[rot] => 5.60773
[file] => Doodads\Terrain\CliffDoodad\Waterfall\Waterfall.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -4.5
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -1.72906
[y] => -11.6067
[z] => -6.4
[scale] => 0.25
[rot] => 5.69916
[file] => Doodads\Terrain\CliffDoodad\Waterfall\Waterfall.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -4.5
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 39.4966
[y] => -26.9489
[z] => 12.8
[scale] => 0.5
[rot] => 0.121183
[file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks9.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] => call smash(tower)
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNGolemThunderclap.blp
[visible] => true
[name] => Ground Smash
[short_explain] => This tower damages creeps close to it and slows them for a short duration.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => On damage this tower deals |cffFFFF804300|r decay damage to all creeps in |cffFFFF80750|r range around it, slowing them by |cffFFFF8060%|r for |cffFFFF800.5|r seconds.|n|n|cffffff80Hint:|r The damage of this ability is improved by spell damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+230|r damage |n|cffffff80+0.012|r seconds slow duration |n|cffffff80+50|r range at level |cffffff8025|r.
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType sir_golem_slow
BuffType sir_golem_aura
endglobals
function smash takes Tower tower returns nothing
local integer level = tower.getLevel()
local Iterate i
local Creep u
if level == 25 then
set i = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_CREEPS,800)
else
set i = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_CREEPS,750)
endif
loop
set u = i.next()
exitwhen u == 0
if u.getSize() != SIZE_AIR then
call sir_golem_slow.applyCustomTimed(tower,u,600,0.5+level*0.012)
call tower.doAttackDamage(u,(4300+level*230)*tower.getProp_SpellDmgDealt(),tower.calcSpellCritNoBonus())
endif
endloop
endfunction
private function aoeOnAtk takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower buffed = b.getBuffedUnit()
if buffed.calcChance((0.03+0.0004*tower.getLevel())*buffed.getBaseAttackspeed()) then
call smash(tower)
endif
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()
call m.addModification(MOD_MOVESPEED,0,-0.001)
set sir_golem_slow = BuffType.create(0,0,false) // apply custom timed
set sir_golem_aura = BuffType.createAuraEffectType(true)
call sir_golem_slow.setBuffIcon('@@0@@')
call sir_golem_aura.setBuffIcon('@@1@@')
call sir_golem_slow.setBuffModifier(m)
call sir_golem_slow.setStackingGroup("sirGolemSlow")
call sir_golem_aura.addEventOnAttack(EventHandler.aoeOnAtk,1,0)
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\PassiveButtons\PASBTNScatterRockets.blp
[visible] => false
[name] => Specials
[short_explain] => Specials |n This tower has no normal attack
[long_explain] => |cffff3300 Warning!|r This tower has no normal attack.
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNEarthquake.blp
[visible] => true
[AURA_auraEffect] => sir_golem_aura
[AURA_power] => 0
[AURA_level] => 0
[long_explain] => Towers in |cffFFFF80150|r range around the Mud Golem have a |cffFFFF803%|r attackspeed adjusted chance on attack to trigger Ground Smash.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.04%|r chance
[AURA_auraRange] => 150
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_levelAdd] => 0
[AURA_powerAdd] => 0
[name] => Earthquake Aura
[AURA_targetSelf] => true
[short_explain] => Towers close to the Mud Golem have a chance to trigger Ground Smash.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHtc
[oeValues] => Array
(
[Bufftip] => Ground Smash
[Buffubertip] => This Unit has been hit by a nearby Mud Golem it has decrased movementspeed.
[Buffart] => ReplaceableTextures\CommandButtons\BTNGolemThunderclap.blp
[TargetArt] => Abilities\Spells\Orc\StasisTrap\StasisTotemTarget.mdl
[EditorName] => Ground Smash
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHtc
[oeValues] => Array
(
[Bufftip] => Earthquake Aura
[Targetattach] => Array
(
)
[Buffubertip] => This unit has a chance to trigger the Mud Golem's Ground Slam.
[Buffart] => ReplaceableTextures\CommandButtons\BTNEarthquake.blp
[TargetArt] => Array
(
)
[EditorName] => Earthquake Aura
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)