Fixes so errors
This commit is contained in:
@@ -489,7 +489,7 @@ namespace Game.AI
|
|||||||
case SmartTargets.InvokerParty:
|
case SmartTargets.InvokerParty:
|
||||||
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Sql, "SmartAIMgr: Entry {e.entryOrGuid} SourceType {e.GetScriptType()} Event {e.GetEventType()} Action {}e.GetActionType() has invoker target, but action does not provide any invoker!");
|
Log.outError(LogFilter.Sql, $"SmartAIMgr: Entry {e.EntryOrGuid} SourceType {e.GetScriptType()} Event {e.GetEventType()} Action {e.GetActionType()} has invoker target, but action does not provide any invoker!");
|
||||||
// allow this to load for now
|
// allow this to load for now
|
||||||
// return false;
|
// return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ namespace Scripts.Spells.Mage
|
|||||||
{
|
{
|
||||||
Unit unit = GetTarget();
|
Unit unit = GetTarget();
|
||||||
_health = unit.GetHealth();
|
_health = unit.GetHealth();
|
||||||
_pos = unit.GetPosition();
|
_pos = new(unit.GetPosition());
|
||||||
}
|
}
|
||||||
|
|
||||||
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
|
void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user