Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNShadowMeld.blp
[turnRate] => 2.5
[dmgplus1] => 2895
[bldtm] => 1
[unitSound] => Archer
[goldcost] => 2900
[sides1] => 1
[acquire] => 900
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Forest Protectress
[red] => 170
[weapTp1] => missile
[MissileHoming] => 1
[file] => units\nightelf\Shandris\Shandris.mdl
[uberSplat] => ESMB
[Missileart] => Abilities\Weapons\MoonPriestessMissile\MoonPriestessMissile.mdl
[Missilespeed] => 1250
[dice1] => 1
[RngBuff1] => 250
[green] => 170
[modelScale] => 0.6
[rangeN1] => 900
[backSw1] => 0.28
[atkType1] => siege
[cool1] => 2.2
[Ubertip] => The Forest Protectress is a mighty ancient figther. With the powers to melt with the surrounding landscape. Sometime ago, she lost faith in her god Elune and broke the connection. Because of this she lost some of her strength.
[blue] => 200
[abilList] => Array
(
)
[moveHeight] => 55
[dmgpt1] => 0.72
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+6% |rdamage/lvl
[abil_factor] => 0.35
[author] => cedi
[alpha] => 255
[authorDisplay] => cedi
[version] => 1.0
[element] => nature
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 32.9104
[y] => 29.2689
[z] => 0
[scale] => 0.4
[rot] => 0.925025
[file] => Doodads\Felwood\Props\FelwoodLogStraight\FelwoodLogStraight.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -3.24633
[y] => 8.72593
[z] => 0
[scale] => 0.4
[rot] => 3.40572
[file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -1.86135
[y] => 1.37616
[z] => 0
[scale] => 0.7
[rot] => 1.15192
[file] => Abilities\Spells\NightElf\TargetArtLumber\TargetArtLumber.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => true
[animation] => Array
(
)
[aniSpeed] => 0.5
)
[3] => Array
(
[x] => -42.1413
[y] => 33.6348
[z] => 0
[scale] => 0.35
[rot] => 5.13127
[file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
[red] => 50
[green] => 255
[blue] => 50
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -20.3937
[y] => -31.8185
[z] => 0
[scale] => 0.35
[rot] => 5.63741
[file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
[red] => 50
[green] => 255
[blue] => 50
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => 29.3725
[y] => -17.0869
[z] => 0
[scale] => 0.35
[rot] => 1.3439
[file] => Doodads\Ashenvale\Plants\AshenBush0\AshenBush0.mdl
[red] => 50
[green] => 255
[blue] => 50
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -8.45903
[y] => 2.9139
[z] => 0
[scale] => 0.55
[rot] => 5.90656
[file] => Abilities\Spells\NightElf\EntangleMine\Roots.mdl
[red] => 240
[green] => 140
[blue] => 100
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -6.48242
[y] => -50.671
[z] => 0
[scale] => 0.45
[rot] => 5.51261
[file] => units\critters\EasterRabbit\EasterRabbit.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -13.6227
[y] => -13.6459
[z] => 51.2
[scale] => 0.3
[rot] => 1.94611
[file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -48.2791
[y] => 16.7042
[z] => 0
[scale] => 0.3
[rot] => 0.710166
[file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => 20.1264
[y] => -44.7836
[z] => 0
[scale] => 0.3
[rot] => 3.44658
[file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[11] => Array
(
[x] => -48.9115
[y] => -8.96296
[z] => 0
[scale] => 0.35
[rot] => 2.42601
[file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[12] => Array
(
[x] => 7.54714
[y] => -49.7291
[z] => 0
[scale] => 0.35
[rot] => 0.663225
[file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[13] => Array
(
[x] => -55.9967
[y] => -2.43545
[z] => 0
[scale] => 0.5
[rot] => 5.68055
[file] => units\nightelf\Runner\Runner.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DAMAGE_BASE_PERC
[base] => 0
[add] => 0.06
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType BT
BuffType AURA
endglobals
function startAura takes Buff B returns nothing
set B.userReal = 0.0
endfunction
function attack takes Buff B returns nothing
local Tower T = B.getBuffedUnit()
local Unit U = Event.getTarget()
local real r = GetUnitState( U.getUnit(), UNIT_STATE_LIFE ) / GetUnitState( U.getUnit(), UNIT_STATE_MAX_LIFE )
set r = r * ( 0.25 + B.getCaster().getLevel() * 0.01 )
call T.modifyProperty( MOD_ATK_CRIT_CHANCE, -B.userReal )
call T.modifyProperty( MOD_ATK_CRIT_CHANCE, r )
set B.userReal = r
endfunction
function end takes Buff B returns nothing
call B.getBuffedUnit().modifyProperty( MOD_ATK_CRIT_CHANCE, -B.userReal )
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 BT = BuffType.create( 1.5, 0.04, true )
call m.addModification( MOD_MOVESPEED, -0.50, 0.00 )
call BT.setBuffIcon( '@@0@@' )
call BT.setBuffModifier( m )
set AURA = BuffType.createAuraEffectType( true )
call AURA.setBuffIcon( '@@1@@' )
call AURA.addEventOnCreate( startAura )
call AURA.addEventOnAttack( attack, 1.0, 0.0 )
call AURA.addEventOnCleanup( end )
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Iterate I
local Unit U
if ( tower.calcChance( 0.05 * tower.userInt ) ) then
set I = Iterate.overUnitsInRangeOfUnit( tower, TARGET_TYPE_CREEPS, Event.getTarget(), 250.00 )
call SFXAtUnit( "Objects\\Spawnmodels\\NightElf\\NECancelDeath\\NECancelDeath.mdl", Event.getTarget().getUnit() )
call tower.doAttackDamageAoEUnit( Event.getTarget(), 250.00, tower.getCurrentAttackDamageWithBonus() * ( 0.5 + 0.02 * tower.getLevel() ), tower.calcAttackMulticrit(0,0,0), 0.00 )
loop
set U = I.next()
exitwhen U == 0
call BT.apply( tower, Event.getTarget(), tower.getLevel() )
endloop
endif
call SetUnitVertexColor( tower.getUnit(), 255, 255, 255, 255 )
call tower.modifyProperty( MOD_DAMAGE_ADD_PERC, -tower.userReal2 )
set tower.userReal2 = 0.00
set tower.userInt = 0
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNPossession.blp
[name] => Protectress's Wrath
[short_explain] => The Protectress's attacks have a chance to splash damage to nearby units, slowing them in the process.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Each attack has a |cffFFFF80[seconds since last attack x 5]%|r chance to deal an extra |cffFFFF8050%|r attack damage to all units in |cffFFFF80250|r range around the target. The maximum chance is |cffFFFF8075%|r. Slows all damaged units by |cffFFFF8050%|r for |cffFFFF801.5|r seconds. Increased attackspeed decreases time needed to gain a charge.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2%|r damage|n|cffFFFF80+0.04|r seconds
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 1
[visible] => true
[AURA_auraEffect] => AURA
[AURA_levelAdd] => 1
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNPurge.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Increases the attack critical chance of towers in |cffFFFF80175|r range by |cffFFFF800.25%|r for each |cffFFFF801%|r hp the attacked creep has left.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.01%|r attack crit chance
[AURA_targetSelf] => true
[name] => Strike the Unprepared
[AURA_level] => 0
[short_explain] => Increases the attack critical chance of towers in |cffFFFF80175|r range if they attack a creep with much hp left.
[AURA_auraRange] => 175
)
)
[3] => Array
(
[name] => Periodic
[code] => local integer i = tower.getLevel()
local PeriodicEvent P = Event.getCurrentPeriodicEvent()
local real r = tower.getCurrentAttackspeed() / 2.2
if tower.userInt < 12 then
set tower.userInt = tower.userInt + 1
call SetUnitVertexColor( tower.getUnit(), 255, 255, 255, 255 - 15 * tower.userInt )
call tower.modifyProperty( MOD_DAMAGE_ADD_PERC, 0.18 + i * 0.01 )
set tower.userReal2 = tower.userReal2 + 0.18 + i * 0.01
endif
call P.enableAdvanced( r, false )
[values] => Array
(
[visible] => true
[PERIODIC_period] => 1.00
[icon] => ReplaceableTextures\CommandButtons\BTNShadowMeld.blp
[name] => Meld with the Forest
[short_explain] => The Protectress is able to meld with the forest when out of combat. She gains additional attack damage for each second when not attacking.
[long_explain] => The Protectress gains |cffFFFF8018%|r additional attack damage for each second she doesn't attack. There is a maximum of |cffFFFF8012|r seconds. On attack the bonus disappears. Increased attackspeed decreases the time needed to gain a charge.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1%|r damage per second
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 0
set tower.userReal2 = 0.00
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[EditorName] => Protectress Wrath
[Buffubertip] => This unit is extremly strong slowed.
[TargetArt] => Array
(
)
[Bufftip] => Protectress Wrath
[Buffart] => ReplaceableTextures\CommandButtons\BTNPossession.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[EditorName] => Strike the Unprepared
[Buffubertip] => This tower's attack crit chance is increased.
[TargetArt] => Array
(
)
[Bufftip] => Strike the Unprepared
[Buffart] => ReplaceableTextures\CommandButtons\BTNPurge.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)