zabuzo
Well-Known Member
- Joined
- Jun 10, 2016
- Messages
- 238
- Reaction score
- 54
Remove stair PVP tibia 0.4
I really love tibia PVP...
But there is only one thing i HATE and so much other people rates...
Stair PVP... A noob stay up and down stairs to dont die...
It is detestable...
I was thinking to how block it and get free to this plage.
That's my ideias:
1- to rope need use only upside rope hole
Like is on tibianic, like was on old tibia...
If have only one thing upside the rope hole, u cant get up...
2- When you move upside a stair like
You lose 50% your speed or get a paralyze
How to do it guys? It's so good to all servers!
========================================
Thats my actions/scripts/tools/rope.lua
That's is my player.cpp
http://hastebin.com/dukisoyayi.cpp
I really love tibia PVP...
But there is only one thing i HATE and so much other people rates...
Stair PVP... A noob stay up and down stairs to dont die...
It is detestable...
I was thinking to how block it and get free to this plage.
That's my ideias:
1- to rope need use only upside rope hole
Like is on tibianic, like was on old tibia...
If have only one thing upside the rope hole, u cant get up...
2- When you move upside a stair like
You lose 50% your speed or get a paralyze
How to do it guys? It's so good to all servers!
========================================
Thats my actions/scripts/tools/rope.lua
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(toPosition.x == CONTAINER_POSITION) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
return true
end
toPosition.stackpos = STACKPOS_GROUND
local itemGround = getThingFromPos(toPosition)
if(isInArray(SPOTS, itemGround.itemid)) then
doTeleportThing(cid, {x = toPosition.x, y = toPosition.y + 1, z = toPosition.z - 1}, false)
return true
elseif(isInArray(ROPABLE, itemEx.itemid)) then
local hole = getThingFromPos({x = toPosition.x, y = toPosition.y, z = toPosition.z + 1, stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE})
if(hole.itemid > 0) then
doTeleportThing(hole.uid, {x = toPosition.x, y = toPosition.y + 1, z = toPosition.z}, false)
else
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
end
return true
end
return false
end
That's is my player.cpp
http://hastebin.com/dukisoyayi.cpp
Last edited: