fix(Scripts/Oculus): Fix Mage-Lord Urom not teleporting between platforms (#25220)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
parent
aac930864a
commit
2500804da9
1 changed files with 5 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ public:
|
|||
me->LoadCreaturesAddon(true);
|
||||
me->SetLootRecipient(nullptr);
|
||||
me->ResetPlayerDamageReq();
|
||||
EngagementOver();
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
|
|
@ -369,6 +370,10 @@ public:
|
|||
|
||||
void EnterEvadeMode(EvadeReason why) override
|
||||
{
|
||||
// Block evade during outer platform transitions
|
||||
if (lock)
|
||||
return;
|
||||
|
||||
me->SetCanFly(false);
|
||||
me->SetDisableGravity(false);
|
||||
me->SetControlled(false, UNIT_STATE_ROOT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue