fn rating_buff_effect( lookup: EffectLookup<'_>, rating_type: RatingType, amount: f64, ) -> Result<BuffEffect, EngineError>