Bone Shrine v1
600
|
ID: 91
Family ID:
Author: SirCoqaLot.
Rarity: uncommon
Element: darkness
Attack Type: Physical
Attack Range: 950
Attack CD: 2
Damage: 1155-1165
Abil. Factor: 0.9
Status: Approved
|
Empowering Darkness
On attack this tower increases the damage the target receives from other darkness towers by 2%. This effect stacks up to 10 times. Level Bonus: +0.04% damage increased |
Download
Toggle Triggers Header globals
//@export
BuffType sir_bone_debuff
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
set sir_bone_debuff = BuffType.create(0,0,false)
call sir_bone_debuff.setBuffIcon('@@0@@')
endfunction
On Attack
ONATTACK_chance: 1.0
ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
local integer bufflevel = Event.getTarget().getBuffOfType(sir_bone_debuff).getLevel()
if bufflevel < 10 then
call Event.getTarget().modifyProperty(MOD_DMG_FROM_DARKNESS,0.02+tower.getLevel()*(0.0004))
call sir_bone_debuff.applyAdvanced(tower,Event.getTarget(),bufflevel+1,0,1000)
endif
endfunction
|
Description:
Latest Upload Comment: