Misc fixes
This commit is contained in:
@@ -66,7 +66,7 @@ namespace BNetServer.Networking
|
|||||||
if (!authed)
|
if (!authed)
|
||||||
return BattlenetRpcErrorCode.Denied;
|
return BattlenetRpcErrorCode.Denied;
|
||||||
|
|
||||||
if (request.AttributeKey == "Command_RealmListRequest_v1")
|
if (request.AttributeKey.Contains("Command_RealmListRequest_v1"))
|
||||||
{
|
{
|
||||||
Global.RealmMgr.WriteSubRegions(response);
|
Global.RealmMgr.WriteSubRegions(response);
|
||||||
return BattlenetRpcErrorCode.Ok;
|
return BattlenetRpcErrorCode.Ok;
|
||||||
|
|||||||
@@ -37,9 +37,6 @@ namespace Scripts.World.Areatriggers
|
|||||||
public const uint TeleATo = 37387;
|
public const uint TeleATo = 37387;
|
||||||
public const uint TeleHTo = 37389;
|
public const uint TeleHTo = 37389;
|
||||||
|
|
||||||
//Stormwright Shelf
|
|
||||||
public const uint CreateTruePowerOfTheTempest = 53067;
|
|
||||||
|
|
||||||
//Sholazar Waygate
|
//Sholazar Waygate
|
||||||
public const uint SholazarToUngoroTeleport = 52056;
|
public const uint SholazarToUngoroTeleport = 52056;
|
||||||
public const uint UngoroToSholazarTeleport = 52057;
|
public const uint UngoroToSholazarTeleport = 52057;
|
||||||
@@ -60,9 +57,6 @@ namespace Scripts.World.Areatriggers
|
|||||||
public const uint GainingAccessA = 10589;
|
public const uint GainingAccessA = 10589;
|
||||||
public const uint GainingAccessH = 10604;
|
public const uint GainingAccessH = 10604;
|
||||||
|
|
||||||
//Stormwright Shelf
|
|
||||||
public const uint StrengthOfTheTempest = 12741;
|
|
||||||
|
|
||||||
//Scent Larkorwi
|
//Scent Larkorwi
|
||||||
public const uint ScentOfLarkorwi = 4291;
|
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]
|
[Script]
|
||||||
class AreaTrigger_at_scent_larkorwi : AreaTriggerScript
|
class AreaTrigger_at_scent_larkorwi : AreaTriggerScript
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user