Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 2700
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 20000
[moveHeight] => 25
[file] => units\orc\KotoBeastNoRider\KotoBeastNoRider.mdl
[atkType1] => hero
[modelScale] => 0.5
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 800
[upgrades] => Array
(
)
[cool1] => 2
[Ubertip] => A mighty Kodo beast that will sometimes devour units to strengthen nearby allies and lets fall some dung in a close area.
[abilList] => Array
(
)
[Name] => Wild Kodo Beast
[Missileart] => Abilities\Spells\Undead\Impale\ImpaleMissTarget.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNKotoBeast.blp
[buildingShadow] => Array
(
)
[sides1] => 1001
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 1360
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => nature
[authorDisplay] => SirCoqaLot.
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.25
)
[effects] => Array
(
[0] => Array
(
[x] => -3.88889
[y] => 13.3164
[z] => 0
[scale] => 0.8
[rot] => 5.30437
[file] => Doodads\Barrens\Rocks\Barrens_Rocks\Barrens_Rocks6.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 31.9657
[y] => 17.181
[z] => 19.2
[scale] => 0.4
[rot] => 1.84089
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -60.1036
[y] => 3.42382
[z] => 0
[scale] => 0.45
[rot] => 2.46272
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 21.1189
[y] => -46.0416
[z] => 0
[scale] => 0.5
[rot] => 0.331613
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -29.9594
[y] => -58.3735
[z] => 0
[scale] => 0.3
[rot] => 0.788358
[file] => Doodads\Barrens\Props\Barrens_Bones\Barrens_Bones0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 45.7317
[y] => 41.2583
[z] => 0
[scale] => 0.3
[rot] => 4.68671
[file] => Doodads\Barrens\Props\Barrens_Bones\Barrens_Bones0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -16.3456
[y] => 43.1205
[z] => 0
[scale] => 0.3
[rot] => 3.21648
[file] => Doodads\Barrens\Rocks\Barrens_Spires\Barrens_Spires2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -27.1272
[y] => 39.9179
[z] => 83.2
[scale] => 0.35
[rot] => 4.83305
[file] => Doodads\Barrens\Props\CentaurTotem\CentaurTotem1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 2.55534
[y] => -4.27094
[z] => 0
[scale] => 0.95
[rot] => 6.26573
[file] => Doodads\Ashenvale\Props\Bird\Bird.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -49.7211
[y] => -33.6153
[z] => 0
[scale] => 0.45
[rot] => 3.83048
[file] => Doodads\Barrens\Plants\Cactus\Cactus3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => 46.8389
[y] => -28.4087
[z] => 0.000000953674
[scale] => 0.55
[rot] => 5.56642
[file] => Doodads\Barrens\Plants\Cactus\Cactus3.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 Tower Creation
[code] => set tower.userInt = 1 //Kodo devour aura multiplier
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType sir_kodo_aura
BuffType sir_kodo_devour
endglobals
private function kodoAuraOnRefresh takes Buff b returns nothing
local Tower tower = b.getCaster()
call b.setPower((100 + 2 * tower.getLevel()) * tower.userInt)
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 sir_kodo_aura = BuffType.createAuraEffectType(true)
call m.addModification(MOD_ATK_CRIT_CHANCE,0,0.0003)
call m.addModification(MOD_ATK_CRIT_DAMAGE,0,0.0015)
call m.addModification(MOD_ATTACKSPEED,0,0.001)
call m.addModification(MOD_DAMAGE_ADD_PERC,0,0.001)
call sir_kodo_aura.setBuffModifier(m)
call sir_kodo_aura.setEventOnRefresh(kodoAuraOnRefresh)
call sir_kodo_aura.setBuffIcon('@@0@@')
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Attack
[code] => local integer UID = tower.getUID()
call tower.doSpellDamage(Event.getTarget(),5000+tower.getLevel()*400,tower.calcSpellCritNoBonus())
call SFXAtUnit("Abilities\\Spells\\Orc\\Devour\\DevourEffectArt.mdl",Event.getTarget().getUnit())
set tower.userInt = tower.userInt + 1
call tower.refreshAuras()
call TriggerSleepAction(6.0 * tower.getProp_BuffDuration())
if tower.getUID() == UID then
set tower.userInt = tower.userInt - 1
call tower.refreshAuras()
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNDevour.blp
[visible] => true
[name] => Devour
[short_explain] => The kodo sometimes devours parts of units, strengthening its aura this way.
[ONATTACK_chance] => 0.06
[ONATTACK_chanceLevelAdd] => 0.001
[long_explain] => On attack the Kodo has a |cffFFFF806%|r chance to take a bite out of its target dealing |cffffff805000|r spell damage and increasing the multiplier for bonuses granted by 'Kodo Dung' by |cffffff801|r for |cffffff806|r seconds. |n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.1%|r chance |n|cffffff80+400|r spell damage
)
)
[3] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNCryptFiendBurrow.blp
[visible] => true
[AURA_auraEffect] => sir_kodo_aura
[AURA_power] => 100
[long_explain] => The dung of this kodo grants towers in |cffFFFF80400|r range: |n |cffFFFF80+10%|r damage |n |cffFFFF80+10%|r attackspeed |n |cffFFFF80+3%|r critical strike chance |n |cffFFFF80+15%|r critical strike damage |n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.2%|r damage|n|cffffff80+0.2%|r attackspeed|n|cffffff80+0.06%|r critical strike chance|n|cffffff80+0.3%|r critical strike damage
[AURA_level] => 0
[AURA_auraRange] => 400
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_levelAdd] => 1
[AURA_powerAdd] => 2
[name] => Kodo Dung
[AURA_targetSelf] => true
[short_explain] => Even the dung of a kodo can be used for something ... It can be burned at a high temperature.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bams
[oeValues] => Array
(
[Bufftip] => Kodo Dung
[Buffubertip] => This unit gains energy from burning Kodo Dung.
[Buffart] => ReplaceableTextures\CommandButtons\BTNCryptFiendBurrow.blp
[TargetArt] => Array
(
)
[EditorName] => Kodo Dung
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)