DB Updates and Fixes
This commit is contained in:
@@ -2023,6 +2023,11 @@ namespace Game.Entities
|
||||
SendPacket(knownSpells);
|
||||
}
|
||||
|
||||
void SendUnlearnSpells()
|
||||
{
|
||||
SendPacket(new SendUnlearnSpells());
|
||||
}
|
||||
|
||||
public void LearnSpellHighestRank(uint spellid)
|
||||
{
|
||||
LearnSpell(spellid, false);
|
||||
|
||||
@@ -5479,7 +5479,7 @@ namespace Game.Entities
|
||||
SendKnownSpells();
|
||||
|
||||
// SMSG_SEND_UNLEARN_SPELLS
|
||||
SendPacket(new SendUnlearnSpells());
|
||||
SendUnlearnSpells();
|
||||
|
||||
// SMSG_SEND_SPELL_HISTORY
|
||||
SendSpellHistory sendSpellHistory = new();
|
||||
|
||||
@@ -1194,7 +1194,7 @@ namespace Game.Entities
|
||||
Cypher.Assert(i_disabledAI == null, "Attempt to schedule charm AI change on unit that already has disabled AI");
|
||||
else if (m_aiLocked)
|
||||
{
|
||||
Cypher.Assert(!i_lockedAILifetimeExtension, "Attempt to schedule multiple charm AI changes during one update");
|
||||
Cypher.Assert(i_lockedAILifetimeExtension == null, "Attempt to schedule multiple charm AI changes during one update");
|
||||
i_lockedAILifetimeExtension = i_AI; // AI needs to live just a bit longer to finish its UpdateAI
|
||||
}
|
||||
else if (!IsPlayer())
|
||||
|
||||
Reference in New Issue
Block a user