Core/Objects:
*merged 3.3.5 renaming of GetObjectSize() to GetCombatReach() *made GetBoundaryRadius virtual and use it to determine the actual spell radius distance with it instead of using CombatReach
This commit is contained in:
1 parent
3f03415073
commit
0d46b893fc
23 files changed
+71
-75
No files matched your search
@@ -581,7 +581,7 @@ public:
|
||||
|
||||
// before GM
|
||||
float x, y, z;
|
||||
_player->GetClosePoint(x, y, z, target->GetObjectSize());
|
||||
_player->GetClosePoint(x, y, z, target->GetCombatReach());
|
||||
target->TeleportTo(_player->GetMapId(), x, y, z, target->GetOrientation());
|
||||
PhasingHandler::InheritPhaseShift(target, handler->GetSession()->GetPlayer());
|
||||
target->UpdateObjectVisibility();
|
||||
|
||||
Reference in new issue
Block a user