Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => Replaceabletextures\Commandbuttons\BTNDiabloCar.blp
[turnRate] => 1
[dmgplus1] => 899
[bldtm] => 1
[goldcost] => 2400
[sides1] => 1
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Vulshok, the Berserker
[weapTp1] => missile
[MissileHoming] => 1
[file] => Units\Demon\ChaosOrcRange\ChaosOrcRange.mdl
[uberSplat] => OSMA
[Missileart] => Abilities\Weapons\RedDragonBreath\RedDragonMissile.mdl
[Missilespeed] => 1500
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.9
[rangeN1] => 1000
[backSw1] => -0.5
[atkType1] => siege
[cool1] => 0.64
[Ubertip] => Legendary fel orc berserker, he is the ultimate fighter.
[abilList] => Array
(
)
[moveHeight] => 35
[dmgpt1] => 0.35
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffFFFF00x2|r crit damage|n|cffFFFF00+3% |rattackspeed/lvl
[abil_factor] => 0.6205
[author] => Boekie
[alpha] => 255
[authorDisplay] => |cff00CD00Boekie|r
[version] => 1.0
[element] => fire
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 6.51042
[y] => 5.64273
[z] => 0
[scale] => 0.85
[rot] => 4.39889
[file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 3.59832
[y] => -2.15915
[z] => 0
[scale] => 0.85
[rot] => 5.27889
[file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -7.27979
[y] => 15.2885
[z] => 0
[scale] => 0.85
[rot] => 5.84685
[file] => Doodads\Outland\Rocks\Outland_Rock\Outland_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -3.64203
[y] => 16.1714
[z] => -44.8
[scale] => 0.4
[rot] => 3.30237
[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
)
[4] => Array
(
[x] => 38.244
[y] => -45.2758
[z] => 0
[scale] => 0.7
[rot] => 5.15821
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -47.3772
[y] => 58.4806
[z] => 51.2
[scale] => 1
[rot] => 5.16618
[file] => Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -3.16646
[y] => 0.633309
[z] => -38.4
[scale] => 0.4
[rot] => 0.686295
[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
)
[7] => Array
(
[x] => 52.0085
[y] => -34.3191
[z] => 32
[scale] => 1
[rot] => 0.471239
[file] => Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -47.9348
[y] => 21.0927
[z] => 25.6
[scale] => 0.7
[rot] => 3.19395
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -43.854
[y] => -23.1814
[z] => 25.6
[scale] => 0.7
[rot] => 3.64112
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => -4.19884
[y] => -33.1272
[z] => 25.6
[scale] => 0.7
[rot] => 4.66831
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[11] => Array
(
[x] => 9.25595
[y] => -56.1571
[z] => 0
[scale] => 0.7
[rot] => 4.51378
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[12] => Array
(
[x] => 28.5116
[y] => 45.6923
[z] => 19.2
[scale] => 0.7
[rot] => 0.0663458
[file] => Doodads\Outland\Props\Skull\Skull0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_ATK_CRIT_DAMAGE
[base] => 0.75
[add] => 0
)
[1] => Array
(
[id] => MOD_ATTACKSPEED
[base] => 0
[add] => 0.03
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Unit target = Event.getTarget()
local integer crit = 0
set tower.userInt = tower.userInt + 1
//Crit (every 3rd)
if ModuloInteger(tower.userInt,3) == 0 then
call tower.addAttackCrit()
set crit = 1 //So the triggered attackdamage can crit too!
endif
//Bonus damage (every 7th)
if ModuloInteger(tower.userInt,7) == 0 then
//Splashed bonus damage (every 84th)
if ModuloInteger(tower.userInt,12) == 0 then
call tower.doAttackDamageAoEUnit(target,200,3000.0+(tower.getLevel()*200.0),tower.calcAttackMulticrit(0.0,0.0,crit),0.0)
call Effect.createScaled("Abilities\\Spells\\Other\\Doom\\DoomDeath.mdl", target.getX(), target.getY(), 0.0, 0, 1.5).destroy()
else
call tower.doAttackDamage(target,3000.0+(tower.getLevel()*200.0),tower.calcAttackMulticrit(0.0,0.0,crit))
call Effect.createScaled("Abilities\\Spells\\Other\\Doom\\DoomDeath.mdl", target.getX(), target.getY(), 0.0, 0, 0.2).destroy()
endif
endif
//Splash (every 12th)
if ModuloInteger(tower.userInt,12) == 0 then
set tower.userInt2 = 1
endif
//Growth (every 15th)
if ModuloInteger(tower.userInt,15) == 0 then
call tower.modifyProperty(MOD_DAMAGE_ADD_PERC, 0.005)
//Rare text has increased chance to show with increased triggerchances. ;]
if tower.calcChance(0.005) then
call tower.getOwner().displayFloatingText("I WILL BATHE IN YOUR BLOOD!",tower,255,100,100)
elseif tower.calcChance(0.1) then
call tower.getOwner().displayFloatingText("FEAR ME!",tower,255,100,100)
elseif tower.calcChance(0.4) then
call tower.getOwner().displayFloatingText("GRRR!",tower,255,100,100)
else
call tower.getOwner().displayFloatingText("ROAR!",tower,255,100,100)
endif
//Increase model size.
set tower.userInt3 = tower.userInt3 + 1
call tower.setScale(0.9 + 0.001 * tower.userInt3)
endif
if tower.userInt >= 420 then
set tower.userInt = 0
endif
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNDeathPact.blp
[name] => Ultimate Fighter
[short_explain] => Vulshok is the ultimate fighter and he can unleash the most devastating powers.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => Vulshok uses his great power to specialize his attacks:|n- Every |cffFFFF803rd|r attack adds a critical hit|n- Every |cffFFFF807th|r attack deals |cffFFFF803000|r bonus attackdamage|n- Every |cffFFFF8012th|r attack splashes all damage over |cffFFFF80200|r AoE|n- Every |cffFFFF8015th|r attack adds |cffFFFF800.5%|r attack damage permanently|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+200|r attackdamage on |cffFFFF807th|r attack
)
)
[1] => Array
(
[name] => Header
[code] => globals
MultiboardValues boekie_vulshok_multiboard
BuffType boekie_vulshok_slow
endglobals
function boekie_vulshok_slowPeriodic takes Buff b returns nothing
call b.setPower(b.getPower() + 50 + b.getLevel()/5)
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_vulshok_multiboard = MultiboardValues.create(4)
call boekie_vulshok_multiboard.setKey(0,"Attacks to crit")
call boekie_vulshok_multiboard.setKey(1,"Attacks to damage")
call boekie_vulshok_multiboard.setKey(2,"Attacks to splash")
call boekie_vulshok_multiboard.setKey(3,"Attacks to grow")
call m.addModification(MOD_MOVESPEED,-0.10,-0.001)
set boekie_vulshok_slow = BuffType.create(5,0.0,false)
call boekie_vulshok_slow.setBuffModifier(m)
call boekie_vulshok_slow.setBuffIcon('@@0@@')
call boekie_vulshok_slow.addPeriodicEvent(EventHandler.boekie_vulshok_slowPeriodic,1)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Tower Details
[code] => call boekie_vulshok_multiboard.setValue(0,I2S(3-ModuloInteger(tower.userInt,3)))
call boekie_vulshok_multiboard.setValue(1,I2S(7-ModuloInteger(tower.userInt,7)))
call boekie_vulshok_multiboard.setValue(2,I2S(12-ModuloInteger(tower.userInt,12)))
call boekie_vulshok_multiboard.setValue(3,I2S(15-ModuloInteger(tower.userInt,15)))
return boekie_vulshok_multiboard
[values] => Array
(
)
)
[3] => Array
(
[name] => On Damage
[code] => local Iterate it
local Creep creep = Event.getTarget()
if tower.userInt2 == 1 then
call tower.doAttackDamageAoEUnit(creep,200,tower.getCurrentAttackDamageWithBonus(),tower.calcAttackMulticrit(0.0,0.0,1),0.0) //+1 multicrit count for the guaranteed crit every three attacks.
set Event.damage = 0 //Cancel the regular attack
//Apply slow to all creeps hit.
set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,creep,200)
loop
set creep = it.next()
exitwhen creep == 0
if creep.getBuffOfType(boekie_vulshok_slow) == 0 then
call boekie_vulshok_slow.apply(tower, creep, tower.getLevel()*5)
endif
endloop
set tower.userInt2 = 0
else
if creep.getBuffOfType(boekie_vulshok_slow) == 0 then
call boekie_vulshok_slow.apply(tower, creep, tower.getLevel()*5)
endif
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNCriticalStrike.blp
[name] => Maim
[short_explain] => Vulshok maims his targets, slowing them with every hit.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => When Vulshok damages a creep it gets maimed. The creep is slowed by |cffFFFF8010%|r for |cffFFFF805|r seconds and every second it gets slowed by an extra |cffFFFF805%|r. This buff lasts for |cffFFFF805|r seconds and cannot be refreshed. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r slow |n|cffFFFF80+0.1%|r extra slow per second
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => //Abilities
set tower.userInt = 0
//Splash on next attack
set tower.userInt2 = 0
//Number of growths
set tower.userInt3 = 0
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bcri
[oeValues] => Array
(
[EditorName] => Maim
[race] => other
[Buffubertip] => This unit is maimed. Its movement speed will reduce over time.
[TargetArt] => Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
[Bufftip] => Maim
[Buffart] => ReplaceableTextures\CommandButtons\BTNCriticalStrike.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)