From 9d076f10006bd3d71be5e03d321c6a51f1aef60a Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Wed, 7 Apr 2021 21:14:25 +0300 Subject: [PATCH] shared party exp to 10 players and rope hole functionality like in 7.4 --- data/actions/scripts/misc/rope.lua | 2 +- data/creaturescripts/scripts/killing_in_the_name_of.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/actions/scripts/misc/rope.lua b/data/actions/scripts/misc/rope.lua index 9a17127..049eecb 100644 --- a/data/actions/scripts/misc/rope.lua +++ b/data/actions/scripts/misc/rope.lua @@ -18,7 +18,7 @@ function onUse(player, item, fromPosition, target, toPosition) return false 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)) return true elseif table.contains(holeSpots, tile:getGround():getId()) or target:getId() == 435 then diff --git a/data/creaturescripts/scripts/killing_in_the_name_of.lua b/data/creaturescripts/scripts/killing_in_the_name_of.lua index a3b2f92..1320ff2 100644 --- a/data/creaturescripts/scripts/killing_in_the_name_of.lua +++ b/data/creaturescripts/scripts/killing_in_the_name_of.lua @@ -108,7 +108,7 @@ local tasks = { ['orc'] = {taskerStorage = 17652, progressStorage = 17651, killsRequired = 50}, } -local maxPlayersInPartyShare = 2 +local maxPlayersInPartyShare = 10 function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified) if not creature:isMonster() or creature:getMaster() then