Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[targCount1] => 6
[Farea1] => 500
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNDragonRoost.blp
[damageLoss1] => 0.1
[dmgplus1] => 1138
[bldtm] => 1
[goldcost] => 1600
[sides1] => 100
[Missilearc] => 0.4
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Red Dragon Roost
[weapTp1] => mbounce
[file] => buildings\other\DragonBuilding\DragonBuilding.mdl
[uberSplat] => OSMA
[Missilespeed] => 1000
[Missileart] => Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.4
[rangeN1] => 800
[atkType1] => pierce
[cool1] => 2
[Ubertip] => Unlike most other dragons, red dragons tend to be unexpectedly benevolent and nurturing toward lesser beings.
[abilList] => Array
(
)
[moveHeight] => 30
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffCCFF00Bounce attack:|n |cffFFFF006|r targets|n |cffFFFF00-10%|r damage per bounce
[abil_factor] => 0.65
[author] => Moppy
[alpha] => 255
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[element] => fire
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -27.497
[y] => -47.7653
[z] => -19.2
[scale] => 0.15
[rot] => 5.58505
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -30.2073
[y] => -15.3832
[z] => -19.2
[scale] => 0.5
[rot] => 0.0872665
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 3.53801
[y] => -22.7638
[z] => 0
[scale] => 0.5
[rot] => 2.0944
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -37.2556
[y] => -43.5818
[z] => -19.2
[scale] => 0.15
[rot] => 4.71239
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => -13.761
[y] => -17.6151
[z] => -6.4
[scale] => 0.5
[rot] => 0
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 54.4838
[y] => -18.4141
[z] => -19.2
[scale] => 0.15
[rot] => 1.74533
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -12.6056
[y] => -20.6945
[z] => 0
[scale] => 0.5
[rot] => 1.0472
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -4.63723
[y] => -22.5586
[z] => -12.8
[scale] => 0.5
[rot] => 0.349066
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -11.8731
[y] => -4.83257
[z] => 0
[scale] => 0.5
[rot] => 1.22173
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => 9.9349
[y] => -25.7578
[z] => -19.2
[scale] => 0.5
[rot] => 0.698132
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 30.042
[y] => -21.3308
[z] => -12.8
[scale] => 0.5
[rot] => 5.23599
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => -15.0267
[y] => 6.73569
[z] => 12.8
[scale] => 0.5
[rot] => 0
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -17.423
[y] => 9.76044
[z] => 0
[scale] => 0.5
[rot] => 5.23599
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 16.096
[y] => 18.6475
[z] => 6.4
[scale] => 0.5
[rot] => 5.23599
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => 0.989043
[y] => 23.2895
[z] => 25.6
[scale] => 0.5
[rot] => 5.93412
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => 18.9677
[y] => 15.4574
[z] => -0.000000953674
[scale] => 0.25
[rot] => 1.0472
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => -32.709
[y] => 11.8151
[z] => 0
[scale] => 0.25
[rot] => 5.75959
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 49.5305
[y] => -33.9574
[z] => -25.6
[scale] => 0.15
[rot] => 1.74533
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => 39.9915
[y] => -43.8634
[z] => -25.6
[scale] => 0.15
[rot] => 1.22173
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => 24.4125
[y] => 39.2783
[z] => 57.6
[scale] => 0.15
[rot] => 4.71239
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 14.0626
[y] => 34.8836
[z] => 19.2
[scale] => 0.25
[rot] => 4.71239
[file] => Doodads\Outland\Rocks\Outland_Spires\Outland_Spires4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => -13.1568
[y] => 8.67223
[z] => 19.2
[scale] => 0.75
[rot] => 4.71239
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => 16.3673
[y] => 6.52218
[z] => 19.2
[scale] => 0.75
[rot] => 4.71239
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => -1.2077
[y] => -20.0911
[z] => 0
[scale] => 0.75
[rot] => 4.71239
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType moppy_red_dragon_roost_hyperthermia_debuff
endglobals
function Start_Red_Dragon_Roost takes Buff B returns nothing
local Unit U = B.getBuffedUnit()
local unit u = U.getUnit()
call SetUnitVertexColor(u, 255, 50, 50, 255)
set u = null
endfunction
function End_Red_Dragon_Roost takes Buff B returns nothing
local Unit U = B.getBuffedUnit()
local unit u = U.getUnit()
call SetUnitVertexColor(u, 255, 255, 255, 255)
set u = null
endfunction
function moppy_hyperthermia_update takes Buff b returns nothing
local Creep target = b.getBuffedUnit()
local Tower tower = b.getCaster()
local integer lvl = tower.getLevel()
local real hpFactor
local real bonus
set hpFactor = GetUnitState(target.getUnit(), UNIT_STATE_LIFE) / GetUnitState(target.getUnit(), UNIT_STATE_MAX_LIFE)
set hpFactor = RMinBJ(1.0, RMaxBJ(0.0, hpFactor))
set bonus = 0.3 + 0.006 * lvl
set b.userReal = bonus * hpFactor
endfunction
function moppy_hyperthermia_ondamage takes Buff b returns nothing
set Event.damage = Event.damage * (1.0 + b.userReal)
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 moppy_red_dragon_roost_hyperthermia_debuff = BuffType.create(5, 0, false)
call moppy_red_dragon_roost_hyperthermia_debuff.setBuffIcon('@@0@@')
call moppy_red_dragon_roost_hyperthermia_debuff.addPeriodicEvent(moppy_hyperthermia_update, 1.0)
call moppy_red_dragon_roost_hyperthermia_debuff.addEventOnDamaged(moppy_hyperthermia_ondamage, 1.0, 0)
call moppy_red_dragon_roost_hyperthermia_debuff.addEventOnCreate(Start_Red_Dragon_Roost)
call moppy_red_dragon_roost_hyperthermia_debuff.addEventOnCleanup(End_Red_Dragon_Roost)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => call moppy_red_dragon_roost_hyperthermia_debuff.apply(tower, Event.getTarget(), 0)
[values] => Array
(
[ONDAMAGE_chance] => 0.1
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNOrbOfFire.blp
[name] => Hyperthermia
[short_explain] => The tower has a chance on hit to drastically increase the body temperature of its targets, causing them to take increased damage based on their remaining health.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => The tower has a |cffFFFF8010%|r chance on hit to drastically increase the body temperature of its targets, causing them to take increased damage. The effect starts at |cffFFFF8030%|r bonus damage at full health and gradually weakens as the targets near death. Lasts |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+0.6%|r damage taken
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[EditorName] => Thermal Shock
[Buffubertip] => Taking increased damage based on remaining health.
[TargetArt] => Array
(
)
[Bufftip] => Thermal Shock
[Buffart] => ReplaceableTextures\CommandButtons\BTNOrbOfFire.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)