ZonedInCharacter.sendSelfBuffCommand now awaits a buff delta (CREO06-19) instead of a movementPercent delta (CREO04-04)

This commit is contained in:
Ziggy
2025-01-18 15:10:38 +01:00
parent 11408fb5dc
commit 8bc2fce436

View File

@@ -29,5 +29,5 @@ import java.util.concurrent.TimeUnit
fun ZonedInCharacter.sendSelfBuffCommand(buffCommand: String) {
sendCommand(buffCommand)
player.waitForNextObjectDelta(player.creatureObject.objectId, 4, 4, 1, TimeUnit.SECONDS) ?: throw IllegalStateException("Failed to receive buff object delta for player")
player.waitForNextObjectDelta(player.creatureObject.objectId, 6, 19, 1, TimeUnit.SECONDS) ?: throw IllegalStateException("Failed to receive buff object delta for player")
}