Skip to content

Commit

Permalink
release: 0.7.3 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Nov 16, 2024
2 parents 3f8f330 + 7eb7aa4 commit 435ee5d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/api/render/merge_persona_level.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@ ex. A펫, B펫이 있고, B펫이 재물일때, B펫의 레벨만큼 A펫 레벨
``` json
{
"increasePersonaId": "1",
"decreasePersonaId": "2"
"deletePersonaId": "2"
}
```

## Response

200 OK

```json
{
"id": "12345", // increase된 pet의 id
"type": "GOOSE", // persona의 type
"level": "12345", // 상승된 펫의 id
"visible": true, // farms에서 보이는여부
"dropRate": "드롭될 확률"
}
```
5 changes: 5 additions & 0 deletions src/main/kotlin/org/gitanimals/auction/domain/PersonaType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,9 @@ enum class PersonaType {
GHOST_KING,
SCREAM,
SCREAM_GHOST,
HAMSTER,
HAMSTER_SPRING,
HAMSTER_JAVA,
HAMSTER_KOTLIN,
HAMSTER_JS,
}
5 changes: 5 additions & 0 deletions src/main/kotlin/org/gitanimals/gotcha/domain/GotchaType.kt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ enum class GotchaType(
Capsule.of("SCREAM_GHOST", 0.001),
Capsule.of("SLIME_PUMPKIN_1", 0.08),
Capsule.of("SLIME_PUMPKIN_2", 0.08),
Capsule.of("HAMSTER", 0.8),
Capsule.of("HAMSTER_SPRING", 0.01),
Capsule.of("HAMSTER_JAVA", 0.01),
Capsule.of("HAMSTER_KOTLIN", 0.01),
Capsule.of("HAMSTER_JS", 0.01),
)
}
}

0 comments on commit 435ee5d

Please sign in to comment.