Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 600
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1100
[file] => units\demon\DemonessBlue\DemonessBlue.mdl
[manaN] => 30
[atkType1] => chaos
[modelScale] => 0.75
[weapTp1] => missile
[acquire] => 1100
[rangeN1] => 1100
[upgrades] => Array
(
)
[cool1] => 1.6
[Ubertip] => Yet she has the knowledge to transform you into a frog.
[regenMana] => 1.5
[abilList] => Array
(
)
[Name] => Adept Witch
[Missileart] => Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNBlueDemoness.blp
[buildingShadow] => Array
(
)
[turnRate] => 0.1
[unitSound] => Demoness
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 537
[bldtm] => 1
)
[settings] => Array
(
[author] => cedi
[element] => darkness
[authorDisplay] => cedi
[alpha] => 255
[balanceTip] => |cffFFFF00+1 |rmana/lvl|n|cffFFFF00+0.1 |rmana regen/lvl
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.6
)
[effects] => Array
(
[0] => Array
(
[x] => 1.85146
[y] => -47.3482
[z] => 44.8
[scale] => 0.5
[rot] => 3.10669
[file] => Doodads\LordaeronSummer\Props\CauldronWithHeads\CauldronWithHeads.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -10.9732
[y] => -49.4651
[z] => 0
[scale] => 0.5
[rot] => 1.60186
[file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
[red] => 55
[green] => 55
[blue] => 55
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 16.9656
[y] => -47.542
[z] => 0
[scale] => 0.5
[rot] => 1.60186
[file] => Doodads\Cityscape\Structures\City_LowWall_ShortEndCap\City_LowWall_ShortEndCap.mdl
[red] => 55
[green] => 55
[blue] => 55
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -1.82432
[y] => 42.8668
[z] => 0
[scale] => 1
[rot] => 5.44282
[file] => Doodads\Dungeon\Props\Bookshelf\Bookshelf.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_MANA
[base] => 0
[add] => 1
)
[1] => Array
(
[id] => MOD_MANA_REGEN
[base] => 0
[add] => 0.1
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Tower Creation
[code] => set tower.userReal = 36.00
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local real multipler = 1.00
local integer UID = tower.getUID()
if tower.calcChance( tower.userReal / 100.00 ) then
if Event.getTarget().getBuffOfType( cedi_LovePotion ) != 0 then
set multipler = 2.00
call tower.getOwner().displayFloatingTextX( "Double", tower, 255, 0, 0, 255, 64.00, 1.00, 2.00 )
endif
call SFXAtUnit("Objects\\Spawnmodels\\Undead\\UndeadDissipate\\UndeadDissipate.mdl", tower.getUnit())
call tower.doSpellDamage( Event.getTarget(), (400 + 16 * tower.getLevel() ) * multipler, tower.calcSpellCritNoBonus() )
call cedi_SoulBuff.applyCustomTimed( tower, tower, 1, 12 * multipler )
set tower.userReal = tower.userReal - 9.00 //* multipler
call tower.modifyProperty( MOD_ATTACKSPEED, 0.15 * multipler )
call TriggerSleepAction( 12.00 * multipler )
if tower.getUID() == UID then
call tower.modifyProperty( MOD_ATTACKSPEED, -0.15 * multipler )
set tower.userReal = tower.userReal + 9.00 //* multipler
endif
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNShade.blp
[visible] => true
[name] => Soul Split
[short_explain] => Each time the witch attacks she has a chance to damage the target and strengthen herself.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => When the witch attacks, it has a |cffFFFF8036%|r chance to deal |cffFFFF80400|r spell damage to its target, increasing the witch's attackspeed by |cffFFFF8015%|r and decreasing the chance to trigger this spell by |cffFFFF809%|r. These effects last |cffFFFF8012|r seconds and stack. If the target is under the influence of a Love Potion, the attackspeed bonus, the damage and the duration of this spell are doubled.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+16|r spell damage
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@import
BuffType cedi_LovePotion
//@import
BuffType cedi_SoulBuff
//@import
ProjectileType cedi_LoveMissile
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
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[3] => Array
(
[name] => Autocast
[code] => set Projectile.createFromUnitToUnit( cedi_LoveMissile, tower, 1.00, tower.calcSpellCritNoBonus(), tower, Event.getTarget(), true, false, false ).userInt = 256 + tower.getLevel() * 3
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNSnazzyPotion.blp
[AUTOCAST_cooldown] => 3.00
[AUTOCAST_numBuffsBeforeIdle] => 1
[AUTOCAST_isExtended] => false
[long_explain] => The witch throws a bottle of love potion on the target, slowing it by |cffFFFF8032%|r and increasing its item drop chance by |cffFFFF8025.6%|r. The potion lasts |cffFFFF807|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.375%|r slow|n|cffFFFF80+0.3%|r Item drop chance
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_manacost] => 25
[AUTOCAST_range] => 1100.00
[AUTOCAST_buffType] => cedi_LovePotion
[name] => Love Potion
[AUTOCAST_targetSelf] => false
[short_explain] => Strong single target slow and item drop chance increase.
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[target_art] =>
[AUTOCAST_autoRange] => 1100.00
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => cedi_LovePotion
)
[1] => Array
(
[export] => false
[category] => global
[typ] => BuffType
[name] => cedi_SoulBuff
)
[2] => Array
(
[export] => false
[category] => global
[typ] => ProjectileType
[name] => cedi_LoveMissile
)
)
)