Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNEntanglemine.blp
[dmgplus1] => 135
[bldtm] => 1
[goldcost] => 300
[sides1] => 101
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Afflicted Obelisk
[red] => 150
[weapTp1] => missile
[MissileHoming] => 1
[file] => Doodads\Ashenvale\Props\AshenObilisk\AshenObilisk.mdl
[uberSplat] => ESMB
[Missileart] => Abilities\Weapons\ChimaeraAcidMissile\ChimaeraAcidMissile.mdl
[Missilespeed] => 1500
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.5
[rangeN1] => 1000
[atkType1] => chaos
[cool1] => 1.2
[Ubertip] => Something might hatch here soon...ish
[blue] => 150
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.55
[author] => SirCoqaLot.
[alpha] => 255
[authorDisplay] => SirCoqaLot.
[version] => 1.0
[element] => nature
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => -38.3243
[y] => -15.1131
[z] => 0
[scale] => 0.4
[rot] => 3.93929
[file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 2.1892
[y] => -21.9121
[z] => 19.2
[scale] => 0.3
[rot] => 5.1749
[file] => Doodads\Dungeon\Terrain\EggSack\EggSack0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType dummy_obelisk_debuff
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
set dummy_obelisk_debuff = BuffType.create(0,0,true)
call dummy_obelisk_debuff.setBuffIcon('@@0@@')
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Unit target = Event.getTarget()
local integer id = target.getUID()
local integer level = tower.getLevel()
call dummy_obelisk_debuff.applyCustomTimed(tower,target,0,3/tower.getProp_BuffDuration()) // applying the dummy buff to show the effect on the unot
call target.modifyProperty(MOD_DMG_FROM_NATURE,0.025+level*0.0005) // mod property
call TriggerSleepAction(3.0) // 3 seconds before the parasite surfaces again
if target.getUID() == id then
call tower.doCustomAttackDamage(target,tower.getCurrentAttackDamageWithBonus(),tower.calcAttackMulticrit(0,0,0),AttackType.DECAY) //do the dmg
call SFXAtUnit("Objects\\Spawnmodels\\Undead\\CryptFiendEggsack\\CryptFiendEggsack.mdl",target.getUnit()) //effekt
call target.modifyProperty(MOD_DMG_FROM_NATURE,-0.025-level*0.0005) // end the modification
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNParasite.blp
[name] => Slumbering Parasite
[short_explain] => This tower deals additional Decay damage after a short delay and increases a target's vulnerability to nature towers.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => On attack this tower injects an ancient parasite into its target, which surfaces after |cffFFFF803|r seconds dealing this tower's attackdamage as |cff808000Decay|r damage to the target. Each parasite increases the creep's vulnerability to |cFF80FF00Nature|r towers by |cffffff802.5%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.05%|r |cFF80FF00Nature|r vulnerability
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHwe
[oeValues] => Array
(
[Buffubertip] => This unit is host to a parasite; it has increased vulnerability to nature towers and will receive damage when the parasite surfaces.
[Bufftip] => Slumering Parasite
[Buffart] => ReplaceableTextures\CommandButtons\BTNParasite.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => dummy_obelisk_debuff
)
)
)