mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
Add rival duels, babysitting service, multilingual !define, economy tuning
Rival System: - RPS-based duels between combat level 5+ players (best of 3, ties re-prompt) - Stakes scale with level, split 50/50 between winner and community pot - 3-4 day randomized challenge interval, 7-day same-pair cooldown - 24h response window with auto-forfeit - Full flavor text pools, character sheet integration, !adventure rivals Babysitting Service: - Weekly/monthly auto-play service targeting weakest skill - Babysitter rerolls death, claims items, credits gold and XP - Rivals automatically declined during service - End-of-service summary with diaper report Revive fixes: - On-demand revive in handleMenu, parseAndResolveChoice, handleStatus - Morning DM respawn check now runs before babysit interception - Players no longer stuck dead after DeadUntil expires mid-day Other changes: - Multilingual !define searches all DreamDict languages by default - TwinBee empty haul now shows "jackshit" instead of blank - Wordle solve payouts increased (e.g. 1-guess: €100 -> €500) - Per-message euro payouts doubled across all tiers - Audit fixes: user locks on RPS/babysit handlers, TOCTOU on gold transfers, dead code removal, deprecated strings.Title replaced, error logging on silent failures Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -121,15 +121,15 @@ func (p *EuroPlugin) awardPassiveEuros(ctx MessageContext) {
|
||||
var amount float64
|
||||
switch {
|
||||
case words >= 51:
|
||||
amount = 10.00
|
||||
amount = 20.00
|
||||
case words >= 26:
|
||||
amount = 5.00
|
||||
amount = 10.00
|
||||
case words >= 11:
|
||||
amount = 2.50
|
||||
amount = 5.00
|
||||
case words >= 4:
|
||||
amount = 1.25
|
||||
amount = 2.50
|
||||
default:
|
||||
amount = 0.50
|
||||
amount = 1.00
|
||||
}
|
||||
|
||||
p.ensureBalance(ctx.Sender)
|
||||
|
||||
Reference in New Issue
Block a user