Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[targCount1] => 2
[Farea1] => 400
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNHarpyWitch.blp
[damageLoss1] => 0.25
[turnRate] => 1
[dmgplus1] => 1831
[bldtm] => 1
[unitSound] => Harpy
[goldcost] => 1350
[sides1] => 163
[Missilearc] => 0.1
[manaN] => 30
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Harpy Witch
[weapTp1] => mbounce
[file] => units\creeps\HarpyWitch\HarpyWitch.mdl
[Missileart] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
[Missilespeed] => 1500
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 2
[modelScale] => 0.85
[rangeN1] => 1000
[backSw1] => 0.3
[atkType1] => normal
[cool1] => 2.4
[Ubertip] => Summoner of storms and rain. Harpies are known for their brutality and mercilessness.
[abilList] => Array
(
)
[moveHeight] => 120
[dmgpt1] => 0.3
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffCCFF00Bounce attack:|n |cffFFFF002|r targets|n |cffFFFF00-25%|r damage per bounce
[abil_factor] => 0.72
[author] => drol
[alpha] => 255
[authorDisplay] => |cffcc6600drol|r
[version] => 1.0
[element] => storm
[rarity] => rare
)
[effects] => Array
(
[0] => Array
(
[x] => -19.0053
[y] => -18.4923
[z] => 0
[scale] => 0.6
[rot] => 1.5708
[file] => Doodads\Felwood\Structures\FelwoodRubble\FelwoodRubble2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -21.482
[y] => 30.6093
[z] => 0
[scale] => 0.5
[rot] => 3.10669
[file] => Doodads\Felwood\Structures\FelwoodBrokenColumn\FelwoodBrokenColumn0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 30.2654
[y] => 26.0978
[z] => 0
[scale] => 0.5
[rot] => 6.26573
[file] => Doodads\Felwood\Structures\FelwoodRuinsBlocks\FelwoodRuinsBlocks.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 32.3501
[y] => -32.4289
[z] => 0
[scale] => 0.5
[rot] => 5.34071
[file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -35.2341
[y] => 2.61163
[z] => 0
[scale] => 0.5
[rot] => 5.16618
[file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_CREEPS, 1000)
local integer k = 2
local Unit u
local Projectile p
set tower.userInt = tower.getLevel() * 4
loop
set u = i.next()
exitwhen u == 0 or k == 0
set p = Projectile.createFromUnitToUnit(drol_harpyMissile, tower, 1, 0, tower, u, true, false, false)
call p.setScale(0.70)
set k = k - 1
endloop
if u != 0 then
call i.destroy()
endif
set i = 0
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNTornado.blp
[name] => Twister
[short_explain] => Has a chance on attack to summon two tornados that attack two creeps.
[ONATTACK_chance] => 0.08
[ONATTACK_chanceLevelAdd] => 0.003
[long_explain] => Attacks have a |cffFFFF808%|r chance to summon |cffFFFF802|r tornados towards two random creeps in attack range of the harpy. Upon hit each tornado deals this tower's attack damage to the target and makes it suffer |cffFFFF8010%|r additional damage from |cFF8080FFStorm|r towers for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.3%|r chance|n|cffFFFF80+0.4%|r additional damage taken
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType drol_harpy
//@export
BuffType drol_harpyDebuff
//@export
ProjectileType drol_harpyMissile
endglobals
//On Hit function
private function drol_harpyHit takes Projectile p, Unit creep returns nothing
local Tower tower = p.getCaster()
call tower.doAttackDamage(creep,tower.getCurrentAttackDamageWithBonus(), tower.calcAttackMulticrit(0,0,0))
call drol_harpyDebuff.apply(tower, creep, tower.userInt)
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()
local Modifier n = Modifier.create()
set drol_harpy = BuffType.create(7.5, 0.3, true)
set drol_harpyDebuff = BuffType.create(5., 0., false)
call m.addModification(MOD_SPELL_CRIT_CHANCE, 0.1, 0.001)
call m.addModification(MOD_SPELL_DAMAGE_DEALT, 0.15, 0.002)
call n.addModification(MOD_DMG_FROM_STORM, 0.10, 0.001)
call drol_harpy.setBuffModifier(m)
call drol_harpyDebuff.setBuffModifier(n)
call drol_harpy.setBuffIcon('@@0@@')
call drol_harpyDebuff.setBuffIcon('@@1@@')
set drol_harpyMissile = ProjectileType.create("Abilities\\Spells\\Other\\Tornado\\TornadoElementalSmall.mdl",4,1000)
call drol_harpyMissile.enableHoming(ProjectileTargetEvent.drol_harpyHit, 0)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => Autocast
[code] => call drol_harpy.apply(tower, Event.getTarget(), tower.getLevel())
[values] => Array
(
[AUTOCAST_cooldown] => 2
[AUTOCAST_autoRange] => 500
[AUTOCAST_manacost] => 22
[icon] => ReplaceableTextures\CommandButtons\BTNManaBurn.blp
[AUTOCAST_range] => 500
[AUTOCAST_targetType] => TARGET_TYPE_TOWERS
[AUTOCAST_numBuffsBeforeIdle] => 1
[caster_art] =>
[long_explain] => Increases the spell damage for a tower in |cffFFFF80500|r range by |cffFFFF8015%|r and it's spell critical strike chance by |cffFFFF8010%|r. Lasts |cffFFFF807.5|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r spell damage|n|cffFFFF80+0.1%|r spell critical strike chance|n|cffFFFF80+0.3|r seconds duration
[target_art] => Abilities\Spells\Other\Monsoon\MonsoonBoltTarget.mdl
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_buffType] => drol_harpy
[AUTOCAST_isExtended] => false
[name] => Sparks
[AUTOCAST_targetSelf] => false
[short_explain] => Increases the spell damage and spell critical strike chance of a nearby tower.
)
)
[3] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 0
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bblo
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Targetattach1] => Array
(
)
[Buffubertip] => This unit's spell damage and spell critical strike chance are increased.
[TargetArt] => Array
(
)
[Targetattachcount] => 0
[Bufftip] => Sparks
[Buffart] => ReplaceableTextures\CommandButtons\BTNManaBurn.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[race] => orc
[Buffubertip] => This unit takes additional damage from Storm towers.
[TargetArt] => Array
(
)
[Bufftip] => Twister
[Buffart] => ReplaceableTextures\CommandButtons\BTNTornado.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => drol_harpy
)
[1] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => drol_harpyDebuff
)
[2] => Array
(
[export] => true
[category] => global
[typ] => ProjectileType
[name] => drol_harpyMissile
)
)
)