Warrior of Light v1
1000
|
ID: 84
Family ID:
Author: i_mOck_death
Rarity: rare
Element: astral
Attack Type: Elemental
Attack Range: 900
Attack CD: 1
Damage: 406-406
Abil. Factor: .4
Status: Approved
|
Ain Soph Aur
This tower has a 20% chance on every attack to create a shockwave of light that starts at the targeted creep and travels 500 units behind that creep dealing 1000 spell damage to all creeps in its path. Level Bonus: +0.5% chance +50 damage
Aura of Light
Towers in 300 range deal 15% more damage to undead creeps. Level Bonus: +0.6% damage |
Download
Toggle Triggers Header globals
Cast Swave
//@export
BuffType mOck_Warrioroflight
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 Amod = Modifier.create()
set mOck_Warrioroflight = BuffType.createAuraEffectType(true)
call Amod.addModification(MOD_DMG_TO_UNDEAD,0,.001)
call mOck_Warrioroflight.setBuffModifier(Amod)
call mOck_Warrioroflight.setBuffIcon('@@1@@')
set Swave = Cast.create('@@0@@', "carrionswarm", 1)
endfunction
On Attack
ONATTACK_chance: .2
ONATTACK_chanceLevelAdd: 0.005
function onAttack takes Tower tower returns nothing
local unit creep = Event.getTarget().getUnit()
local integer level = tower.getLevel()
local real facing = GetUnitFacing(creep) - 180
local real x = GetUnitX(creep) + (50) * Cos(facing * bj_DEGTORAD)
local real y = GetUnitY(creep) + (50) * Sin(facing * bj_DEGTORAD)
call Effect.createSimple("Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl",GetUnitX(creep),GetUnitY(creep)).destroy()
call Swave.pointCastFromUnitOnPoint(tower,Event.getTarget(),x, y,1.0+(.05*level), tower.calcSpellCritNoBonus())
set creep = null
endfunction
Tower Aura
AURA_powerAdd: 6
AURA_auraEffect: mOck_Warrioroflight
AURA_levelAdd: 6
AURA_power: 150
AURA_targetType: TARGET_TYPE_TOWERS
AURA_targetSelf: true
AURA_level: 150
AURA_auraRange: 300
|
Description:
Latest Upload Comment: