Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 1700
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[file] => buildings\other\MagicVault\MagicVault.mdl
[manaN] => 30
[atkType1] => siege
[modelScale] => 0.4
[weapTp1] => missile
[Missilearc] => 0.5
[acquire] => 1200
[rangeN1] => 1200
[upgrades] => Array
(
)
[cool1] => 2.5
[Ubertip] => This machine is used to make money.
[regenMana] => 2
[abilList] => Array
(
)
[mana0] => 5
[Name] => Coin Machine
[Missileart] => Objects\InventoryItems\PotofGold\PotofGold.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 2954
[bldtm] => 1
)
[settings] => Array
(
[author] => Boekie
[element] => iron
[authorDisplay] => |cff00CD00Boekie|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.7
)
[effects] => Array
(
[0] => Array
(
[x] => 5.94766
[y] => -1.62211
[z] => 0
[scale] => 1
[rot] => 3.12414
[file] => Objects\InventoryItems\PotofGold\PotofGold.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 37.8089
[y] => -34.3454
[z] => -19.2
[scale] => 0.2
[rot] => 3.17065
[file] => buildings\other\WyvernCage2\WyvernCage2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -39.2539
[y] => -38.0003
[z] => -19.2
[scale] => 0.2
[rot] => 1.60555
[file] => buildings\other\WyvernCage2\WyvernCage2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 38.1649
[y] => -39.2132
[z] => 6.4
[scale] => 0.5
[rot] => 4.77085
[file] => Objects\InventoryItems\TreasureChest\treasurechest.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => -43.8433
[y] => -41.0276
[z] => 6.4
[scale] => 0.5
[rot] => 3.2647
[file] => Objects\InventoryItems\TreasureChest\treasurechest.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 Tower Creation
[code] => call tower.getOwner().modifyIncomeRate(0.05)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
[visible] => true
[name] => Multiply Gold
[short_explain] => This tower increases the gold income of the player.
[long_explain] => This tower increases the gold income of the player by |cffFFFF805%|r.
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType boekie_goldBuff
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
local Modifier m = Modifier.create()
set boekie_goldBuff = BuffType.create( 0.0, 0.0, true )
call boekie_goldBuff.setBuffIcon( '@@0@@' )
call m.addModification( MOD_BOUNTY_RECEIVED, 0.40, 0.001)
call boekie_goldBuff.setBuffModifier( m )
call boekie_goldBuff.setStackingGroup("boekie_goldBuff")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => Autocast
[code] => local integer level = tower.getLevel()
call boekie_goldBuff.applyCustomTimed(tower,Event.getTarget(),level*6,10+(level*0.4))
call tower.getOwner().giveGold( 5,tower.getUnit(), true, true)
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNSpellShieldAmulet.blp
[AUTOCAST_cooldown] => 4
[AUTOCAST_numBuffsBeforeIdle] => 3
[AUTOCAST_isExtended] => false
[long_explain] => This tower adds a buff to a tower in |cffFFFF80400|r range that lasts |cffFFFF8010|r seconds. The buff increases bounty gain by |cffFFFF8040%|r. Everytime this spell is cast you gain |cffFFFF805|r gold.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4|r seconds duration |r|n|cffFFFF80+0.6%|r bounty gain
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_manacost] => 20
[AUTOCAST_range] => 400
[AUTOCAST_buffType] => boekie_goldBuff
[name] => Golden Influence
[AUTOCAST_targetSelf] => true
[short_explain] => Increases a tower's bounty gain and gains gold on every cast.
[AUTOCAST_targetType] => TARGET_TYPE_TOWERS
[target_art] => Abilities\Spells\Items\ResourceItems\ResourceEffectTarget.mdl
[AUTOCAST_autoRange] => 400
)
)
[3] => Array
(
[name] => On Tower Destruction
[code] => call tower.getOwner().modifyIncomeRate(-0.05)
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BIrm
[oeValues] => Array
(
[Bufftip] => Golden
[Buffubertip] => This unit's bounty gain is increased.
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpellShieldAmulet.blp
[TargetArt] => Array
(
)
[EditorName] => Golden
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => boekie_goldBuff
)
)
)