Misc cleanups
This commit is contained in:
@@ -153,8 +153,6 @@ namespace Game.Arenas
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
EventMap _events = new();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DalaranSewersEvents
|
struct DalaranSewersEvents
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user