Assets\_Main\scripts\player\player_AbilityRangeManager.cs(16,17): error CS0246: The type or namespace name 'TargetSettings' could not be found (are you missing a using directive or an assembly reference?)This is the code that's generating the error but I'm not quite sure how to update it for the new version of ORK:
private TargetSettings settings;
void Update()
{
if(BattleMenuMode.Target == combatant.Battle.BattleMenu.Mode)
{
abilityShortcut = combatant.Shortcuts.Active;
if(abilityShortcut!=null)
{
settings = TargetSettings.Get(abilityShortcut);
range = settings.useRange.range.range[0].GetRangeValue(combatant);
EmitAbilityRangeEvent(range);
}
}
else //...
}
It looks like you're new here. If you want to get involved, click one of these buttons!
Simply change TargetSettings to TargetSelectionSettings (both for the field and the static function call) and you're good to go.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!