Lunar Sentinel v1
60
|
ID: 5
Family ID:
Author: SirCoqaLot.
Rarity: uncommon
Element: astral
Attack Type: Energy
Attack Range: 1200
Attack CD: 2
Damage: 17-37
Abil. Factor: 0.25
Status: Approved
|
Lunar Grace
Smites a target creep dealing 50 spelldamage to it. There is a 12.5% chance to empower the smite with lunar energy dealing 50 additional spell damage, stunning the target for 0.3 seconds and making it receive 12% more damage from spells for 2.5 seconds. Level Bonus: +2 inital and chanced spell damage +0.5% chance +20 initial damage at level 15 +3% spell damage received at level 15 +0.1 seconds stun at level 25 |
Download
Toggle Triggers Autocast
caster_art:
AUTOCAST_cooldown: 2
AUTOCAST_numBuffsBeforeIdle: 0
AUTOCAST_isExtended: true
AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_UNIT
AUTOCAST_manacost: 0
AUTOCAST_range: 1200
AUTOCAST_buffType: 0
AUTOCAST_targetSelf: false
AUTOCAST_targetType: 0
target_art: Abilities\Spells\Items\AIil\AIilTarget.mdl
AUTOCAST_autoRange: 1200
private function onAutocast takes Tower tower returns nothing
local integer level = tower.getLevel()
local Unit target = Event.getTarget()
if level < 15 then
call tower.doSpellDamage(target,50+level*2,tower.calcSpellCritNoBonus())
else
call tower.doSpellDamage(target,70+level*2,tower.calcSpellCritNoBonus())
endif
if tower.calcChance(0.125 + level * 0.005) == true then
call tower.doSpellDamage(target,50 + level * 2,tower.calcSpellCritNoBonus())
if level < 25 then
call cb_stun.applyOnlyTimed(tower,target,0.3)
else
call cb_stun.applyOnlyTimed(tower,target,0.4)
endif
if level < 15 then
call sir_moonp_buff.applyAdvanced(tower,target,0,120,2.5)
else
call sir_moonp_buff.applyAdvanced(tower,target,0,150,2.5)
endif
endif
endfunction
Header globals
//@export
BuffType sir_moonp_buff
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_moonp_buff = BuffType.create(0,0,false)
call m.addModification(MOD_SPELL_DAMAGE_RECEIVED,0,0.001)
call sir_moonp_buff.setBuffIcon('@@0@@')
call sir_moonp_buff.setBuffModifier(m)
call sir_moonp_buff.setStackingGroup("sir_moonp_buff")
endfunction
|
Description:
Latest Upload Comment: