Red Ball Lightning v1
1200
ID:
288
Family ID:
Author:
SirCoqaLot.
Rarity:
rare
Element:
storm
Attack Type:
Energy
Attack Range:
1200
Attack CD:
1.65
Damage:
228-677
Status:
Approved

Description:

Quite an advanced construction for its times. It harbors a pulsating red crystal at its center, which has been rumored to drive lesser beings insane.
Specials:
Bounce attack:
   2 targets
   -60% damage per bounce
Lightning Shock
This tower has a 30% chance to deal 1200 spell damage to its target, whenever it deals damage. This ability has a 10% bonus chance to crit with 60% bonus damage.

Level Bonus:
+0.5% chance
+48 damage
Lightning Charge - Aura
Towers in 250 range have their spell damage increased by 20%.

Level Bonus:
+0.4% spell damage
Download

Toggle Triggers

Header

    globals
        //@export
        BuffType sir_spell_aura
    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 sir_spell_aura = BuffType.createAuraEffectType(true)
    call m.addModification(MOD_SPELL_DAMAGE_DEALT,0.0,0.0001)
    call sir_spell_aura.setBuffModifier(m)
    call sir_spell_aura.setBuffIcon('@@0@@')
    
    endfunction

On Damage

ONDAMAGE_chance: 0.3 ONDAMAGE_chanceLevelAdd: 0.005
function onDamage takes Tower tower returns nothing
    local Unit creep = Event.getTarget()
    call Lightning.createFromUnitToUnit("AFOD", tower, creep).setLifetime(0.2)
    call tower.doSpellDamage(creep,1200*(1+tower.getLevel()*0.04),tower.calcSpellCrit(0.1,0.6))
endfunction

Tower Aura

AURA_auraEffect: sir_spell_aura AURA_power: 2000 AURA_level: 2000 AURA_auraRange: 250 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 40 AURA_powerAdd: 40 AURA_targetSelf: true
Red Lightning Conductor v1
3500
ID:
289
Family ID:
Author:
SirCoqaLot.
Rarity:
rare
Element:
storm
Attack Type:
Energy
Attack Range:
1200
Attack CD:
1.65
Damage:
384-1283
Status:
Approved

Description:

A very advanced construction for its times. It harbors a throbbing red crystal at its center, which has been rumored to drive anyone insane.
Specials:
Bounce attack:
   3 targets
   -60% damage per bounce
Lightning Shock
This tower has a 30% chance to deal 3500 spell damage to its target whenever it deals damage. This ability has a 10%  bonus chance to crit with 60%  bonus damage.

Level Bonus:
+0.5% chance
+140 damage
Lightning Charge - Aura
Towers in 250 range have their spell damage increased by 35%.

Level Bonus:
+0.6% spell damage
Download

Toggle Triggers

Header

    globals
        //@import
        BuffType sir_spell_aura
    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
    endfunction

On Damage

ONDAMAGE_chance: 0.3 ONDAMAGE_chanceLevelAdd: 0.005
function onDamage takes Tower tower returns nothing
    local Unit creep = Event.getTarget()
    call Lightning.createFromUnitToUnit("AFOD", tower, creep).setLifetime(0.2)
    call tower.doSpellDamage(creep,3500*(1+tower.getLevel()*0.04),tower.calcSpellCrit(0.1,0.6))
endfunction

Tower Aura

AURA_auraEffect: sir_spell_aura AURA_power: 3500 AURA_level: 3500 AURA_auraRange: 250 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 60 AURA_powerAdd: 60 AURA_targetSelf: true