Noudess: This makes newly spawned NPCs have a chance to cast

This commit is contained in:
Akkadius
2018-01-13 22:14:21 -06:00
parent 26213f9049
commit 40ebee9ff4
2 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -420,6 +420,8 @@ public:
bool IgnoreDespawn() { return ignore_despawn; }
std::unique_ptr<Timer> AIautocastspell_timer;
protected:
const NPCType* NPCTypedata;
@@ -453,7 +455,7 @@ protected:
uint32 npc_spells_id;
uint8 casting_spell_AIindex;
std::unique_ptr<Timer> AIautocastspell_timer;
uint32* pDontCastBefore_casting_spell;
std::vector<AISpells_Struct> AIspells;
bool HasAISpell;