function onStatsChange(cid, attacker, type, combat, value)
-- This should block all damage monster cause on eachother expect player summons
if isMonster(cid) and isMonster(attacker) then
local master = getCreatureMaster(cid)
if not master or not isPlayer(master) then
return false
end
end
Pergunta
Emooooo 1
function onStatsChange(cid, attacker, type, combat, value)
-- This should block all damage monster cause on eachother expect player summons
if isMonster(cid) and isMonster(attacker) then
local master = getCreatureMaster(cid)
if not master or not isPlayer(master) then
return false
end
end
return true
end
Link para o comentário
https://xtibia.com/forum/topic/259831-mudar-esse-script-para-tfs-036/Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados