mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 07:37:02 +00:00
Lots of cmangos commirs applied
This commit is contained in:
parent
8431568536
commit
18dd18780d
44 changed files with 677 additions and 323 deletions
|
|
@ -8227,9 +8227,9 @@ bool PlayerCondition::Meets(Player const* player, Map const* map, WorldObject co
|
|||
case CONDITION_TEAM:
|
||||
{
|
||||
if (conditionSourceType == CONDITION_FROM_REFERING_LOOT && sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_AUCTION))
|
||||
{ return true; }
|
||||
return true;
|
||||
else
|
||||
{ return uint32(player->GetTeam()) == m_value1; }
|
||||
return uint32(player->GetTeam()) == m_value1;
|
||||
}
|
||||
case CONDITION_SKILL:
|
||||
return player->HasSkill(m_value1) && player->GetBaseSkillValue(m_value1) >= m_value2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue