Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 2500
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[file] => buildings\orc\TaurenTotem\TaurenTotem.mdl
[atkType1] => pierce
[modelScale] => 0.26
[weapTp1] => instant
[acquire] => 1200
[rangeN1] => 1200
[upgrades] => Array
(
)
[cool1] => 2
[Ubertip] => During the grand battle against humans, The Blackrock clan used this magical totem, making them unstoppable.
[abilList] => Array
(
)
[Name] => Blackrock's Totem
[Missileart] => Abilities\Spells\Human\Feedback\SpellBreakerAttack.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNTaurenTotem.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 1035
[bldtm] => 1
)
[settings] => Array
(
[author] => poussix
[element] => fire
[authorDisplay] => poussix
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.2
)
[effects] => Array
(
[0] => Array
(
[x] => -1.32998
[y] => 4.87494
[z] => -6.4
[scale] => 0.5
[rot] => 5.41052
[file] => buildings\orc\TaurenTotem\TaurenTotem.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -3.58792
[y] => 6.18227
[z] => 0
[scale] => 0.8
[rot] => 4.01426
[file] => Abilities\Spells\Other\SoulBurn\SoulBurnbuff.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 39.6292
[y] => -19.1842
[z] => 12.8
[scale] => 0.5
[rot] => 5.25344
[file] => Abilities\Spells\NightElf\shadowstrike\shadowstrike.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -50.8548
[y] => -15.15
[z] => 0
[scale] => 0.22
[rot] => 5.91667
[file] => Doodads\Ruins\Plants\Ruins_Shroom\Ruins_Shroom0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 22.1242
[y] => -48.795
[z] => 0
[scale] => 0.25
[rot] => 2.42601
[file] => Doodads\Ruins\Plants\Ruins_Shroom\Ruins_Shroom0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -21.9723
[y] => 5.20755
[z] => 6.4
[scale] => 0.4
[rot] => 3.71755
[file] => Abilities\Spells\NightElf\shadowstrike\shadowstrike.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -22.1103
[y] => 14.1644
[z] => 0
[scale] => 0.16
[rot] => 0.628319
[file] => Doodads\Ruins\Plants\Ruins_Shroom\Ruins_Shroom0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => 25.2955
[y] => 8.40839
[z] => 0
[scale] => 0.23
[rot] => 2.98451
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 17.1043
[y] => -36.8603
[z] => 0
[scale] => 0.2
[rot] => 5.55015
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => 33.0732
[y] => 22.3827
[z] => 0
[scale] => 0.32
[rot] => 1.18682
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock5.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => -54.2271
[y] => 5.62083
[z] => 0
[scale] => 0.2
[rot] => 5.46288
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock5.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[11] => Array
(
[x] => -30.4683
[y] => -3.73894
[z] => 0
[scale] => 0.35
[rot] => 3.83973
[file] => Doodads\Dungeon\Props\LavaCracks\LavaCracks3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[12] => Array
(
[x] => 17.1796
[y] => -22.569
[z] => 0
[scale] => 0.2
[rot] => 3.89209
[file] => Doodads\Dungeon\Props\LavaCracks\LavaCracks3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[13] => Array
(
[x] => 43.3168
[y] => 12.8072
[z] => 25.6
[scale] => 0.35
[rot] => 1.93732
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[14] => Array
(
[x] => 17.8642
[y] => -21.2864
[z] => 0
[scale] => 0.22
[rot] => 0.349066
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[15] => Array
(
[x] => -20.7334
[y] => -1.57337
[z] => 0
[scale] => 0.22
[rot] => 1.41372
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[16] => Array
(
[x] => -39.4492
[y] => -40.4757
[z] => 0
[scale] => 0.22
[rot] => 4.06662
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant7.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[17] => Array
(
[x] => -36.5183
[y] => 18.5606
[z] => 0
[scale] => 0.25
[rot] => 5.89921
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant7.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[18] => Array
(
[x] => 10.7698
[y] => -57.9422
[z] => 0
[scale] => 0.28
[rot] => 0.925025
[file] => Doodads\Outland\Plants\Outland_Plant\Outland_Plant5.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[19] => Array
(
[x] => -16.9658
[y] => -55.9244
[z] => 0
[scale] => 0.2
[rot] => 1.37881
[file] => Doodads\Ruins\Plants\Ruins_Shroom\Ruins_Shroom0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[20] => Array
(
[x] => -7.77983
[y] => -57.7624
[z] => 0
[scale] => 0.22
[rot] => 3.50811
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType Fire_Totem_Physique
BuffType Totem_Damage
BuffType Fire_Totem_Spell
endglobals
public function onDamaged takes Buff b returns nothing
local Creep c = b.getBuffedUnit()
if c.calcChance(0.2) then
call c.modifyProperty(MOD_DMG_FROM_FIRE, b.userReal)
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 Fire_Totem_Physique = BuffType.create(5,0.2,true)
call m.addModification(MOD_DAMAGE_ADD_PERC,0.10,0.004)
call m.addModification(MOD_ATK_CRIT_CHANCE,0.05,0.002)
call m.addModification(MOD_ATK_CRIT_DAMAGE,0.5,0.02)
call Fire_Totem_Physique.setBuffModifier(m)
call Fire_Totem_Physique.setBuffIcon('@@0@@')
set Fire_Totem_Spell = BuffType.create(5,0.2,true)
set m = Modifier.create()
call m.addModification(MOD_SPELL_DAMAGE_DEALT,0.10,0.004)
call Fire_Totem_Spell.setBuffModifier(m)
call Fire_Totem_Spell.setBuffIcon('@@2@@')
set Totem_Damage=BuffType.create(7,0,false)
call Totem_Damage.setStackingGroup("Totem_Damage")
call Totem_Damage.setBuffIcon('@@1@@')
call Totem_Damage.addEventOnDamaged(EventHandler.onDamaged,1.0,0.0)
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNWitchDoctorAdept.blp
[visible] => true
[name] => Shamanic Totem
[short_explain] => On cast this tower has a chance to improve tower magical skills.
[long_explain] => Upon casting Demonic Fire there is a |cffFFFF8030%|r chance to buff towers in |cffFFFF80500|r range, increasing their spell damage dealt by |cffFFFF8010%|r for |cffFFFF805|r seconds and restoring |cffFFFF807.5%|r of their max mana.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r spell damage|n|cffFFFF80+0.3%|r max mana|n|cffFFFF80+0.2|r seconds duration|n|cffFFFF80+0.4%|r trigger chance
)
)
[1] => Array
(
[name] => Autocast
[code] => local integer lvl = tower.getLevel()
local Iterate towers
local Tower cur
local real mana
local real currentmana
local unit u
if Event.getTarget().getSize() < SIZE_BOSS then
set Totem_Damage.apply(tower,Event.getTarget(),lvl).userReal = 0.03 + 0.0008 * lvl
else
set Totem_Damage.apply(tower,Event.getTarget(),lvl).userReal = 0.01 + 0.0004 * lvl
endif
if tower.calcChance(0.30 + 0.004 * lvl) then
set towers = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_TOWERS,500)
loop
set cur = towers.next()
exitwhen cur == 0
call Fire_Totem_Spell.apply(tower, cur, lvl)
if cur != tower then
set u = cur.getUnit()
set mana = GetUnitState(u, UNIT_STATE_MAX_MANA)
set currentmana = GetUnitState(u, UNIT_STATE_MANA)
call SetUnitState(u, UNIT_STATE_MANA, currentmana + mana * (0.075 + 0.003 * lvl))
endif
endloop
set u = null
endif
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNSoulBurn.blp
[AUTOCAST_cooldown] => 4
[AUTOCAST_numBuffsBeforeIdle] => 3
[visible] => true
[AUTOCAST_isExtended] => false
[long_explain] => Places a buff on a creep for |cffFFFF807|r seconds. When a tower damages the buffed creep, there is a |cffFFFF8020%|r chance to permanently increase the damage it takes from fire towers by |cffFFFF803%|r (|cffFFFF801%|r for bosses). |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.08%|r damage from fire (on non boss)|n|cffFFFF80+0.04%|r damage from fire (on bosses)
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_manacost] => 0
[AUTOCAST_range] => 1200
[AUTOCAST_buffType] => Totem_Damage
[name] => Demonic Fire
[AUTOCAST_targetSelf] => false
[short_explain] => Curses creeps, increasing the damage they take from fire towers when they are damaged.
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[target_art] =>
[AUTOCAST_autoRange] => 1200
)
)
[2] => Array
(
[name] => On Attack
[code] => local Iterate towers = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TYPE_TOWERS,500)
local Unit cur
loop
set cur = towers.next()
exitwhen cur == 0
call Fire_Totem_Physique.apply(tower, cur, tower.getLevel())
endloop
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNWitchDoctorMaster.blp
[visible] => true
[name] => Fighter Totem
[short_explain] => On attack this tower has a chance to improve tower fighting skills.
[ONATTACK_chance] => 0.15
[ONATTACK_chanceLevelAdd] => 0.002
[long_explain] => On attack there is a |cffFFFF8015%|r chance to buff towers in |cffFFFF80500|r range, increasing their damage dealt by |cffFFFF8010%|r, their crit chance by |cffFFFF805%|r and their crit damage by |cffFFFF8050%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r damage|n|cffFFFF80+0.2%|r crit chance|n|cffFFFF80+2%|r crit damage |n|cffFFFF80+0.2|r seconds duration|n|cffFFFF80+0.2%|r trigger chance
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bbar
[oeValues] => Array
(
[Bufftip] => Fighter Totem
[Targetattach] => head
[Buffubertip] => This tower has increased damage, critical chance and critical damage.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNWitchDoctorMaster.blp
[TargetArt] => Array
(
)
[EffectArt] => Abilities\Spells\Other\SoulBurn\SoulBurnbuff.mdl
[EditorName] => Fighter Totem
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => Bfro
[oeValues] => Array
(
[Bufftip] => Cursed
[Targetattach] => head
[Buffubertip] => This creep has a chance to have its susceptibility to fire increased when damaged.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNSoulBurn.blp
[TargetArt] => Abilities\Spells\NightElf\shadowstrike\shadowstrike.mdl
)
)
[2] => Array
(
[id] => @@2@@
[derivedFrom] => Bbar
[oeValues] => Array
(
[Bufftip] => Shaman Totem
[Targetattach] => head
[Buffubertip] => This tower has increased spell damage.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNWitchDoctorAdept.blp
[TargetArt] => Array
(
)
[EffectArt] => Abilities\Spells\Other\SoulBurn\SoulBurnbuff.mdl
[EditorName] => Shaman Totem
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)