mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
Add hospital revival, Robbie bandit, MW/shop fixes, float64 scoring
- St. Guildmore's Memorial Hospital: !hospital command with Nurse Joy, procedural itemized billing, same-day revival, 6-hour dead timer, hospital ad after death, 2-hour nudge follow-up - Robbie the Friendly Bandit: automated inventory cleaner, random daily visits (8-21 UTC, 40% chance), collects sub-tier gear at €50/item, donates to community pot, drops Get Out of Medical Debt Free card - Fix MW auto-equip: T1 MW no longer replaces better equipped gear - Fix shop MW block: allow purchasing upgrades over lower-tier MW - Float64 equipment scoring: advEffectiveTier and advEquipmentScore return float64, no mid-calculation truncation (MW 1.25x, Arena 1.5x) - Fix markdown rendering: convert *asterisk* to _underscore_ italics across all flavor text files (shop, blacksmith, rival, hospital) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -390,7 +390,7 @@ func (p *WordlePlugin) pickWord(length int, category WordleCategory) string {
|
||||
|
||||
// Try a few times to get a word that hasn't been used recently.
|
||||
for range 10 {
|
||||
word, err := p.dict.RandomWord(lang, "", length, length)
|
||||
word, err := p.dict.RandomWord(lang, "", length, length, 500)
|
||||
if err != nil {
|
||||
slog.Warn("wordle: DreamDict random word failed, falling back", "err", err)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user