Commit Graph
11 Commits
Author SHA1 Message Date
Doar MihaiandClaude Sonnet 4.6 310dfd4129 feat: wire nerve check and deduction into crime attempts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 16:25:32 +03:00
Doar Mihai 0e8ece64c3 fix: add PHPDoc blocks and remove unused import in nerve service/commands 2026-06-28 16:18:06 +03:00
Doar MihaiandClaude Sonnet 4.6 6e2ea7bcc7 feat: add NerveService and nerve regen scheduled commands
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 16:10:26 +03:00
Doar MihaiandClaude Sonnet 4.6 e7940d31f6 fix: correct nerve fields placement in Character $fillable array
Nerve fields should be positioned after 'max_energy' per spec, not after 'max_health'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 16:07:15 +03:00
Doar Mihai c47f4f302e fix: add missing @property docblock entries for nerve fields 2026-06-28 16:02:32 +03:00
Doar MihaiandClaude Sonnet 4.6 6182563fa7 feat: add nerve config and Character nerve methods
Add nerve system configuration to config/game.php with start_amount,
max, regen_rate, regen_interval, and midnight_refill settings. Add gym
configuration with energy_cost, daily_cap, and stat_gain. Add nerve
methods to Character model: hasNerve(), consumeNerve(), addNerve(), and
getNervePercentageAttribute(). Update levelUp() to increment max_nerve
by 2. Add nerve_cost to fillable arrays in Crime and CrimeAttempt models.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 15:52:41 +03:00
Doar Mihai a36b0b7612 some progress 2026-06-28 03:19:32 +03:00
Doar Mihai 435cef6beb fix: replace all bare latest() with latest('attempted_at') in CrimeService 2026-06-28 03:18:32 +03:00
Doar Mihai 1050d19fcc fix: pass crimeService to crimes index view 2026-06-28 03:13:20 +03:00
Doar Mihai 3b31f787a3 fix: order crime attempts by attempted_at instead of missing created_at 2026-06-28 03:10:44 +03:00
Doar Mihai 96d317480b first commit 2026-06-27 14:38:18 +03:00