Code: Select all
public virtual int GetTrainingPrice()
{
int costPerLev = IsMember() ? memberTrainingCost : nonMemberTrainingCost;
return costPerLev * GameManager.Instance.PlayerEntity.Level;
}
UPDATE: I've found "Unleveled Spells"' source code, I understand the modder replaced all the effects using a specific Daggerfall's function. I don't think the same is possible with training. Do you know how other mods did it?
UPDATE2: I've found "public static void RegisterCustomUIWindow(UIWindowType windowType, Type windowClassType)", this would let me replace/override the whole training window, though it seems a bit too much to me