aboutsummaryrefslogtreecommitdiff
path: root/go/game/attack.go
Commit message (Collapse)AuthorAgeFilesLines
* improve codeFlorian Fischer2025-08-201-1/+1
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* replace Fatalf with PanicfFlorian Fischer2025-08-201-2/+2
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* support crewingFlorian Fischer2025-08-201-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-08-201-10/+29
|
* intermediate commitFlorian Fischer2025-08-201-0/+50