Files
core/tests/datasets/battle.yml
T
Basilius Sauter 38068dd0a5 Completed basic battle system.
The class Battle takes two participants (player and monster) that both
need to implement the FighterInterface. Right now, rounds are
completed by the fightNRounds method.

Since all enemies in the old code follow the same default scaling,
monsters and masters use a AutoScaleFighter trait for now.
2016-05-25 22:13:15 +02:00

13 lines
225 B
YAML

characters:
-
id: 1
name: "Player"
displayName: "The Player"
health: 100
maxhealth: 100
level: 10
monsters:
-
id: 1
name: "Evil Monster"
level: 5