Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Ubertip] => A legendary spear said to always strike its target's heart, no matter the circumstances.
[Art] => ReplaceableTextures\CommandButtons\BTNThoriumRanged.blp
[abilList] => Array
(
)
[Name] => Gae Bulg
)
[settings] => Array
(
[balanceTip] => |n|cffFFFF80Specials:|r|n|cffFFFF00+40% |rdmg to magical|n|cffFFFF00+40% |rdmg to nature|n|cffFFFF00+1|r x multicrit
[goldcost] => 2600
[author] => Moppy
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[rarity] => unique
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_MAGIC
[base] => 0.4
[add] => 0
)
[1] => Array
(
[id] => MOD_DMG_TO_NATURE
[base] => 0.4
[add] => 0
)
[2] => Array
(
[id] => MOD_MULTICRIT_COUNT
[base] => 1
[add] => 0
)
)
[triggers] => Array
(
[0] => Array
(
[name] => On Attack
[code] => local Tower t = itm.getCarrier()
local Projectile p
if t.calcChance (0.33 * t.getBaseAttackspeed()) == true then
set p = Projectile.createFromUnitToUnit(moppy_gae_bulg_shot, t, 1, 0, t, Event.getTarget(), true, false, false)
endif
[values] => Array
(
[explain] => On attack, there is a |cffFFFF8033%|r attack speed adjusted chance to hurl Gae Bulg at the target, dealing |cffFFFF805000|r spell damage.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+100|r spell damage
[visible] => true
[goldcost] => 394
[name] => Heart-Piercer
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
)
)
[1] => Array
(
[name] => Header
[code] => globals
ProjectileType moppy_gae_bulg_shot
endglobals
function moppy_gae_bulg_damage takes Projectile p, Unit target returns nothing
local Unit tower = p.getCaster()
call tower.doSpellDamage(target, 5000 + (tower.getLevel() * 100), tower.calcSpellCritNoBonus())
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
set moppy_gae_bulg_shot = ProjectileType.create("abilities\\weapons\\TuskarSpear\\TuskarSpear.mdl", 50, 1000)
call moppy_gae_bulg_shot.enableHoming(moppy_gae_bulg_damage, 0.0)
endfunction
[values] => Array
(
[explain] =>
[visible] => false
[goldcost] => 0
[name] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
)
[units] => Array
(
)
[references] => Array
(
)
)