- Added BattleState class to manage battle flow, including turn management and event handling. - Introduced BuffInstance class to represent buffs applied to combatants. - Created CardInstance class to handle card definitions and cost calculations. - Developed CombatantState class to manage combatant attributes and actions. - Implemented EffectRegistry to apply effects based on event specifications. - Added various handlers (BlockHandler, DamageHandler, DrawHandler, etc.) to process specific events. - Created IntentPlanner and IntentState classes to manage enemy actions and intents. - Established a queue system for handling battle events with BattleEventQueue and BattleEventTask. - Introduced triggers for applying effects based on game events (e.g., OnCardDrawnGainBlockTrigger). - Added necessary UID files for new scripts to ensure proper resource management.
11 lines
218 B
GDScript
11 lines
218 B
GDScript
class_name ECardTargeting
|
|
extends RefCounted
|
|
|
|
const NONE: int = 0
|
|
const SELF: int = 1
|
|
const SINGLE_ENEMY: int = 2
|
|
const ALL_ENEMIES: int = 3
|
|
const SINGLE_ALLY: int = 4
|
|
const ALL_ALLIES: int = 5
|
|
const ANY_UNIT: int = 6
|