• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

no friendly fire??

noDamageToSameLookfeet = "no"
You tried it?
if you change it to "yes" and players in party set the same outfit color they will not be able to atk yourself...
But I think if peoples out the party set the same outfit color than players in party, the players in party will not be able to atk the players out the party (with the same outfit color).

Did you understand? I thought my explanation was confusing xP
 
Try this creaturescript, it should prevent damage if the affected player is in the same party as the attacker/caster:

LUA:
function onCombat(cid, target)
    if isPlayer(target) then
		if getPlayerParty(target) == getPlayerParty(cid) then
			return FALSE
		else
			return TRUE
		end
	else
		return TRUE
    end
end
 
Back
Top