Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => The wearer may bend the ocean's vast power to their command.
[Art] => ReplaceableTextures\CommandButtons\BTNSirenMaster.blp
[abilList] => Array
(
)
[Name] => Leviathan's Crest Talisman
)
[settings] => Array
(
[balanceTip] => Array
(
)
[goldcost] => 1500
[author] => Moppy
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Tower t = itm.getCarrier()
local Projectile p
if t.calcChance(0.25 * t.getBaseAttackspeed()) == true then
set p = Projectile.createFromUnitToUnit(moppy_tital_jet_stream_wave, t, 1, 0, t, Event.getTarget(), true, false, false)
endif
[values] => Array
(
[explain] => On attack, there is a |cffFFFF8025%|r attack speed adjusted chance to deal |cffFFFF802500|r spell damage to creeps in |cffFFFF80200|r range around the target, reduce their movement speed by |cffFFFF8020%|r and armor by |cffFFFF804|r. Lasts |cffFFFF803|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.8%|r slow|n|cffFFFF80+0.16|r armor
[visible] => true
[goldcost] => 1500
[name] => Tidal Jet Stream
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType moppy_tidal_jet_stream_debuff
ProjectileType moppy_tital_jet_stream_wave
endglobals
function moppy_tidal_jet_stream_shot takes Projectile p, Unit target returns nothing
local Unit tower = p.getCaster()
local Iterate i = Iterate.overUnitsInRangeOfUnit(tower, TARGET_TYPE_CREEPS, target, 200)
loop
set target = i.next()
exitwhen target == 0
call tower.doSpellDamage(target, 2500, tower.calcSpellCritNoBonus())
call moppy_tidal_jet_stream_debuff.applyCustomTimed(tower, target, 0, 3.00)
endloop
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 m = Modifier.create()
set moppy_tidal_jet_stream_debuff = BuffType.create(0, 0, false)
call m.addModification(MOD_MOVESPEED, -0.20, -0.008)
call m.addModification(MOD_ARMOR, -4.0, -0.16)
call moppy_tidal_jet_stream_debuff.setBuffModifier(m)
call moppy_tidal_jet_stream_debuff.setBuffIcon('@@0@@')
set moppy_tital_jet_stream_wave = ProjectileType.create("Abilities\\Spells\\Other\\CrushingWave\\CrushingWaveMissile.mdl", 50, 1000)
call moppy_tital_jet_stream_wave.enableHoming(moppy_tidal_jet_stream_shot, 0.0)
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[EditorName] => Tidal Jet Stream
[Buffubertip] => Slowed and reduced armor.
[TargetArt] => Abilities\Spells\Other\CrushingWave\CrushingWaveDamage.mdl
[Buffart] => ReplaceableTextures\CommandButtons\BTNSirenMaster.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)