Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 2500
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1000
[moveHeight] => 40
[file] => units\nightelf\MountainGiant\MountainGiant.mdl
[atkType1] => siege
[modelScale] => 0.35
[weapTp1] => msplash
[acquire] => 750
[rangeN1] => 750
[upgrades] => Array
(
)
[cool1] => 3
[Ubertip] => This enormous creature is able to crush everything with its enormous hands.
[Farea2] => 200
[Farea1] => 100
[abilList] => Array
(
)
[launchZ] => 100
[Name] => Bonk, the Living Mountain
[Missileart] => Abilities\Weapons\AncientProtectorMissile\AncientProtectorMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNMountainGiant.blp
[buildingShadow] => Array
(
)
[turnRate] => 2
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 3669
[bldtm] => 1
)
[settings] => Array
(
[author] => Boekie
[element] => nature
[authorDisplay] => |cff00CD00Boekie|r
[alpha] => 255
[balanceTip] => |cffCCFF00Splash attack:|n |cffFFFF00100|r AoE: |cff00FF00100%|r damage|r|n|cffFFFF00+25% |rdmg to masses (|cffFFFF00+0.5%|r/lvl)
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.4
)
[effects] => Array
(
[0] => Array
(
[x] => -7.23388
[y] => 5.64271
[z] => -25.6
[scale] => 0.6
[rot] => 1.57117
[file] => Doodads\Terrain\G_RockChunks\G_RockChunks1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -7.11959
[y] => -18.3698
[z] => -32
[scale] => 0.6
[rot] => 4.71715
[file] => Doodads\Terrain\G_RockChunks\G_RockChunks1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -4.60066
[y] => -36.4488
[z] => -19.2
[scale] => 0.5
[rot] => 5.01496
[file] => Doodads\Terrain\G_RockChunks\G_RockChunks5.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -19.4271
[y] => -45.8203
[z] => 0
[scale] => 0.8
[rot] => 5.74213
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 15.223
[y] => -43.1263
[z] => -6.4
[scale] => 0.8
[rot] => 2.02458
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -12.0647
[y] => 30.7076
[z] => 0
[scale] => 0.8
[rot] => 0.191986
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 11.4416
[y] => 29.5538
[z] => 0
[scale] => 0.8
[rot] => 5.8294
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -45.4481
[y] => -48.4161
[z] => 0
[scale] => 0.4
[rot] => 2.46091
[file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms1.mdl
[red] => 255
[green] => 255
[blue] => 150
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -23.4462
[y] => -37.3337
[z] => 25.6
[scale] => 0.4
[rot] => 3.80859
[file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms1.mdl
[red] => 255
[green] => 255
[blue] => 150
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => 28.9745
[y] => -58.963
[z] => 0
[scale] => 0.4
[rot] => 2.49582
[file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms1.mdl
[red] => 255
[green] => 255
[blue] => 150
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => -60.776
[y] => -4.60207
[z] => 25.6
[scale] => 0.4
[rot] => 2.42601
[file] => Doodads\Ashenvale\Plants\AshenShrooms\AshenShrooms1.mdl
[red] => 255
[green] => 255
[blue] => 150
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_MASS
[base] => 0.25
[add] => 0.005
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 0 //count number of grows
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Unit creep = Event.getTarget()
local integer level = tower.getLevel()
local Iterate it
local Unit next
if tower.userInt >= 10 then //check number of grows
if creep.getBuffOfGroup("stun") != 0 then
set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TOWERS,tower,500)
call tower.doSpellDamage(creep, 5000+(level*250)+(tower.userInt*50),tower.calcSpellCritNoBonus())
call Effect.createScaled("Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl", creep.getX(), creep.getY(), 0.0, 0, 2.0).setLifetime(3.0)
loop
set next = it.next()
exitwhen next == 0
call boekie_mountainMorale_buff.apply(tower,next,tower.getLevel())
endloop
endif
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNGrabTree.blp
[visible] => true
[name] => Crush!
[short_explain] => Crushes stunned creeps, giving a morale boost to nearby towers.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Whenever Bonk damages a stunned creep it deals |cffFFFF805000|r spelldamage to it. When this happens, towers in |cffFFFF80500|r range will gain |cffFFFF8010%|r attackspeed and damage for |cffFFFF8010|r seconds. Crush deals |cffFFFF8050|r bonus spelldamage per grow, but the ability only works once Bonk has grown at least |cffFFFF8010|r times. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+250|r spelldamage |n|cffFFFF80+0.4%|r attackspeed and damage|r
)
)
[2] => Array
(
[name] => On Tower Details
[code] => // Show total number of grows
call boekie_grow_MultiboardValue.setValue(0,I2S(tower.userInt))
return boekie_grow_MultiboardValue
[values] => Array
(
)
)
[3] => Array
(
[name] => Header
[code] => globals
BuffType boekie_mountainMorale_buff
ProjectileType rock
MultiboardValues boekie_grow_MultiboardValue
endglobals
public function hit takes Projectile p, Unit creep returns nothing
local Tower tower = p.getCaster()
if p.userInt == creep.getUID() then
call tower.doSpellDamage(creep,700+(tower.getLevel()*50)+(tower.userInt*15),tower.calcSpellCritNoBonus())
call cb_stun.applyOnlyTimed(tower, creep, 0.5)
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()
set boekie_mountainMorale_buff = BuffType.create(10.00, 0, true)
call m.addModification(MOD_DAMAGE_ADD_PERC, 0.10, 0.004)
call m.addModification(MOD_ATTACKSPEED, 0.10, 0.004)
call boekie_mountainMorale_buff.setBuffModifier(m)
call boekie_mountainMorale_buff.setBuffIcon('@@0@@')
set rock = ProjectileType.create("Abilities\\Weapons\\AncientProtectorMissile\\AncientProtectorMissile.mdl",4,700)
call rock.enableHoming(ProjectileTargetEvent.hit,0)
set boekie_grow_MultiboardValue = MultiboardValues.create(1)
call boekie_grow_MultiboardValue.setKey(0,"Number of Grows")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[4] => Array
(
[name] => Periodic
[code] => local integer level = tower.getLevel()
if tower.userInt < 160 then
call Effect.createScaled("Abilities\\Spells\\NightElf\\EntanglingRoots\\EntanglingRootsTarget.mdl", tower.getX(), tower.getY(), 30.0, 0, 1.8).setLifetime(1.0)
call tower.modifyProperty(MOD_DAMAGE_ADD_PERC, 0.03+(level*0.001))
call tower.addExp(4.0)
set tower.userInt = tower.userInt + 1 //increment number of grows
call tower.setScale(0.35 + tower.userInt * 0.0025)
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNHardenedSkin.blp
[visible] => true
[PERIODIC_period] => 25
[name] => Grow!
[short_explain] => This creature is weak initially but gains enormous power over time.
[long_explain] => Every |cffFFFF8025|r seconds Bonk grows, gaining |cffFFFF804|r experience and |cffFFFF803%|r bonus attackdamage. Bonk can grow |cffFFFF80160|r times.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1%|r bonus attackdamage
)
)
[5] => Array
(
[name] => On Attack
[code] => local Iterate it
local Unit next
local real tx = tower.getX()
local real ty = tower.getY()
if tower.userInt >= 20 then //check number of grows
set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,Event.getTarget(), 300)
loop
set next = it.next()
exitwhen next == 0
set Projectile.createFromPointToUnit(rock,tower,1,0,tx,ty,100,next,true,false,false).userInt = next.getUID()
endloop
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNGolemStormBolt.blp
[visible] => true
[name] => Landslide!
[short_explain] => Throw an enormous amount of rocks that stun and damage enemies.
[ONATTACK_chance] => 0.25
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => Bonk has a |cffFFFF8025%|r chance on attack to throw rocks at all creeps in |cffFFFF80300|r AoE around the main target. These rocks deal |cffFFFF80700|r spelldamage and stun for |cffFFFF800.5|r seconds. Landslide deals |cffFFFF8015|r bonus spelldamage per grow, but the ability only works once Bonk has grown at least |cffFFFF8020|r times. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+50|r spelldamage
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bblo
[oeValues] => Array
(
[Bufftip] => Morale Boost
[Buffubertip] => This unit is under the effect of a morale boost; it has increased attackspeed and damage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNGrabTree.blp
[EditorName] => Morale Boost
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)