Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[targCount1] => 5
[Farea1] => 400
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_Frostbolt.blp
[damageLoss1] => 0.3
[dmgplus1] => 212
[bldtm] => 1
[goldcost] => 1200
[sides1] => 5
[acquire] => 1300
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Prince of Frost
[red] => 50
[weapTp1] => mbounce
[file] => units\creeps\Revenant\Revenant.mdl
[uberSplat] => YTDN
[Missilespeed] => 2000
[Missileart] => Abilities\Spells\Other\FrostBolt\FrostBoltMissile.mdl
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.8
[rangeN1] => 1300
[atkType1] => pierce
[cool1] => 1.5
[Ubertip] => A revered sovereign of the Frost Realm, endowed with unparalleled command over the elemental forces of ice.
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffCCFF00Bounce attack:|n |cffFFFF005|r targets|n |cffFFFF00-30%|r damage per bounce|n|cffFFFF005%|r spell crit chance (|cffFFFF00+0.25%|r/lvl)
[abil_factor] => 0.25
[author] => Moppy
[alpha] => 255
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[element] => ice
[rarity] => rare
)
[effects] => Array
(
[0] => Array
(
[x] => -30.8329
[y] => -31.534
[z] => -32
[scale] => 0.25
[rot] => 1.5708
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.476939
[y] => 30.1155
[z] => -0.000000953674
[scale] => 0.25
[rot] => 1.5708
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 32.3088
[y] => -31.4112
[z] => -32
[scale] => 0.25
[rot] => 1.5708
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => 0.275303
[y] => -0.503289
[z] => 0
[scale] => 0.5
[rot] => 4.53786
[file] => Doodads\Icecrown\Rocks\Ice_SnowRock\Ice_SnowRock6.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => -0.428906
[y] => 0.357268
[z] => 76.8
[scale] => 0.875
[rot] => 1.5708
[file] => Abilities\Spells\Undead\FrostArmor\FrostArmorTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_SPELL_CRIT_CHANCE
[base] => 0.0375
[add] => 0.0025
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType moppy_realm_of_frost_aura
//@export
BuffType moppy_glacial_strike_attack
endglobals
//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 r = Modifier.create()
local Modifier g = Modifier.create()
set moppy_realm_of_frost_aura = BuffType.createAuraEffectType(false)
call r.addModification(MOD_DMG_FROM_ICE, 0.0, 0.001)
call moppy_realm_of_frost_aura.setBuffModifier(r)
call moppy_realm_of_frost_aura.setBuffIcon('@@0@@')
set moppy_glacial_strike_attack = BuffType.create(0.0, 0.0, false) // Set custom timed in OnDamage
call g.addModification(MOD_MOVESPEED, 0.0, -0.001) // Set local variable in OnDamage
call moppy_glacial_strike_attack.setBuffModifier(g)
call moppy_glacial_strike_attack.setBuffIcon('@@1@@')
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Unit c = Event.getTarget()
local integer lvl = tower.getLevel()
local integer slow = R2I((0.1 + lvl * 0.005) * 1000)
call tower.doSpellDamage(c, tower.userReal + (lvl * tower.userReal2), tower.calcSpellCritNoBonus())
call moppy_glacial_strike_attack.applyCustomTimed(tower, c, slow, 3.0)
call SFXOnUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl",c.getUnit(),"origin")
[values] => Array
(
[ONDAMAGE_chance] => 0.15
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNFrostBolt.blp
[name] => Glacial Strike
[short_explain] => The tower has a chance on hit to unleash frigid blasts on its targets, dealing spell damage and slowing them.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => The tower has a |cffFFFF8015%|r chance on hit to unleash frigid blasts on its targets, dealing |cffFFFF801000|r spell damage and slowing them by |cffFFFF8010%|r for |cffFFFF803|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+50|r spell damage|n|cffFFFF80+0.5%|r slow|n|cffFFFF80+0.4%|r chance
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 2
[visible] => true
[AURA_auraEffect] => moppy_realm_of_frost_aura
[AURA_levelAdd] => 2
[AURA_power] => 100
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_Frostbolt.blp
[AURA_targetType] => TARGET_TYPE_CREEPS
[long_explain] => Increases the vulnerability of enemies in |cffFFFF801300|r range to damage from |cFF00FFFFIce|r towers by |cffFFFF8010%|r. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r vulnerability
[AURA_targetSelf] => false
[name] => Realm of Frost
[AURA_level] => 100
[short_explain] => Makes nearby foes more vulnerable to |cFF00FFFFIce|r towers.
[AURA_auraRange] => 1300
)
)
[3] => Array
(
[name] => On Tower Creation
[code] => set tower.userReal = 1000
set tower.userReal2 = 50
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[EditorName] => Realm of Frost
[Buffubertip] => Taking increased damage from ice towers.
[TargetArt] => Array
(
)
[Bufftip] => Realm of Frost
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Frost_Frostbolt.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BNab
[oeValues] => Array
(
[EditorName] => Glacial Strike
[Buffubertip] => Slowed.
[TargetArt] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
[Bufftip] => Glacial Strike
[Buffart] => ReplaceableTextures\CommandButtons\BTNFrostBolt.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => moppy_realm_of_frost_aura
)
[1] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => moppy_glacial_strike_attack
)
)
[lightning] => Array
(
)
)