mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10678] Revert "[10675] Ignore BOA items reputation requirements at use."
This reverts commit 4ce902e5d9c3cfc635c0eff1ba3552da5ecd0c5b. Check done at client side so useless skip it at server side. Proper fix expect show diff items in vendor list depndent from required reputation.
This commit is contained in:
parent
555c1a9094
commit
a0cb8494a9
2 changed files with 2 additions and 4 deletions
|
|
@ -10713,9 +10713,7 @@ uint8 Player::CanUseItem( Item *pItem, bool not_loading ) const
|
|||
}
|
||||
}
|
||||
|
||||
// reputation for BOA items checked only at buy/quest rewarding (quest accepting in fact by quest rep requirements)
|
||||
if (!(pProto->Flags & ITEM_FLAG_BOA) && pProto->RequiredReputationFaction &&
|
||||
uint32(GetReputationRank(pProto->RequiredReputationFaction)) < pProto->RequiredReputationRank)
|
||||
if (pProto->RequiredReputationFaction && uint32(GetReputationRank(pProto->RequiredReputationFaction)) < pProto->RequiredReputationRank)
|
||||
return EQUIP_ERR_CANT_EQUIP_REPUTATION;
|
||||
|
||||
return EQUIP_ERR_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue