Skip to content

Commit

Permalink
Change locations for objects and combatants.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnchyDev committed Oct 21, 2023
1 parent 44570a7 commit 6054440
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/scripts/ToSArenaMasterScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ class ToSArenaMasterScript : public CreatureScript
if (action == TOS_GOSSIP_TELEPORT_TO)
{
CloseGossipMenuFor(player);
player->TeleportTo(TOS_MAP_ID, 239.045, -99.930, 23.773, 6.271);
player->TeleportTo(TOS_MAP_ID, 176.726, -126.015, 18.022, 4.739); // 262.502, -100.013, 18.679, 3.137 - For new NPC
}

if (action == TOS_GOSSIP_TELEPORT_FROM)
{
CloseGossipMenuFor(player);
player->TeleportTo(TOS_MAP_ID, 239.045, -99.930, 23.773, 6.271);
player->TeleportTo(TOS_MAP_ID, 176.726, -126.015, 18.022, 4.739);
}

if (action == TOS_GOSSIP_ENCOUNTER_START)
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/ToSInstanceScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,11 @@ void ToSInstanceScript::RelocateArenaMaster(bool returning)

if (returning)
{
arenaMaster->NearTeleportTo(244.114, -99.9485, 23.7741, 3.16135);
arenaMaster->NearTeleportTo(249.918, -100.063, 18.679, 0.030);
}
else
{
arenaMaster->NearTeleportTo(211.368, -91.809, 18.677, 4.730);
arenaMaster->NearTeleportTo(272.296, -100.024, 28.869, 3.169);
}
}

Expand Down Expand Up @@ -577,7 +577,7 @@ void ToSInstanceScript::PopulateRewardChest()
return;
}

Position* tempPos = new Position(269.173, -100.046, 18.679, 3.180);
Position* tempPos = new Position(255.194, -99.974, 18.677, 6.270);
if (rewardChest = instance->SummonGameObject(TOS_GOB_REWARD_CHEST, *tempPos))
{
rewardChest->loot.clear();
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/ToSInstanceScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ToSInstanceScript : public InstanceScript
curseCrystal3 = nullptr;

combatantPosStart = new Position(228.324, -99.921, 18.007, 6.282);
combatantPosEnd = new Position(265.175, -100.163, 18.677, 3.121);
combatantPosEnd = new Position(249.918, -100.063, 18.679, 0.030);

ResetEncounter();
}
Expand Down

0 comments on commit 6054440

Please sign in to comment.