Misc fixes

This commit is contained in:
hondacrx
2022-09-07 15:51:54 -04:00
parent 21b5fe44f5
commit 80689d7fb7
2 changed files with 1 additions and 21 deletions
@@ -66,7 +66,7 @@ namespace BNetServer.Networking
if (!authed)
return BattlenetRpcErrorCode.Denied;
if (request.AttributeKey == "Command_RealmListRequest_v1")
if (request.AttributeKey.Contains("Command_RealmListRequest_v1"))
{
Global.RealmMgr.WriteSubRegions(response);
return BattlenetRpcErrorCode.Ok;
-20
View File
@@ -37,9 +37,6 @@ namespace Scripts.World.Areatriggers
public const uint TeleATo = 37387;
public const uint TeleHTo = 37389;
//Stormwright Shelf
public const uint CreateTruePowerOfTheTempest = 53067;
//Sholazar Waygate
public const uint SholazarToUngoroTeleport = 52056;
public const uint UngoroToSholazarTeleport = 52057;
@@ -60,9 +57,6 @@ namespace Scripts.World.Areatriggers
public const uint GainingAccessA = 10589;
public const uint GainingAccessH = 10604;
//Stormwright Shelf
public const uint StrengthOfTheTempest = 12741;
//Scent Larkorwi
public const uint ScentOfLarkorwi = 4291;
@@ -187,20 +181,6 @@ namespace Scripts.World.Areatriggers
}
}
[Script]
class AreaTrigger_at_stormwright_shelf : AreaTriggerScript
{
public AreaTrigger_at_stormwright_shelf() : base("at_stormwright_shelf") { }
public override bool OnTrigger(Player player, AreaTriggerRecord areaTrigger)
{
if (!player.IsDead() && player.GetQuestStatus(QuestIds.StrengthOfTheTempest) == QuestStatus.Incomplete)
player.CastSpell(player, SpellIds.CreateTruePowerOfTheTempest, false);
return true;
}
}
[Script]
class AreaTrigger_at_scent_larkorwi : AreaTriggerScript
{