package game

import "github.com/denisovdennis/autohero/internal/model"

func ensureTestEnemyTemplates() {
	if len(model.EnemyTemplates) > 0 {
		return
	}
	model.SetEnemyTemplates([]model.Enemy{
		{
			Slug:             "wolf",
			Archetype:        "wolf",
			Name:             "Forest Wolf",
			MaxHP:            40,
			HP:               40,
			Attack:           8,
			Defense:          2,
			Speed:            1.2,
			BaseLevel:        1,
			LevelVariance:    0.3,
			MaxHeroLevelDiff: 5,
			HPPerLevel:       5,
			AttackPerLevel:   1.5,
			DefensePerLevel:  1.0,
			XPPerLevel:       2,
			XPReward:         1,
			GoldReward:       5,
		},
		{
			Slug:             "boar",
			Archetype:        "boar",
			Name:             "Wild Boar",
			MaxHP:            60,
			HP:               60,
			Attack:           10,
			Defense:          5,
			Speed:            0.9,
			BaseLevel:        3,
			LevelVariance:    0.3,
			MaxHeroLevelDiff: 5,
			HPPerLevel:       6,
			AttackPerLevel:   1.8,
			DefensePerLevel:  1.3,
			XPPerLevel:       2,
			XPReward:         1,
			GoldReward:       8,
		},
	})
}
