mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
fix hands calculation
This commit is contained in:
parent
be88fc102c
commit
cb134800b9
3 changed files with 22 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
using HISP.Server;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
|
||||
namespace HISP.Game
|
||||
{
|
||||
|
@ -879,7 +880,7 @@ namespace HISP.Game
|
|||
}
|
||||
public static string FormatHorseHandsHigh(string color, string breed,string sex, double handsHigh)
|
||||
{
|
||||
return HorseHandsHeightFormat.Replace("%COLOR%", color).Replace("%SEX%", sex).Replace("%HANDS%", handsHigh.ToString("0.0")).Replace("%BREED%", breed);
|
||||
return HorseHandsHeightFormat.Replace("%COLOR%", color).Replace("%SEX%", sex).Replace("%HANDS%", handsHigh.ToString(CultureInfo.InvariantCulture)).Replace("%BREED%", breed);
|
||||
}
|
||||
public static string FormatHorseExperience(int experience)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue