mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
apply ranged setting on spawn to show correct weapons
This commit is contained in:
@@ -3395,6 +3395,10 @@ bool Bot::Spawn(Client* botCharacterOwner) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IsBotRanged()) {
|
||||||
|
ChangeBotRangedWeapons(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (auto raid = entity_list.GetRaidByBotName(GetName())) {
|
if (auto raid = entity_list.GetRaidByBotName(GetName())) {
|
||||||
// Safety Check to confirm we have a valid raid
|
// Safety Check to confirm we have a valid raid
|
||||||
auto owner = GetBotOwner();
|
auto owner = GetBotOwner();
|
||||||
|
|||||||
Reference in New Issue
Block a user