Misc cleanups

This commit is contained in:
hondacrx
2024-02-21 00:06:06 -05:00
parent 9e3a7df6a7
commit 47a64b8782
5 changed files with 2 additions and 7 deletions
@@ -153,8 +153,6 @@ namespace Game.Arenas
} }
}); });
} }
EventMap _events = new();
} }
struct DalaranSewersEvents struct DalaranSewersEvents
-2
View File
@@ -177,8 +177,6 @@ namespace Game.Arenas
} }
} }
} }
EventMap _events;
} }
struct RingofValorEvents struct RingofValorEvents
@@ -15,7 +15,6 @@ using Game.Spells;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System;
namespace Game.Entities namespace Game.Entities
{ {
@@ -290,7 +290,7 @@ namespace Game
return Global.CriteriaMgr.GetQuestObjectiveCriteriaByType(type); return Global.CriteriaMgr.GetQuestObjectiveCriteriaByType(type);
} }
public bool RequiredAchievementSatisfied(uint achievementId) public override bool RequiredAchievementSatisfied(uint achievementId)
{ {
return _owner.HasAchieved(achievementId); return _owner.HasAchieved(achievementId);
} }
+1 -1
View File
@@ -26,7 +26,7 @@ namespace Game.Spells
public ObjectGuid CastingUnitGUID; public ObjectGuid CastingUnitGUID;
public SpellCastRequestItemData ItemData; public SpellCastRequestItemData ItemData;
public SpellCastRequest(SpellCastRequestPkt castRequest, ObjectGuid castingUnitGUID, SpellCastRequestItemData? itemData = null) public SpellCastRequest(SpellCastRequestPkt castRequest, ObjectGuid castingUnitGUID, SpellCastRequestItemData itemData = null)
{ {
CastRequest = castRequest; CastRequest = castRequest;
CastingUnitGUID = castingUnitGUID; CastingUnitGUID = castingUnitGUID;