Added the ability to cancel the selection arrow (#58)
Had to remove the typed part of the `execute()` function from CombatAction.gd. It wasn't a `void` anymore: it returns if it actually managed to hit a target. When changing the function type to bool, yields would throw an error. I'm not sure if this is a bug with typed GDScript.
Showing
- godot/combat/CombatAction.gd 4 additions, 3 deletionsgodot/combat/CombatAction.gd
- godot/combat/CombatArena.gd 0 additions, 1 deletiongodot/combat/CombatArena.gd
- godot/combat/battlers/actions/Attack.gd 4 additions, 1 deletiongodot/combat/battlers/actions/Attack.gd
- godot/combat/battlers/actions/SkillAction.gd 4 additions, 1 deletiongodot/combat/battlers/actions/SkillAction.gd
- godot/combat/interface/SelectArrow.gd 3 additions, 0 deletionsgodot/combat/interface/SelectArrow.gd
- godot/combat/turn_queue/TurnQueue.gd 8 additions, 3 deletionsgodot/combat/turn_queue/TurnQueue.gd
Loading
Please register or sign in to comment