shared party exp to 10 players and rope hole functionality like in 7.4

This commit is contained in:
ErikasKontenis 2021-04-07 21:14:25 +03:00
parent de3a330f06
commit 9d076f1000
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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