pub(super) fn cast_spells(
    commands: Commands<'_, '_>,
    event_reader: EventReader<'_, '_, CastSpell>,
    query: Query<'_, '_, &Transform, With<Player>>,
    cursor_position: Res<'_, CursorPosition>,
    game_data: Res<'_, GameData>
)