Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNChaosWarlock.blp
[turnRate] => 3
[dmgplus1] => 273
[bldtm] => 1
[goldcost] => 250
[unitSound] => Shaman
[sides1] => 1
[Missilearc] => 0.1
[manaN] => 250
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Flame Cult Acolyte
[weapTp1] => missile
[MissileHoming] => 1
[file] => units\demon\ChaosWarlock\ChaosWarlock.mdl
[uberSplat] => YTDC
[Missileart] => Abilities\Weapons\FireBallMissile\FireBallMissile.mdl
[Missilespeed] => 1400
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 5
[modelScale] => 0.6
[rangeN1] => 1000
[atkType1] => pierce
[cool1] => 1.8
[Ubertip] => The Cult of the Flame are fanatics who seek to engulf the world in cleansing fire.
[scaleBull] => 0
[abilList] => Array
(
)
[moveHeight] => 32
[customTeamColor] => 1
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
[teamColor] => 5
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+0.1 |rmana regen/lvl
[abil_factor] => 0.6
[author] => Ashbringer
[alpha] => 255
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => fire
[rarity] => uncommon
)
[effects] => Array
(
[0] => Array
(
[x] => 17.264
[y] => -0.268938
[z] => -19.2
[scale] => 0.12
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 65
[green] => 35
[blue] => 25
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -17.4495
[y] => 0.299436
[z] => -19.2
[scale] => 0.12
[rot] => 0
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 65
[green] => 35
[blue] => 25
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -0.0347462
[y] => -0.417968
[z] => 0
[scale] => 0.27
[rot] => 1.5708
[file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
[red] => 65
[green] => 35
[blue] => 25
[alpha] => 205
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -21.6419
[y] => -30.0708
[z] => 0
[scale] => 0.25
[rot] => 3.58267
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 30.7315
[y] => -16.7435
[z] => 0
[scale] => 0.25
[rot] => 2.07661
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock3.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 28.211
[y] => 18.1081
[z] => 0
[scale] => 0.3
[rot] => 4.46275
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -35.6317
[y] => 24.5493
[z] => 0
[scale] => 0.3
[rot] => 1.55767
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -28.2944
[y] => -5.05175
[z] => 0
[scale] => 0.3
[rot] => 5.73919
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => 5.7619
[y] => -34.772
[z] => 0
[scale] => 0.3
[rot] => 2.25912
[file] => Doodads\Dungeon\Rocks\DungeonRock\DungeonRock1.mdl
[red] => 255
[green] => 175
[blue] => 115
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -0.135335
[y] => 0.0238113
[z] => 19.2
[scale] => 1.05
[rot] => 4.81711
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 255
[green] => 125
[blue] => 1
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_MANA_REGEN
[base] => 0
[add] => 0.1
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Level Up
[code] => set tower.userReal = 25 + (tower.getLevel() * 1)
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType ashbringer_mark_buff
endglobals
function ashbringer_mark_ondamaged takes Buff b returns nothing
local Tower caster = b.getCaster()
local Tower attacker = Event.getTarget()
local Unit target = b.getBuffedUnit()
if b.userInt3 == 1 or Event.isSpellDamage() then
return
endif
set b.userInt3 = 1
call caster.doSpellDamage(target, b.userInt * b.userReal * attacker.getBaseAttackspeed() * (1000 / attacker.getRange()), caster.calcSpellCritNoBonus())
set b.userInt3 = 0
endfunction
function ashbringer_mark_ondeath takes Buff b returns nothing
local Tower tower = b.getCaster()
call tower.addMana(tower.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 mod = Modifier.create()
set ashbringer_mark_buff = BuffType.create(6, 0, false)
call ashbringer_mark_buff.setBuffIcon('@@0@@')
call mod.addModification(MOD_DMG_FROM_FIRE, 0, 0.0001)
call ashbringer_mark_buff.setBuffModifier(mod)
call ashbringer_mark_buff.addEventOnDamaged(EventHandler.ashbringer_mark_ondamaged, 1.0, 0.0)
call ashbringer_mark_buff.addEventOnDeath(EventHandler.ashbringer_mark_ondeath)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => On Kill
[code] => call tower.addMana(tower.userReal)
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNDemonicFortitude.blp
[name] => Soul Leech
[short_explain] => Gain some mana on kill or when a cursed enemy dies.
[long_explain] => The tower gains |cffffff8025|r mana on kill or when an enemy affected by Mark of Flame dies.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1|r mana
)
)
[3] => Array
(
[name] => Autocast
[code] => local integer power = R2I((0.03 + (tower.getLevel() * 0.0006)) / 0.0001)
local Unit target = Event.getTarget()
local Buff b = target.getBuffOfType(ashbringer_mark_buff)
local real damage = 15 + (tower.getLevel() * 0.6)
if b != 0 then
if b.userReal < damage then
set b.userReal = damage
endif
set b.userInt = b.userInt + 1
call b.setPower(b.getPower() + power)
call b.refreshDuration()
else
set b = ashbringer_mark_buff.applyCustomPower(tower, target, tower.getLevel(), power)
set b.userInt = 1
set b.userReal = damage
endif
[values] => Array
(
[AUTOCAST_cooldown] => 1
[AUTOCAST_autoRange] => 900
[AUTOCAST_manacost] => 50
[icon] => ReplaceableTextures\CommandButtons\BTNFlameShock.blp
[AUTOCAST_range] => 1000
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] =>
[long_explain] => Curse a target enemy, increasing damage taken from |cFFFF5300Fire|r towers by |cffffff803%|r and causing the target to take |cffffff8015|r additional spell damage when hit by attacks. Damage is attack speed and range adjusted. Lasts |cffffff806|r seconds and can stack.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.06%|r damage from |cFFFF5300Fire|r|n|cffFFFF80+0.6|r spell damage
[target_art] => war3mapImported\AnimateDeadTargetFire.mdx
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => true
[name] => Mark of Flame
[AUTOCAST_targetSelf] => false
[short_explain] => Inflict a curse which increases damage taken from |cFFFF5300Fire|r towers and deals spell damage when attacked.
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(5))
set tower.userReal = 25 + (tower.getLevel() * 1)
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => overhead
[Buffubertip] => Increased spell damage taken and taking spell damage when attacked.
[TargetArt] => war3mapImported\BrandFire.mdx
[Bufftip] => Mark of Flame
[Buffart] => ReplaceableTextures\CommandButtons\BTNFlameShock.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => ashbringer_mark_buff
)
)
[lightning] => Array
(
)
)