I need to adapt this code to be used with a pick.
I also need the character to be unable to move for twenty seconds, unable to use spells, unable to attack, and finally, unable to leave the game ...
And one more thing ... When the stone is mined, I need another one to appear at the site after twenty minutes.
Currently, this is my script:
Pick for mining system
I also need the character to be unable to move for twenty seconds, unable to use spells, unable to attack, and finally, unable to leave the game ...
And one more thing ... When the stone is mined, I need another one to appear at the site after twenty minutes.
Currently, this is my script:
Lua:
local stone_id = 19959
function vinteMinutos(toPosition) -- Recreate the stone after 20 minutes.
Game.createItem(stone_id, 1, toPosition)...