zamalaev Posted January 11, 2017 Report Share Posted January 11, 2017 (edited) void HandleDummy(SpellEffIndex /*effIndex*/) { if (Unit* caster = GetCaster()) { if (Player* _player = caster->ToPlayer()) { if (GetSpellInfo()->Id == SPELL_MONK_ZEN_PILGRIMAGE) { _player->SaveRecallPosition(); save player position _player->TeleportTo(870, 3818.55f, 1793.18f, 950.35f, _player->GetOrientation()); tele new position } else if (GetSpellInfo()->Id == SPELL_MONK_ZEN_PILGRIMAGE_RETURN) { // need help return player save position _player->RemoveAura(SPELL_AURA_ZEN_PILGRIMAGE_RETURN); remove aura } } } help plz Edited January 11, 2017 by zamalaev Link to comment Share on other sites More sharing options...
zamalaev Posted January 15, 2017 Author Report Share Posted January 15, 2017 method Relocate? example plz Link to comment Share on other sites More sharing options...
Recommended Posts