diff --git a/src/main/kotlin/org/gitanimals/render/domain/User.kt b/src/main/kotlin/org/gitanimals/render/domain/User.kt index 286908a..8db5c0d 100644 --- a/src/main/kotlin/org/gitanimals/render/domain/User.kt +++ b/src/main/kotlin/org/gitanimals/render/domain/User.kt @@ -255,7 +255,7 @@ class User( val increasePersona = personas.first { it.id == increasePersonaId } val deletePersona = personas.first { it.id == deletePersonaId } - increasePersona.level.value += deletePersona.level.value + increasePersona.level.value += max(deletePersona.level.value / 2, 1) personas.remove(deletePersona)