class_name HopscotchCard extends Card func _init(): super._init() # id = Utils.generate_guid() cardName = "HopScotch" rank = Rank.RANK_0 effectType = EffectType.MOVEMENT_MODIFIER description = "Peice can move 5 times per turn" duration = 2 # Lasts for 2 turns unitWhitelist = [] func modify_moves() -> Dictionary: return { "extra_moves": 5, "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 attached_piece = target_piece return true