Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6039,6 +6039,13 @@ void Game::playerApplyImbuement(uint32_t playerId, uint16_t imbuementid, uint8_t
return;
}

if (player->isUIExhausted()) {
player->sendCancelMessage(RETURNVALUE_YOUAREEXHAUSTED);
return;
}

player->updateUIExhausted();

if (!player->hasImbuingItem()) {
return;
}
Expand Down Expand Up @@ -6068,6 +6075,13 @@ void Game::playerClearImbuement(uint32_t playerid, uint8_t slot) {
return;
}

if (player->isUIExhausted()) {
player->sendCancelMessage(RETURNVALUE_YOUAREEXHAUSTED);
return;
}

player->updateUIExhausted();

if (!player->hasImbuingItem()) {
return;
}
Expand Down
Loading