mirror of
https://github.com/swordbluesword/PalWorld-NetCrack.git
synced 2025-04-28 18:37:16 +09:00
fixed boss button
This commit is contained in:
parent
0cfc05db2b
commit
5f60ff9ca1
14
src/Menu.cpp
14
src/Menu.cpp
@ -716,7 +716,19 @@ namespace DX11_Base
|
||||
if (ImGui::Button(GetAsyncKeyState(VK_LSHIFT) ? "-99%" : "Kill"))
|
||||
Damage(Character, GetAsyncKeyState(VK_LSHIFT) ? (Character->CharacterParameterComponent->GetHP().Value - 1) / 1000 : 99999999999);
|
||||
}
|
||||
|
||||
if (Actor->IsA(SDK::APalPlayerCharacter::StaticClass()))
|
||||
{
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Boss"))
|
||||
{
|
||||
if (Config.GetPalPlayerController)
|
||||
{
|
||||
|
||||
Config.GetPalPlayerController()->Transmitter->BossBattle->RequestBossBattleEntry_ToServer(SDK::EPalBossType::ElectricBoss,(SDK::APalPlayerCharacter*)Character);
|
||||
Config.GetPalPlayerController()->Transmitter->BossBattle->RequestBossBattleStart_ToServer(SDK::EPalBossType::ElectricBoss, (SDK::APalPlayerCharacter*)Character);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Actor->IsA(SDK::APalPlayerCharacter::StaticClass())) {
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Join Guild")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user