Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => enemies
[splashTargs1] => enemies
[goldcost] => 65
[weapsOn] => 1
[Specialart] => Abilities\Weapons\PriestMissile\PriestMissile.mdl
[dice1] => 1
[Missilespeed] => 1900
[moveHeight] => 80
[file] => units\nightelf\Wisp\Wisp.mdl
[atkType1] => normal
[modelScale] => 0.8
[weapTp1] => missile
[acquire] => 849
[rangeN1] => 850
[upgrades] => Array
(
)
[cool1] => 1
[Ubertip] => A strong tower against the undead. Can see nearby invisible units.
[abilList] => @@0@@
[Name] => Small Light
[Missileart] => Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNStaffOfPreservation.blp
[buildingShadow] => Array
(
)
[sides1] => 7
[auto] => Array
(
)
[dmgplus1] => 52
[bldtm] => 1
)
[settings] => Array
(
[author] => SternBogen
[element] => astral
[authorDisplay] => SternBogen
[alpha] => 200
[balanceTip] => Array
(
)
[rarity] => uncommon
[comment] => YOU TD :)
[version] => 1.11
[abil_factor] => 0.85
)
[effects] => Array
(
[0] => Array
(
[x] => -1.475
[y] => 13.9272
[z] => 0
[scale] => 0.4
[rot] => 4.7737
[file] => buildings\other\ElvenGuardTower\ElvenGuardTower.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Unit creep = Event.getTarget()
// 0.001 Basic Bonus
local integer bufflevel = 50 + 2 * tower.getLevel()
if (CATEGORY_UNDEAD == creep.getCategory()) then
call sternbogen_holy_Buff.apply(tower,Event.getTarget(),bufflevel)
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType sternbogen_holy_Buff
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 light_mod = Modifier.create()
set sternbogen_holy_Buff = BuffType.create(3,0.012,false)
call light_mod.addModification(MOD_SPELL_DAMAGE_RECEIVED, 0.0 , 0.001 )
call light_mod.addModification(MOD_ATK_DAMAGE_RECEIVED, 0.0 , 0.001 )
call sternbogen_holy_Buff.setBuffModifier(light_mod)
call sternbogen_holy_Buff.setBuffIcon('@@1@@')
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNStaffOfPreservation.blp
[visible] => true
[name] => Power of Light
[short_explain] => The Power of Light weakens enemy undead creeps
[long_explain] => The mighty holy light weakens enemy undead creeps for |cffFFFF803|r seconds, so they will receive |cffFFFF805%|r more damage from physical and spell attacks. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.12|r seconds|n|cffFFFF80+0.2%|r damage
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Agyv
[oeValues] => Array
(
[Name] => Magical Sight
[Art] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
[Ubertip] => Can see invisible enemy units in |cffFFFF80650|r range.
[Untip] => Reveals nearby invisible units
[Rng1] => 650
[Tip] => Magical Sight
[Unubertip] => Reveals nearby invisible units
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Bufftip] => Power of Light
[Buffubertip] => The creep receives more attack and spelldamage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNStaffOfPreservation.blp
[EditorName] => Power of Light
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => sternbogen_holy_Buff
)
)
)