Fixes/Crashes:

command "cometome"
Using call pet on hunter
crash when casting some spells.
This commit is contained in:
hondacrx
2023-03-20 05:50:18 -04:00
parent 12897e80e8
commit bd437fc87a
4 changed files with 21 additions and 20 deletions
+2 -5
View File
@@ -98,9 +98,6 @@ namespace Game.Spells
for (var i = 0; i < SpellConst.MaxEffects; ++i)
m_destTargets[i] = new SpellDestination(m_caster);
m_targets = new SpellCastTargets();
m_appliedMods = new List<Aura>();
}
public virtual void Dispose()
@@ -7964,11 +7961,11 @@ namespace Game.Spells
public SpellMisc m_misc;
public object m_customArg;
public SpellCastVisual m_SpellVisual;
public SpellCastTargets m_targets;
public SpellCastTargets m_targets = new();
public sbyte m_comboPointGain;
public SpellCustomErrors m_customError;
public List<Aura> m_appliedMods;
public List<Aura> m_appliedMods = new();
WorldObject m_caster;
public SpellValue m_spellValue;