Prince of Lightning v1
1200
ID:
415
Family ID:
Author:
Boekie
Rarity:
rare
Element:
storm
Attack Type:
Energy
Attack Range:
1300
Attack CD:
1.5
Damage:
213-217
Abil. Factor:
0.25
Status:
Approved

Description:

A lightning prince with a bouncing attack and a chance to control energy and lightning.

Latest Upload Comment:

Restored from 1.10
Specials:
Bounce attack:
   5 targets
   -30% damage per bounce
5% spell crit chance (+0.25%/lvl)
Lightning Strike
When this tower damages a target there is a 15% chance that a lightning bolt strikes the target for 2000 damage. 

Level Bonus:
+100 damage
+0.4% chance
Realm of Thunder
Increases the vulnerability  of enemies in 1300 range to damage from Storm towers by 10%. 

Level Bonus:
+0.2% vulnerability
Download

Toggle Triggers

Header

    globals
      //@export
        BuffType gexLightningAura
    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 gexLightningAura = BuffType.createAuraEffectType(false)
        call m.addModification(MOD_DMG_FROM_STORM,0.0,0.001)
        call gexLightningAura.setBuffModifier(m)
        call gexLightningAura.setBuffIcon('@@0@@')

    endfunction

On Damage

ONDAMAGE_chance: 0.15 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
 
local Unit creep = Event.getTarget()  
call tower.doSpellDamage(creep,2000.0+(tower.getLevel()*100.0),tower.calcSpellCritNoBonus())  
call SFXOnUnit("Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl",creep.getUnit(),"origin") 
endfunction

Tower Aura

AURA_powerAdd: 2 AURA_auraEffect: gexLightningAura AURA_levelAdd: 2 AURA_power: 100 AURA_targetType: TARGET_TYPE_CREEPS AURA_targetSelf: false AURA_level: 100 AURA_auraRange: 1300