mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-09 14:27:10 +00:00
Merge pull request #528 from EmosewaMC/NTParadoxPanelFix
Added animation for Nexus Tower Panels
This commit is contained in:
commit
12ae6a5525
@ -38,10 +38,11 @@ void NtParadoxPanelServer::OnUse(Entity* self, Entity* user)
|
|||||||
GameMessages::SendPlayAnimation(player, u"rebuild-celebrate");
|
GameMessages::SendPlayAnimation(player, u"rebuild-celebrate");
|
||||||
|
|
||||||
GameMessages::SendNotifyClientObject(self->GetObjectID(), u"SparkStop", 0, 0, player->GetObjectID(), "", player->GetSystemAddress());
|
GameMessages::SendNotifyClientObject(self->GetObjectID(), u"SparkStop", 0, 0, player->GetObjectID(), "", player->GetSystemAddress());
|
||||||
|
GameMessages::SendSetStunned(player->GetObjectID(), eStunState::POP, player->GetSystemAddress(), LWOOBJID_EMPTY, false, false, true, false, true, true, false, false, true);
|
||||||
self->SetVar(u"bActive", false);
|
self->SetVar(u"bActive", false);
|
||||||
});
|
});
|
||||||
|
GameMessages::SendPlayAnimation(user, u"nexus-powerpanel", 6.0f);
|
||||||
|
GameMessages::SendSetStunned(user->GetObjectID(), eStunState::PUSH, user->GetSystemAddress(), LWOOBJID_EMPTY, false, false, true, false, true, true, false, false, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user