Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 4000
[weapsOn] => 1
[dice1] => 1
[moveHeight] => 75
[file] => units\human\HeroBloodElf\HeroBloodElf.mdl
[manaN] => 550
[dmgpt1] => 1.125
[modelScale] => 0.65
[atkType1] => magic
[weapTp1] => missile
[acquire] => 950
[rangeN1] => 950
[upgrades] => Array
(
)
[cool1] => 3
[Ubertip] => An elven mage who has devoted his entire life to the study of time.
[backSw1] => 0.85
[regenMana] => 5
[abilList] => Array
(
)
[Missileart] => Abilities\Weapons\BloodElfMissile\BloodElfMissile.mdl
[mana0] => 50
[Name] => Time Manipulator
[Art] => ReplaceableTextures\CommandButtons\BTNHeroBloodElfPrince.blp
[buildingShadow] => Array
(
)
[blue] => 0
[unitSound] => Kael
[turnRate] => 1.5
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 3993
[bldtm] => 1
)
[settings] => Array
(
[author] => Majildian
[element] => astral
[authorDisplay] => |cff87cefaMajildian|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.25
)
[effects] => Array
(
[0] => Array
(
[x] => 33.7531
[y] => -29.0718
[z] => 0
[scale] => 0.75
[rot] => 6.0912
[file] => Doodads\Ruins\Props\Stone\Stone2.mdl
[red] => 200
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -31.7646
[y] => -30.309
[z] => 0
[scale] => 0.75
[rot] => 1.23918
[file] => Doodads\Ruins\Props\Stone\Stone2.mdl
[red] => 200
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -29.3342
[y] => 38.9906
[z] => 0
[scale] => 0.75
[rot] => 2.8798
[file] => Doodads\Ruins\Props\Stone\Stone2.mdl
[red] => 200
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 33.5914
[y] => 41.287
[z] => 0
[scale] => 0.75
[rot] => 4.50296
[file] => Doodads\Ruins\Props\Stone\Stone2.mdl
[red] => 200
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -36.7869
[y] => 38.7544
[z] => 51.2
[scale] => 0.3
[rot] => 2.77507
[file] => Doodads\Cinematic\EyeOfSargeras\EyeOfSargeras.mdl
[red] => 255
[green] => 160
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 34.4635
[y] => 38.7544
[z] => 51.2
[scale] => 0.3
[rot] => 1.27409
[file] => Doodads\Cinematic\EyeOfSargeras\EyeOfSargeras.mdl
[red] => 255
[green] => 160
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 37.7389
[y] => -27.8299
[z] => 51.2
[scale] => 0.3
[rot] => 5.51524
[file] => Doodads\Cinematic\EyeOfSargeras\EyeOfSargeras.mdl
[red] => 255
[green] => 160
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => 3.11516
[y] => 5.04804
[z] => 64
[scale] => 0.85
[rot] => 2.35619
[file] => Doodads\Outland\Props\Grate\Grate1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 100
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -32.5487
[y] => -30.309
[z] => 51.2
[scale] => 0.3
[rot] => 4.15388
[file] => Doodads\Cinematic\EyeOfSargeras\EyeOfSargeras.mdl
[red] => 255
[green] => 160
[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 = 0
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call MajFutureKnowledge.setValue(0, I2S(tower.userInt))
return MajFutureKnowledge
[values] => Array
(
)
)
[2] => Array
(
[name] => Header
[code] => globals
BuffType MajManipAura
BuffType MajTimeField
MultiboardValues MajFutureKnowledge
endglobals
function MajFieldDamage takes Buff b returns nothing
local Tower caster = b.getCaster()
call caster.doSpellDamagePBAoE(950,b.getLevel()*75+1500,caster.calcSpellCritNoBonus(),0.0)
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 MajManipMod = Modifier.create()
set MajTimeField = BuffType.create(10,0.0,false)
call MajTimeField.addPeriodicEvent(MajFieldDamage,1.0)
call MajTimeField.setSpecialEffectAdvanced("Doodads\\Cinematic\\EnergyField\\EnergyField.mdl", 0, 0, 0, 3.5, 0, 255, 255, 255, 255, 180)
set MajManipAura = BuffType.createAuraEffectType(true)
call MajManipMod.addModification(MOD_EXP_RECEIVED,0.1,0.016)
call MajManipMod.addModification(MOD_ATTACKSPEED,0.1,0.01)
call MajManipMod.addModification(MOD_MANA_REGEN_PERC,0.05,0.02)
call MajManipMod.addModification(MOD_BUFF_DURATION,0.125,0.015)
call MajManipAura.setBuffModifier(MajManipMod)
call MajManipAura.setBuffIcon('@@0@@')
set MajFutureKnowledge = MultiboardValues.create(1)
call MajFutureKnowledge.setKey(0,"Exp Exchanged")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[3] => Array
(
[name] => Periodic
[code] => if tower.getExp() >= 700 then
call tower.removeExpFlat(50)
set tower.userInt = tower.userInt + 50
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, 0.05)
call SFXOnUnit("Abilities\\Spells\\Other\\Charm\\CharmTarget.mdl", tower.getUnit(), "overhead")
else
call tower.addExp(2)
call SFXOnUnit("Abilities\\Spells\\NightElf\\Blink\\BlinkTarget.mdl", tower.getUnit(), "origin")
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNBlink.blp
[visible] => true
[PERIODIC_period] => 10
[name] => Future Knowledge
[short_explain] => Periodically travels to the future, increasing exp.
[long_explain] => The Manipulator travels into the future to learn more and returns to where he left every |cffFFFF8010|r seconds, increasing his experience by |cffFFFF802|r. If he has |cffFFFF80700|r or more exp then he will exchange |cffFFFF8050|r experience for |cffFFFF805|r% extra spell damage. If the Manipulator is replaced by another tower, this process is reversed and all experience refunded.
)
)
[4] => Array
(
[name] => Autocast
[code] => call MajTimeField.apply(tower,tower,tower.getLevel())
[values] => Array
(
[caster_art] => Abilities\Spells\Other\Drain\DrainCaster.mdl
[icon] => ReplaceableTextures\CommandButtons\BTNOrbOfDeath.blp
[AUTOCAST_cooldown] => 30
[AUTOCAST_numBuffsBeforeIdle] => 1
[AUTOCAST_isExtended] => false
[long_explain] => The Manipulator creates a field of time that inflicts future injuries upon creatures around him dealing |cffFFFF801500|r damage every second for |cffFFFF8010|r seconds. This ability benefits from the buff duration bonus of Time Twist. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+75|r damage
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
[AUTOCAST_manacost] => 500
[AUTOCAST_range] => 950
[AUTOCAST_buffType] => MajTimeField
[name] => Time Field
[AUTOCAST_targetSelf] => true
[short_explain] => Forces the future into the present for creatures in a large radius, dealing damage over time.
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[target_art] =>
[AUTOCAST_autoRange] => 925
)
)
[5] => Array
(
[name] => On Tower Destruction
[code] => call tower.addExpFlat(tower.userInt)
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[6] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNDispelMagic.blp
[visible] => true
[AURA_auraEffect] => MajManipAura
[AURA_power] => 0
[long_explain] => The Manipulator reaches into the timestream and twists it causing future and past events to occur in the present, granting towers in |cffFFFF80240|r range: |r|n|cffFFFF80+10%|r experience gain |r|n|cffFFFF80+10%|r attack speed |r|n|cffFFFF80+5%|r mana regen|r|n|cffFFFF80+12.5%|r buff duration |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.6%|r exp gain|n|cffFFFF80+1%|r attack speed|n|cffFFFF80+2%|r mana regen|n|cffFFFF80+1.5%|r buff duration
[AURA_level] => 0
[AURA_auraRange] => 240
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_levelAdd] => 1
[AURA_powerAdd] => 1
[name] => Time Twist
[AURA_targetSelf] => true
[short_explain] => Twists the timestream for nearby towers, granting various bonuses.
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHds
[oeValues] => Array
(
[Bufftip] => Time Twist
[Buffubertip] => This tower is inside a twisted timestream.
[Buffart] => ReplaceableTextures\CommandButtons\BTNDispelMagic.blp
[TargetArt] => Abilities\Spells\Other\Drain\ManaDrainTarget.mdl
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)