Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 1200
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1300
[file] => Doodads\Cityscape\Props\City_Statue\City_Statue.mdl
[modelScale] => 0.35
[atkType1] => siege
[weapTp1] => missile
[acquire] => 775
[upgrades] => Array
(
)
[rangeN1] => 875
[cool1] => 1.35
[Ubertip] => Rare tower with a chance to turn lesser creeps into gold instantly. Gains additional gold for each kill and will do more damage the more gold you have.
[abilList] => Array
(
)
[launchZ] => 130
[Missileart] => Abilities\Spells\Other\HealingSpray\HealBottleMissile.mdl
[Name] => Silver Knight
[Art] => ReplaceableTextures\CommandButtons\BTNTransmute.blp
[buildingShadow] => Array
(
)
[sides1] => 81
[auto] => Array
(
)
[dmgplus1] => 938
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => iron
[authorDisplay] => SirCoqaLot.
[balanceTip] => |cffFFFF00+30% |rbounty collected (|cffFFFF00+1.2%|r/lvl)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.55
)
[effects] => Array
(
[0] => Array
(
[x] => -46.9746
[y] => -19.4237
[z] => 0
[scale] => 0.33
[rot] => 3.90954
[file] => Doodads\Cityscape\Structures\City_ColumnSingle1_Ruined\City_ColumnSingle1_Ruined.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 48.8691
[y] => -22.475
[z] => 0
[scale] => 0.33
[rot] => 2.33874
[file] => Doodads\Cityscape\Structures\City_ColumnSingle1_Ruined\City_ColumnSingle1_Ruined.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 50.3848
[y] => -24.1014
[z] => 44.8
[scale] => 0.55
[rot] => 2.33874
[file] => Objects\InventoryItems\PotofGold\PotofGold.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -46.5403
[y] => -20.3954
[z] => 44.8
[scale] => 0.55
[rot] => 2.89062
[file] => Objects\InventoryItems\PotofGold\PotofGold.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_BOUNTY_RECEIVED
[base] => 0.3
[add] => 0.012
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local Unit creep = Event.getTarget()
set tower.userReal = 16.0*Pow(GetPlayerState(tower.getOwner().getThePlayer(), PLAYER_STATE_RESOURCE_GOLD),0.5)
if not creep.isImmune() then
if creep.getSize() < SIZE_CHAMPION and tower.calcChance(0.035+tower.getLevel()*0.0004) then
call SFXAtUnit("Abilities\\Spells\\Other\\Transmute\\PileofGold.mdl",creep.getUnit())
call tower.killInstantly(creep)
call tower.getOwner().giveGold( 6,tower.getUnit(), true, true)
else
call tower.doSpellDamage(creep,tower.userReal,tower.calcSpellCritNoBonus())
call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.getProp_SpellDmgDealt()*tower.userReal)),creep,255, 200, 0,255,0.05,0.0,2.0)
endif
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNPillage.blp
[visible] => true
[name] => Gold Greed
[short_explain] => This tower does more damage the more gold you have.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => On attack this tower deals |cffFFFF80[16 x squareroot (current gold)]|r spell damage to its target.
)
)
[1] => Array
(
[name] => On Tower Details
[code] => set tower.userReal = tower.getProp_SpellDmgDealt()*16.0*Pow(GetPlayerState(tower.getOwner().getThePlayer(), PLAYER_STATE_RESOURCE_GOLD),0.5)
call Sir_gold_bonus.setValue(0,I2S(R2I(tower.userReal)))
return Sir_gold_bonus
[values] => Array
(
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@export
MultiboardValues Sir_gold_bonus
endglobals
private function init takes nothing returns nothing
set Sir_gold_bonus = MultiboardValues.create(1)
call Sir_gold_bonus.setKey(0,"Gold Greed")
endfunction
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNTransmute.blp
[visible] => true
[name] => Transmute
[short_explain] => Low chance on attack to turn a lesser target into gold immediately
[long_explain] => This tower has a |cffFFFF803.5%|r chance on attack to turn a non boss, non champion target into |cffFFFF806|r additional gold immediately. |n|n|cffFF8000Level Bonus:|r|n |cffFFFF80+0.04%|r chance
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => MultiboardValues
[name] => Sir_gold_bonus
)
)
)