feat: status effects (poison/burn), boss patterns, new relics

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 14:49:55 +09:00
parent 533e460968
commit d3d7e2a76a
8 changed files with 158 additions and 2 deletions

View File

@@ -33,6 +33,16 @@ var monsterDefs = map[MonsterType]monsterBase{
MonsterBoss20: {"Archlich", 600, 40, 20, 20, true},
}
type BossPattern int
const (
PatternNone BossPattern = iota
PatternAoE // every 3 turns AoE
PatternPoison // applies poison
PatternBurn // applies burn to random player
PatternHeal // heals self
)
type Monster struct {
Name string
Type MonsterType
@@ -41,6 +51,7 @@ type Monster struct {
IsBoss bool
TauntTarget bool
TauntTurns int
Pattern BossPattern
}
func NewMonster(mt MonsterType, floor int) *Monster {