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
Status:
Approved

Description:

Lesser darkness tower that increases the damage of its target taken by darkness towers.
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
Bone Temple v1
1400
ID:
92
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
darkness
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.9
Damage:
1975-1985
Status:
Approved

Description:

Lesser darkness tower that increases the damage of its target taken by darkness towers.
Empowering Darkness
On attack this tower increases the damage the target receives from other darkness towers by 4%. This effect stacks up to 10 times.

Level Bonus:
+0.08% damage increased
Download

Toggle Triggers

Header

    globals
    //@import
    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
    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.04+tower.getLevel()*(0.0008))
        call sir_bone_debuff.applyAdvanced(tower,Event.getTarget(),bufflevel+1,0,1000)
    endif
endfunction
Bone Monument v1
2750
ID:
93
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
darkness
Attack Type:
Physical
Attack Range:
950
Attack CD:
1.8
Damage:
2598-2608
Status:
Approved

Description:

Higher darkness tower that increases the efficiency of other nearby darkness towers.
Empowering Darkness
On attack this tower increases the damage the target receives from other darkness towers by 6%. This effect stacks up to 10 times.

Level Bonus:
+0.12% damage increased
Download

Toggle Triggers

Header

    globals
    //@import
    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
    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.06+tower.getLevel()*(0.0012))
        call sir_bone_debuff.applyAdvanced(tower,Event.getTarget(),bufflevel+1,0,1000)
    endif
    
endfunction