- Future ML craftables added to the special repair list until the craft system is updated.
- Items can now be repaired while wearing them. - Items can now be fortified while wearing them. - Fixed repair deed messages not sending. - Sound effect added to powder of fortifying. - Map issue for fishing and SOSs fixed, where it would not allow fishing in empty resource banks when not on the target SOS map. - Added proximity spawner. - Improved spawner mouseover menu, now also shows types set on the spawner which are not yet spawned. - Fixed spawners only deleting half of their spawned objects when deleted. - Added the ability to set TextDefinition objects in the props gump. - WaitTeleporters now round delays to nearest in the remaining time messages. - Updated TextDefinition to be more usable; made it parsable from string and added safe serialization/deserialization methods. - Improved checking whether a mobile can flee. - Monsters that give ML minor artifacts will no longer flee when low on hits (like paragons). - Monsters that give ML minor artifacts will no longer spawn as paragon. - Fixed issue with pets not eating certain foods. - AI and targeting fixes for Red Death, Pyre and Swoop. - Fame and karma added to Rend. - Swoop corrected to have 0 karma. - Stat and skill tweaks for Putrefier. - Changelings will no longer show their fame title when morphed. - Added travel restrictions for ML dungeons. - Fixed issue of travel restriction message displaying twice. - Monster teleporting is no longer affected by region travel restrictions.
This commit is contained in:
parent
4bcde77cc2
commit
a0e13d5007
25 changed files with 432 additions and 140 deletions
|
|
@ -592,16 +592,16 @@ namespace Server.Items
|
|||
{
|
||||
if ( ts.TotalHours >= 1 )
|
||||
{
|
||||
int h = (int)ts.TotalHours;
|
||||
int h = (int)Math.Round( ts.TotalHours );
|
||||
return String.Format( "{0} hour{1}", h, ( h == 1 ) ? "" : "s" );
|
||||
}
|
||||
else if ( ts.TotalMinutes >= 1 )
|
||||
{
|
||||
int m = (int)ts.TotalMinutes;
|
||||
int m = (int)Math.Round( ts.TotalMinutes );
|
||||
return String.Format( "{0} minute{1}", m, ( m == 1 ) ? "" : "s" );
|
||||
}
|
||||
|
||||
int s = Math.Max( (int)ts.TotalSeconds, 0 );
|
||||
int s = Math.Max( (int)Math.Round( ts.TotalSeconds ), 0 );
|
||||
return String.Format( "{0} second{1}", s, ( s == 1 ) ? "" : "s" );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue