class_name DoubleTimeCard extends Card func _init(): super._init() # id = Utils.generate_guid() cardName = "Double Time" rank = Rank.RANK_2 effectType = EffectType.MOVEMENT_MODIFIER description = "Piece can move twice in one turn" duration = 2 # Lasts for 2 turns unitWhitelist = [] func modify_moves() -> Dictionary: return { "extra_moves": 1, "move_multiplier": 1 } func apply_effect(target_piece = null, board_flow = null, game_state = null): if !super.apply_effect(target_piece, board_flow, game_state): return false # Logic to allow second move would be implemented in Game.gd attached_piece = target_piece return true