Crescent Stone v1
400
lvl: 13

ID:

127

Author:

drol

Rarity:

rare

Status:

Approved

Description:

The runes inscribed on this stone light up at full moon.

Latest Upload Comment:

Restored from 1.10
Earth and Moon
Every 15 seconds the carrier has its trigger chances increased by 25% for 5 seconds.

Level Bonus:
+1% trigger chance
Download

Toggle Triggers

Header

goldcost: 0
    globals
    
        BuffType drol_moonStone
    
    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()  
        call m.addModification(MOD_TRIGGER_CHANCES,0.25,0.01)  
         
        set drol_moonStone = BuffType.create(5,0,true)
        call drol_moonStone.setBuffIcon('@@0@@')
        
        call drol_moonStone.setBuffModifier(m) 
    
    endfunction

Periodic

PERIODIC_period: 15 goldcost: 400
function periodic takes Item itm returns nothing
    local Tower tower = itm.getCarrier()
    call drol_moonStone.apply(tower,tower,tower.getLevel())
endfunction