mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-01 18:19:20 +02:00
shared party exp to 10 players and rope hole functionality like in 7.4
This commit is contained in:
parent
de3a330f06
commit
9d076f1000
@ -18,7 +18,7 @@ function onUse(player, item, fromPosition, target, toPosition)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
if table.contains(ropeSpots, tile:getGround():getId()) then
|
if table.contains(ropeSpots, tile:getGround():getId()) and tile:getThingCount() <= 1 then
|
||||||
player:teleportTo(target:getPosition():moveRel(0, 1, -1))
|
player:teleportTo(target:getPosition():moveRel(0, 1, -1))
|
||||||
return true
|
return true
|
||||||
elseif table.contains(holeSpots, tile:getGround():getId()) or target:getId() == 435 then
|
elseif table.contains(holeSpots, tile:getGround():getId()) or target:getId() == 435 then
|
||||||
|
@ -108,7 +108,7 @@ local tasks = {
|
|||||||
['orc'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50},
|
['orc'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50},
|
||||||
}
|
}
|
||||||
|
|
||||||
local maxPlayersInPartyShare = 2
|
local maxPlayersInPartyShare = 10
|
||||||
|
|
||||||
function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
|
function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
|
||||||
if not creature:isMonster() or creature:getMaster() then
|
if not creature:isMonster() or creature:getMaster() then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user