Skip to content

Commit

Permalink
Remove casters from guildmaster_map
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinglykrab committed Oct 21, 2024
1 parent 201944e commit ae9daaf
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions zone/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4269,22 +4269,18 @@ void NPC::SetMultiQuestItems(std::vector<const EQ::ItemInstance *> multiquest_it

bool NPC::IsGuildmasterForClient(Client *c) {
std::map<uint8, uint8> guildmaster_map = {
{ Class::Warrior, Class::WarriorGM },
{ Class::Cleric, Class::ClericGM },
{ Class::Paladin, Class::PaladinGM },
{ Class::Ranger, Class::RangerGM },
{ Class::Warrior, Class::WarriorGM },
{ Class::Cleric, Class::ClericGM },
{ Class::Paladin, Class::PaladinGM },
{ Class::Ranger, Class::RangerGM },
{ Class::ShadowKnight, Class::ShadowKnightGM },
{ Class::Druid, Class::DruidGM },
{ Class::Monk, Class::MonkGM },
{ Class::Bard, Class::BardGM },
{ Class::Rogue, Class::RogueGM },
{ Class::Shaman, Class::ShamanGM },
{ Class::Necromancer, Class::NecromancerGM },
{ Class::Wizard, Class::WizardGM },
{ Class::Magician, Class::MagicianGM },
{ Class::Enchanter, Class::EnchanterGM },
{ Class::Beastlord, Class::BeastlordGM },
{ Class::Berserker, Class::BerserkerGM },
{ Class::Druid, Class::DruidGM },
{ Class::Monk, Class::MonkGM },
{ Class::Bard, Class::BardGM },
{ Class::Rogue, Class::RogueGM },
{ Class::Shaman, Class::ShamanGM },
{ Class::Beastlord, Class::BeastlordGM },
{ Class::Berserker, Class::BerserkerGM },
};

if (guildmaster_map.find(c->GetClass()) != guildmaster_map.end()) {
Expand Down

0 comments on commit ae9daaf

Please sign in to comment.