Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNWindfury_Totem_Staff.blp
[dmgplus1] => 3643
[bldtm] => 1
[goldcost] => 3250
[unitSound] => AltarOfStorms
[sides1] => 1
[acquire] => 800
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Windfury Totem
[weapTp1] => missile
[file] => .mdl
[MissileHoming] => 1
[Missilespeed] => 1600
[Missileart] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.1
[rangeN1] => 800
[atkType1] => siege
[cool1] => 3
[Ubertip] => Warriors who have known this power inevitably feel powerless without it.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.25
[author] => Ashbringer
[alpha] => 255
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => storm
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 1.16817
[y] => -0.190388
[z] => -25.6
[scale] => 0.15
[rot] => 2.3562
[file] => Doodads\Cityscape\Structures\City_ColumnDouble\City_ColumnDouble.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => 0.748423
[y] => 1.30688
[z] => -25.6
[scale] => 0.15
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_ColumnDouble\City_ColumnDouble.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -0.00782768
[y] => 0.00439151
[z] => 44.8
[scale] => 1.2
[rot] => 4.66003
[file] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -0.0318451
[y] => 0.0217653
[z] => 57.6
[scale] => 0.95
[rot] => 1.5708
[file] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 0.0670077
[y] => -0.00351363
[z] => 64
[scale] => 1.7
[rot] => 1.74533
[file] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.0684503
[y] => -0.0434653
[z] => 102.4
[scale] => 1.4
[rot] => 4.71239
[file] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 0.0642175
[y] => 0.248771
[z] => -19.2
[scale] => 1.55
[rot] => 1.79769
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -7.40167
[y] => -8.29512
[z] => 0
[scale] => 0.26
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => 8.31036
[y] => 6.4525
[z] => 0
[scale] => 0.26
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -6.37975
[y] => 8.01783
[z] => 0
[scale] => 0.26
[rot] => 5.49779
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 8.36787
[y] => -7.6942
[z] => 0
[scale] => 0.26
[rot] => 5.49779
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 22.5755
[y] => 21.9693
[z] => 0
[scale] => 0.26
[rot] => 5.49779
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -21.8754
[y] => -23.3473
[z] => 0
[scale] => 0.26
[rot] => 5.49779
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => -22.6961
[y] => 22.2427
[z] => 0
[scale] => 0.26
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => 22.6204
[y] => -22.2082
[z] => 0
[scale] => 0.26
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => -40.0896
[y] => -42.6806
[z] => -6.4
[scale] => 0.37
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => 40.7419
[y] => 40.3008
[z] => -6.4
[scale] => 0.37
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => -41.4399
[y] => 39.6217
[z] => -6.4
[scale] => 0.37
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => 42.4104
[y] => -40.2429
[z] => -6.4
[scale] => 0.37
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -0.0452391
[y] => 0.153317
[z] => 32
[scale] => 1
[rot] => 1.79769
[file] => war3mapImported\GeneralAuraTargetWhite.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => -0.173762
[y] => 41.7693
[z] => 160
[scale] => 0.75
[rot] => 1.5708
[file] => Doodads\Cinematic\GlowingRunes\GlowingRunes2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -4.61
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => 36.2323
[y] => -32.9959
[z] => 6.4
[scale] => 0.6
[rot] => 5.49779
[file] => Abilities\Spells\Undead\UndeadMine\UndeadMineCircle.mdl
[red] => 255
[green] => 255
[blue] => 225
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -36.0957
[y] => 30.5462
[z] => 6.4
[scale] => 0.6
[rot] => 2.3562
[file] => Abilities\Spells\Undead\UndeadMine\UndeadMineCircle.mdl
[red] => 255
[green] => 255
[blue] => 225
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => 31.7723
[y] => 36.141
[z] => 6.4
[scale] => 0.6
[rot] => 0.785398
[file] => Abilities\Spells\Undead\UndeadMine\UndeadMineCircle.mdl
[red] => 255
[green] => 255
[blue] => 225
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => -31.7697
[y] => -36.187
[z] => 6.4
[scale] => 0.6
[rot] => 3.92699
[file] => Abilities\Spells\Undead\UndeadMine\UndeadMineCircle.mdl
[red] => 255
[green] => 255
[blue] => 225
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[25] => Array
(
[x] => 0.0990783
[y] => 0.488701
[z] => 121.6
[scale] => 1
[rot] => 5.20108
[file] => Abilities\Spells\Other\Tornado\Tornado_Target.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[26] => Array
(
[x] => 0.0751948
[y] => 0.147137
[z] => 6.4
[scale] => 0.5
[rot] => 2.3562
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[27] => Array
(
[x] => 0.0751948
[y] => 0.147137
[z] => 76.8
[scale] => 0.35
[rot] => 3.92699
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Level Up
[code] => call tower.refreshAuras()
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_windfury_buff
ProjectileType ashbringer_windfury_missile
//@import
MultiboardValues ashbringer_totem_affinity
endglobals
function ashbringer_windfury_oncreate takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower target = b.getBuffedUnit()
if target.getElement() == Element.STORM then
set tower.userInt = tower.userInt + 2
endif
set b.userReal = 0.125 + (tower.getLevel() * 0.005) + (tower.userInt * 0.005)
set b.userReal2 = 0.5 + (tower.getLevel() * 0.02) + (tower.userInt * 0.02)
endfunction
function ashbringer_windfury_oncleanup takes Buff b returns nothing
local Tower tower = b.getCaster()
local Tower target = b.getBuffedUnit()
if target.getElement() == Element.STORM then
set tower.userInt = tower.userInt - 2
endif
endfunction
function ashbringer_windfury_onrefresh takes Buff b returns nothing
local Tower tower = b.getCaster()
call b.setPower(tower.getLevel() + tower.userInt)
set b.userReal = 0.125 + (tower.getLevel() * 0.005) + (tower.userInt * 0.005)
set b.userReal2 = 0.5 + (tower.getLevel() * 0.02) + (tower.userInt * 0.02)
endfunction
function ashbringer_windfury_fire takes Tower tower, Unit target, real chance, real damage, integer count returns nothing
local Projectile p = Projectile.createFromUnitToUnit(ashbringer_windfury_missile, tower, 0.0, 0.0, tower, target, true, false, false)
set p.userInt3 = target.getUID()
set p.userReal = chance
set p.userReal2 = damage
set count = count - 1
if count > 0 then
call TriggerSleepAction(0.2)
if tower.calcChance(chance) and target.getUID()==p.userInt3 then
call ashbringer_windfury_fire(tower, target, chance, damage, count)
endif
endif
endfunction
function ashbringer_windfury_onattack takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
if tower.calcChance(b.userReal) then
call ashbringer_windfury_fire(tower, Event.getTarget(), b.userReal, b.userReal2, 3)
endif
endfunction
function ashbringer_windfury_hit takes Projectile p, Creep target returns nothing
local Tower tower = p.getCaster()
local Projectile p2
call tower.doCustomAttackDamage(target, tower.getCurrentAttackDamageWithBonus() * p.userReal2, tower.calcAttackMulticrit(0, 0, 0), AttackType.PHYSICAL)
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_windfury_buff = BuffType.createAuraEffectType(true)
call ashbringer_windfury_buff.setBuffIcon('@@0@@')
call mod.addModification(MOD_ATTACKSPEED, 0.125, 0.005)
call ashbringer_windfury_buff.setBuffModifier(mod)
call ashbringer_windfury_buff.addEventOnCreate(EventHandler.ashbringer_windfury_oncreate)
call ashbringer_windfury_buff.addEventOnCleanup(EventHandler.ashbringer_windfury_oncleanup)
call ashbringer_windfury_buff.setEventOnRefresh(EventHandler.ashbringer_windfury_onrefresh)
call ashbringer_windfury_buff.addEventOnAttack(EventHandler.ashbringer_windfury_onattack, 1, 0)
set ashbringer_windfury_missile = ProjectileType.create("Abilities\\Spells\\Other\\Tornado\\Tornado_Target.mdl", 5.0, 1500)
call ashbringer_windfury_missile.enableHoming(ProjectileTargetEvent.ashbringer_windfury_hit, 0.0)
set ashbringer_totem_affinity = MultiboardValues.create(1)
call ashbringer_totem_affinity.setKey(0, "Aura Level Bonus")
endfunction
[values] => Array
(
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNFuryOfTheAir.blp
[name] => Call of Air
[short_explain] => The strength of Windfury Aura is increased for each |cFF8080FFStorm|r tower it affects.
[long_explain] => The effective level of Windfury Aura is increased by |cffFFFF802|r for each |cFF8080FFStorm|r tower it affects.
)
)
[2] => Array
(
[name] => On Tower Details
[code] => call ashbringer_totem_affinity.setValue(0, I2S(tower.userInt))
return ashbringer_totem_affinity
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[3] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 1
[visible] => true
[AURA_auraEffect] => ashbringer_windfury_buff
[AURA_levelAdd] => 1
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNWindfury_Totem_Staff.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Increases the attack speed of other towers in |cffFFFF80200|r range by |cffFFFF8012.5%|r and gives their attacks a |cffFFFF8012.5%|r chance on hit to strike the target again with slicing wind, dealing |cffFFFF8050%|r of attack damage as |cffC0C0C0Physical|r damage. This effect can retrigger itself up to |cffFFFF802|r additional times.|n|nDoes not affect this tower.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r attack speed|n|cffFFFF80+0.5%|r chance|n|cffFFFF80+2%|r attack damage
[AURA_targetSelf] => false
[name] => Windfury Aura
[AURA_level] => 0
[short_explain] => Increases the attack speed of towers in |cffFFFF80200|r range and gives their attacks a chance to attack again as |cffC0C0C0Physical|r damage.
[AURA_auraRange] => 200
)
)
[4] => Array
(
[name] => Periodic
[code] => if tower.userInt != tower.userInt2 then
set tower.userInt2 = tower.userInt
call tower.refreshAuras()
endif
[values] => Array
(
[visible] => false
[PERIODIC_period] => 10
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[5] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 0
set tower.userInt2 = 0
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Increased attack speed and chance on attack to attack again.
[TargetArt] => Array
(
)
[Bufftip] => Windfury Aura
[Buffart] => ReplaceableTextures\CommandButtons\BTNWindfury_Totem_Staff.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => MultiboardValues
[name] => ashbringer_totem_affinity
)
)
[lightning] => Array
(
)
)