Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[scaleBull] => 0
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 60
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1600
[file] => Units\Creeps\ForgottenOne\ForgottenOneTent.mdl
[dmgpt1] => 0.5
[atkType1] => siege
[modelScale] => 0.5
[weapTp1] => missile
[acquire] => 850
[rangeN1] => 850
[upgrades] => Array
(
)
[cool1] => 1.5
[Ubertip] => Sometimes hits its targets in a weak spot, leaving them rended.
[backSw1] => 0.56
[abilList] => Array
(
)
[launchZ] => 140
[Name] => Tentacle Spawn
[Missileart] => Abilities\Weapons\QuillSprayMissile\QuillSprayMissile.mdl
[launchY] => 20
[Art] => ReplaceableTextures\CommandButtons\BTNTentacle.blp
[buildingShadow] => Array
(
)
[turnRate] => 1
[unitSound] => SnapDragon
[sides1] => 12
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 64
[bldtm] => 1
)
[settings] => Array
(
[author] => drol
[element] => darkness
[authorDisplay] => |cffcc6600drol|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => common
[version] => 1.0
[abil_factor] => 0.75
)
[effects] => Array
(
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => set drol_tentacleDot.apply(tower, Event.getTarget(), 1).userReal = 20. + 0.8 * tower.getLevel()
[values] => Array
(
[ONDAMAGE_chance] => 0.25
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[ONDAMAGE_chanceLevelAdd] => 0.01
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType drol_tentacleDot
endglobals
function drol_tentacleDamage takes Buff b returns nothing
if not b.getBuffedUnit().isImmune() then
call b.getCaster().doSpellDamage(b.getBuffedUnit(), b.userReal, b.getCaster().calcSpellCritNoBonus())
call SFXOnUnit("Objects\\Spawnmodels\\Human\\HumanBlood\\HumanBloodRifleman.mdl", b.getBuffedUnit().getUnit(),"chest")
endif
endfunction
private function init takes nothing returns nothing
local Modifier m = Modifier.create()
call m.addModification( MOD_SPELL_DAMAGE_RECEIVED, 0.02, 0.01 )
set drol_tentacleDot = BuffType.create( 6., 0, false)
call drol_tentacleDot.setBuffIcon('@@0@@')
call drol_tentacleDot.addPeriodicEvent(EventHandler.drol_tentacleDamage,1)
call drol_tentacleDot.setBuffModifier(m)
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNThornShield.blp
[visible] => true
[name] => Rend
[short_explain] => Attacks have a chance to rend, which damages the target over time and makes it vulnerable to spell damage.
[long_explain] => The tentacle has a |cffFFFF8025%|r chance to rend a target, making it suffer |cffFFFF803%|r increased spell damage and dealing |cffFFFF8020|r spell damage per second for |cffFFFF806|r seconds. Does not stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r chance|n|cffFFFF80+0.8|r spell damage per second
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Bufftip] => Rend
[Targetattach] => chest
[Buffubertip] => This unit is hit by rend; it suffers damage every second.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNThornShield.blp
[TargetArt] => Abilities\Weapons\HydraliskImpact\HydraliskImpact.mdl
[Spelldetail] => 1
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => drol_tentacleDot
)
)
)