Sun Crusader v1
750
ID:
666
Family ID:
Author:
cedi
Rarity:
rare
Element:
astral
Attack Type:
Physical
Attack Range:
750
Attack CD:
0.75
Damage:
176-176
Abil. Factor:
0.5
Status:
Approved

Description:

The perfect soldiers against the undead.

Latest Upload Comment:

Restored from 1.10
Specials:
Attacks GROUND only
Bounce attack:
   5 targets
   -10% damage per bounce
+50% dmg to undead
+1 mana/lvl
For the God
This tower casts a buff on a friendly tower that increases attackdamage and experience gain by 40%. The buff lasts 8 seconds.

Level Bonus:
+0.1 seconds duration
+1% attack damage and experience gain
Blessed Weapon
Everytime this tower damages a creep it has a 15% chance to deal 500 spelldamage and gain 2 mana.

Level Bonus:
+50 damage
+0.1 mana regeneration
Download

Toggle Triggers

Autocast

caster_art: AUTOCAST_cooldown: 4.00 AUTOCAST_numBuffsBeforeIdle: 5 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_BUFF AUTOCAST_manacost: 10 AUTOCAST_range: 600 AUTOCAST_buffType: cedi_CrusaderBuff AUTOCAST_targetSelf: true AUTOCAST_targetType: TARGET_TYPE_TOWERS target_art: Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl AUTOCAST_autoRange: 600
private function onAutocast takes Tower tower returns nothing

endfunction

Header

    globals
        BuffType cedi_CrusaderBuff
    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 cedi_CrusaderBuff = BuffType.create( 8.00, 0.1, true )
        call cedi_CrusaderBuff.setBuffIcon( '@@0@@' )
        call m.addModification( MOD_DAMAGE_ADD_PERC, 0.40, 0.01 )
        call m.addModification( MOD_EXP_RECEIVED, 0.40, 0.01 )
        call cedi_CrusaderBuff.setBuffModifier( m )
        call cedi_CrusaderBuff.setStackingGroup( "cedi_Crusader" )
    endfunction

On Damage

ONDAMAGE_chance: 0.15 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    call DestroyEffect( AddSpecialEffectTarget( "Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl", Event.getTarget().getUnit(), "origin" ) )
    call tower.doSpellDamage( Event.getTarget(), 500.00 + I2R( tower.getLevel() ) * 50.00, tower.calcSpellCritNoBonus() )
    call SetUnitState( tower.getUnit(), UNIT_STATE_MANA, GetUnitState( tower.getUnit(), UNIT_STATE_MANA ) + 2.00 + ( 0.10 * I2R( tower.getLevel() ) ) )
endfunction