mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 06:54:54 +02:00
Resolve "Merge the best from 7.40 branch"
This commit is contained in:
@@ -108,13 +108,17 @@ 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
|
||||
return true
|
||||
end
|
||||
|
||||
if mostdamagekiller == nil then
|
||||
return true
|
||||
end
|
||||
|
||||
local player = mostdamagekiller
|
||||
if not mostdamagekiller:isPlayer() then
|
||||
local master = mostdamagekiller:getMaster()
|
||||
|
Reference in New Issue
Block a user