
- Added a win/lose condition - Added a finish state indicator. Transition currently does not work. - Fixed enemy animation durations for icy wind spell
40 lines
518 B
GDScript
40 lines
518 B
GDScript
class_name Data extends Node
|
|
|
|
enum Element{
|
|
NORMAL,
|
|
FIRE,
|
|
ICE,
|
|
POISON,
|
|
STONE
|
|
}
|
|
|
|
enum Difficulty{
|
|
EASY,
|
|
NORMAL,
|
|
HARD,
|
|
GAMER
|
|
}
|
|
|
|
enum Location{
|
|
MAINMENU,
|
|
CREDITS,
|
|
TAVERN,
|
|
ARENA,
|
|
DEAD
|
|
}
|
|
|
|
enum Rarity{
|
|
COMMON,
|
|
RARE,
|
|
LEGENDARY,
|
|
GAMER
|
|
}
|
|
|
|
@export var spellbook: Spellbook
|
|
@export var difficulty: Difficulty = Difficulty.NORMAL
|
|
@export var animations: Dictionary = {}
|
|
@export var player: Combatant
|
|
@export var opponent: Combatant
|
|
@export var loc: Location = Location.MAINMENU
|
|
@export var playing: bool = false
|