[Bots] Resolve incorrect values on Bot Creation (#2644)

This commit is contained in:
Aeadoin 2022-12-14 18:03:56 -05:00 committed by GitHub
parent bca04b969f
commit 0fd4d82553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,9 @@ Bot::Bot(NPCType *npcTypeData, Client* botOwner) : NPC(npcTypeData, nullptr, glm
RestRegenHP = 0;
RestRegenMana = 0;
RestRegenEndurance = 0;
m_enforce_spell_settings = 0;
m_bot_archery_setting = 0;
m_expansion_bitmask = -1;
SetBotID(0);
SetBotSpellID(0);
SetSpawnStatus(false);