Allow rewarding kills from same ip address
This commit is contained in:
@@ -7168,12 +7168,13 @@ bool Player::RewardHonor(Unit* uVictim, uint32 groupsize, int32 honor, bool awar
|
|||||||
if (HasAura(SPELL_AURA_PLAYER_INACTIVE))
|
if (HasAura(SPELL_AURA_PLAYER_INACTIVE))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// check if player has same IP
|
/* check if player has same IP
|
||||||
if (uVictim && uVictim->GetTypeId() == TYPEID_PLAYER)
|
if (uVictim && uVictim->GetTypeId() == TYPEID_PLAYER)
|
||||||
{
|
{
|
||||||
if (GetSession()->GetRemoteAddress() == uVictim->ToPlayer()->GetSession()->GetRemoteAddress())
|
if (GetSession()->GetRemoteAddress() == uVictim->ToPlayer()->GetSession()->GetRemoteAddress())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
uint64 victim_guid = 0;
|
uint64 victim_guid = 0;
|
||||||
uint32 victim_rank = 0;
|
uint32 victim_rank = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user