Olá Camaradagem do XTibia.
Venho disponibilizar um sistema muito útil para servidores fiéis ao Tibia(CipSoft).
Ele consiste em não atacar membros da party, ótimo para quest, pvp e hunt's.
Não posso afirmar se funcionará em todos os servidores, testado somente em 10.1.
config.lua
noDamageToPartyMembers = true
data/creaturescripts/creaturescripts.xml
<event type="combat" name="partyAndGuildProtection" event="script" value="partyAndGuildProtection.lua"/>
data/creaturescripts/scripts/partyAndGuildProtection.lua
function onCombat(cid, target) if(isInParty(target)) then if(getConfigValue("noDamageToPartyMembers")) then if(isInParty(cid)) then return false end end end return true end
registerCreatureEvent(cid, "partyAndGuildProtection")