aboutsummaryrefslogtreecommitdiff
path: root/go/game/attack.go
Commit message (Collapse)AuthorAgeFilesLines
* improve codeFlorian Fischer2025-01-271-1/+1
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* replace Fatalf with PanicfFlorian Fischer2025-01-271-2/+2
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* support crewingFlorian Fischer2025-01-271-1/+1
| | | | | | * Introduce new callback for leaving a pile without beeing dropped * Fix equipment contrsuctor * Implement attack inheritance
* change unit attack representation and implement swordFlorian Fischer2025-01-271-10/+29
|
* intermediate commitFlorian Fischer2025-01-271-0/+50