Fixes string interpolation

This commit is contained in:
Kamron Batman 2018-09-14 13:07:43 -07:00
parent 42d0b6271f
commit 7d3a0ca265
233 changed files with 758 additions and 690 deletions

View file

@ -181,7 +181,8 @@ namespace Server.Mobiles
if ( (count % 4) == 0 )
{
m.LocalOverheadMessage( Network.MessageType.Emote, m.SpeechHue, true, "* The swarm of insects bites and stings your flesh! *" );
m.NonlocalOverheadMessage( Network.MessageType.Emote, m.SpeechHue, true, String.Format( "* {0} is stung by a swarm of insects *", m.Name ) );
m.NonlocalOverheadMessage( Network.MessageType.Emote, m.SpeechHue, true,
$"* {m.Name} is stung by a swarm of insects *");
}
m.FixedParticles( 0x91C, 10, 180, 9539, EffectLayer.Waist );