mirror of
https://github.com/islehorse/HISP.git
synced 2025-07-18 04:51:32 +12:00
make hands calculations more accurate to swf
This commit is contained in:
parent
d5762c3b07
commit
be88fc102c
3 changed files with 10 additions and 7 deletions
|
@ -877,9 +877,9 @@ namespace HISP.Game
|
|||
{
|
||||
return HorseDescriptionFormat.Replace("%DESCRIPTION%", Description);
|
||||
}
|
||||
public static string FormatHorseHandsHigh(string color, string breed,string sex, int handsHigh)
|
||||
public static string FormatHorseHandsHigh(string color, string breed,string sex, double handsHigh)
|
||||
{
|
||||
return HorseHandsHeightFormat.Replace("%COLOR%", color).Replace("%SEX%", sex).Replace("%HANDS%", handsHigh.ToString()).Replace("%BREED%", breed);
|
||||
return HorseHandsHeightFormat.Replace("%COLOR%", color).Replace("%SEX%", sex).Replace("%HANDS%", handsHigh.ToString("0.0")).Replace("%BREED%", breed);
|
||||
}
|
||||
public static string FormatHorseExperience(int experience)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue