Granite Hammer v1
1000
lvl: 40

ID:

262

Author:

Boekie

Rarity:

rare

Status:

Approved

Description:

This hammer is heavy, but when it hits it's devastating.

Latest Upload Comment:

Restored from 1.10
Heavy Weapon
Every 5th attack is a critical hit.
Download

Toggle Triggers

On Attack

goldcost: 1000 ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Item itm returns nothing
local Tower tower = itm.getCarrier() 
set itm.userInt = itm.userInt +1
if itm.userInt == 5 then
call tower.addAttackCrit() 
set itm.userInt = 0
endif
endfunction

On Item Pickup

goldcost: 0
function onPickup  takes Item itm returns nothing
set itm.userInt = 1 
endfunction