Come2WoW
Respected Member
Hi guys's , I have just Humer up the Script.
But this only works for one level .
It is something that we can change the location of the level to be?
For example, the:
Level at 19 to go to shattrat ,Level was 45 when she dalaran
But this only works for one level .
It is something that we can change the location of the level to be?
For example, the:
Level at 19 to go to shattrat ,Level was 45 when she dalaran
class lvl_change : public PlayerScript
{
public:
lvl_change() : PlayerScript("lvl_change") { }
void OnLevelChanged(Player * player, uint8 newLevel)
{
if(newLevel == 79)
player->TeleportTo(1, -6349.085938, 3315.571533, 70.443832, 0.235934); // MapId, x, y, z, o
}
};
void AddSC_level_change()
{
new lvl_change;
}