Attacking Guild Allies Problem

06/11/2011 06:28 marlyandedsel#1
can you check if this is correct condition for not attacking Allies

Quote:
else if (attacker.Guild.Ally != null)
{
if (attacked.Guild.Ally != null)
{
if (attacker.Guild.Ally.ContainsKey(attacked.GuildID) )
{
attacker.AttackPacket = null;
return false;
}
}
}
06/11/2011 06:52 marlyandedsel#2
#request close Problem solved
Edit and sorry for double post