Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpellBreaker.blp
[turnRate] => 0.6
[dmgplus1] => 7062
[bldtm] => 1
[goldcost] => 3500
[sides1] => 1
[manaN] => 400
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Nortrom the Silencer
[weapTp1] => missile
[MissileHoming] => 1
[file] => units\human\BloodElfSpellThief\BloodElfSpellThief.mdl
[Missileart] => Abilities\Weapons\BloodElfSpellThiefMISSILE\BloodElfSpellThiefMISSILE.mdl
[Missilespeed] => 1000
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 6
[mana0] => 400
[animProps] => stand ready
[modelScale] => 0.5
[rangeN1] => 800
[backSw1] => 0.5
[atkType1] => siege
[cool1] => 3
[Ubertip] => Shh...Silence is Golden...
[abilList] => Array
(
)
[dmgpt1] => 0.5
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => .45
[author] => i_mOck_death
[alpha] => 255
[authorDisplay] => |cffc0c0c0i_mOck_death|r
[version] => 1.0
[element] => astral
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 22.6488
[y] => 9.31096
[z] => 19.2
[scale] => 2
[rot] => 3.59538
[file] => Abilities\Weapons\BloodElfSpellThiefMISSILE\BloodElfSpellThiefMISSILE.mdl
[red] => 255
[green] => 255
[blue] => 1
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -14.5463
[y] => -13.197
[z] => 19.2
[scale] => 2
[rot] => 3.71755
[file] => Abilities\Weapons\BloodElfSpellThiefMISSILE\BloodElfSpellThiefMISSILE.mdl
[red] => 255
[green] => 255
[blue] => 1
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 1.91262
[y] => -0.797879
[z] => -134.4
[scale] => 2.5
[rot] => 4.69494
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes8.mdl
[red] => 255
[green] => 255
[blue] => 1
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -0.817639
[y] => -2.78332
[z] => -134.4
[scale] => 2.5
[rot] => 5.71789
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes8.mdl
[red] => 255
[green] => 255
[blue] => 1
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -41.744
[y] => 39.5628
[z] => 0
[scale] => 0.55
[rot] => 5.39995
[file] => Doodads\Ruins\Props\LibraryShelf\LibraryShelf0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 37.6777
[y] => 44.7453
[z] => 0
[scale] => 0.55
[rot] => 3.96758
[file] => Doodads\Ruins\Props\LibraryShelf\LibraryShelf1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 0.0320815
[y] => 2.90497
[z] => 0
[scale] => 0.26
[rot] => 5.51585
[file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => 2.4528
[y] => 56.5211
[z] => 0
[scale] => 0.55
[rot] => 4.69494
[file] => Doodads\Ruins\Props\LibraryShelf\LibraryShelf2.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 Attack
[code] => local Creep target = Event.getTarget()
local Creep next
local Iterate it
if tower.subtractMana(40, false) == 40 then
set it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_CREEPS, 800)
loop
set next=it.next()
exitwhen next==0
if GetUnitState(next.getUnit(),UNIT_STATE_LIFE) < GetUnitState(target.getUnit(),UNIT_STATE_LIFE) then
set target = next
endif
endloop
call Projectile.createLinearInterpolationFromUnitToUnit(glaive_of_wisdom,tower,1,1,tower,target,0,true).setScale(.5)
endif
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNUpgradeMoonGlaive.blp
[name] => Glaives of Wisdom
[short_explain] => Every time Nortrom attacks he launches out an extra glaive that targets the weakest unit at the cost of mana.
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => Every attack an extra glaive is shot out at the cost of |cffFFFF8040|r mana. This glaive deals physical damage equal to Nortrom's attack damage and targets the creep with the least health in Nortrom's attack range.
)
)
[1] => Array
(
[name] => Header
[code] => globals
ProjectileType glaive_of_wisdom
BuffType global_silence
endglobals
function glaive_hit takes Projectile p,Unit creep returns nothing
local Tower tower = p.getCaster()
local real damage = tower.getCurrentAttackDamageWithBonus()
if creep.isSilenced() == true then
set damage = damage * (1.2+tower.getLevel()*.032)
call Effect.createScaled("Abilities\\Spells\\Human\\Feedback\\SpellBreakerAttack.mdl", GetUnitX(creep.getUnit()), GetUnitY(creep.getUnit()), 30, 0, 2).destroy()
endif
call tower.doAttackDamage(creep,damage,tower.calcAttackMulticrit(0,0,0))
endfunction
function silence takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower towero = b.getBuffedUnit()
local Creep target = Event.getTarget()
if tower.calcChance((0.03+(0.0008*tower.getLevel()))*towero.getBaseAttackspeed()) then
if target.getSize() == SIZE_BOSS then
call cb_silence.applyOnlyTimed(tower,target,.5+tower.getLevel()*.02)
else
call cb_silence.applyOnlyTimed(tower,target,1+tower.getLevel()*.04)
endif
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
set glaive_of_wisdom = ProjectileType.createInterpolate("Abilities\\Weapons\\BloodElfSpellThiefMISSILE\\BloodElfSpellThiefMISSILE.mdl",1000)
call glaive_of_wisdom.setEventOnInterpolationFinished(ProjectileTargetEvent.glaive_hit)
set global_silence = BuffType.createAuraEffectType(true)
call global_silence.setBuffIcon('@@0@@')
call global_silence.addEventOnAttack(silence,1.0, 0.0)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Damage
[code] => local Creep creep = Event.getTarget()
local unit c = creep.getUnit()
if creep.isSilenced() == true then
set Event.damage = Event.damage * (1.2+tower.getLevel()*.032)
call Effect.createScaled("Abilities\\Spells\\Human\\Feedback\\SpellBreakerAttack.mdl", GetUnitX(c), GetUnitY(c), 30, 0, 2).destroy()
endif
set c = null
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNSpellSteal.blp
[name] => Last Word
[short_explain] => Nortrom does more damage to silenced units.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => If Nortrom attacks a silenced creep, then he does |cffFFFF8020%|r more damage. This affects Glaives of Wisdom as well.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+3.2%|r damage
)
)
[3] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 1
[visible] => true
[AURA_auraEffect] => global_silence
[AURA_levelAdd] => 1
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNSleep.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => All towers within |cffFFFF80350|r range of Nortrom have a |cffFFFF803%|r attackspeed adjusted chance to silence targeted creeps for |cffFFFF801|r second. Duration is halved against bosses.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.08%|r chance|n|cffFFFF80+0.04|r silence duration
[AURA_targetSelf] => true
[name] => Global Silence
[AURA_level] => 0
[short_explain] => Grants all towers in range the power of silence.
[AURA_auraRange] => 350
)
)
[4] => Array
(
[name] => Periodic
[code] => local Creep next
local Iterate it = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_CREEPS, 800)
loop
set next=it.next()
exitwhen next==0
call cb_silence.applyOnlyTimed(tower,next,2+tower.getLevel()*.04)
endloop
[values] => Array
(
[visible] => true
[PERIODIC_period] => 7
[icon] => ReplaceableTextures\CommandButtons\BTNControlMagic.blp
[name] => Curse of the Silent
[short_explain] => Nortrom silences nearby units.
[long_explain] => Every |cffFFFF807|r seconds creeps within |cffFFFF80800|r range of Nortrom are silenced for |cffFFFF802|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.04|r silence duration
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[EditorName] => Global Silence
[Buffubertip] => This tower has a chance to silence creeps it attacks.
[TargetArt] => Array
(
)
[Bufftip] => Global Silence
[Buffart] => ReplaceableTextures\CommandButtons\BTNSleep.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)