mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-18 19:01:32 +12:00
Fix training pens
This commit is contained in:
parent
e5e7708aac
commit
cee5dafdc5
1 changed files with 1 additions and 1 deletions
|
@ -2710,7 +2710,7 @@ namespace HISP.Game
|
||||||
if (ConfigReader.FixOfficalBugs)
|
if (ConfigReader.FixOfficalBugs)
|
||||||
allowed = (statCalculator.BreedValue < statCalculator.MaxValue);
|
allowed = (statCalculator.BreedValue < statCalculator.MaxValue);
|
||||||
else
|
else
|
||||||
allowed = (statCalculator.BreedValue + statCalculator.BreedOffset < statCalculator.MaxValue);
|
allowed = ((statCalculator.BreedValue + trainer.ImprovesAmount) < statCalculator.MaxValue);
|
||||||
|
|
||||||
if(allowed)
|
if(allowed)
|
||||||
message += Messages.FormatTrainerTrainInEntry(horse.Name, statCalculator.BreedValue, statCalculator.MaxValue, horse.RandomId);
|
message += Messages.FormatTrainerTrainInEntry(horse.Name, statCalculator.BreedValue, statCalculator.MaxValue, horse.RandomId);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue