• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved poi gravestone bug

carre

Advanced OT User
Joined
Apr 23, 2013
Messages
885
Solutions
1
Reaction score
161
Location
Sweden
When i use vial of blood on gravestone to enter the poi nothing happing
I'm use avesta 7.60 here the script Gravestone.lua

Code:
function onAddItem(moveitem, tileitem, pos, cid)

        if moveitem.itemid == 2025 and moveitem.type == 2 then
            local v = getTopCreature({x=32791,y=32334,z=9}).uid
            if not isPlayer(v) then
            end
            if isPlayer(v) then
                doSendMagicEffect(getThingPos(v), CONST_ME_DRAWBLOOD)
                doTeleportThing(v, {x=32791, y=32334, z=10})
                doSendMagicEffect({x=32791, y=32334, z=10}, 10)
                doCreatureSay(v, "Muahahahaha...", 1)
                return 0
            end
        end
        return 0
    end

Repp ++ is there way to fix it?

bump
 
Last edited by a moderator:
Back
Top