internal bool IsWhitelistedLandblock(ushort landblock) { if (StandardRules.GetProperty(RealmPropertyBool.IsDuelingRealm)) { return(RealmConstants.DuelLandblocks.Contains(landblock)); } return(true); }
internal Position DefaultStartingLocation(Player player) { if (StandardRules.GetProperty(RealmPropertyBool.IsDuelingRealm)) { //Adventurer's Haven //0x01AC0118[29.684622 - 30.072382 0.010000] - 0.027857 0.999612 0.000000 0.000000 return(DuelRealmHelpers.GetDuelingAreaDrop(this)); } else { //Holtburg return(new Position(0xA9B40019, 84f, 7.1f, 94.005005f, 0f, 0f, -0.078459f, 0.996917f, GetDefaultInstanceID(player))); } }