Пример #1
0
 public string FormatDisplayMessage(Actor self, Actor target, int amount)
 {
     return(DisplayMessage.Replace("{SELF}", self.Name)
            .Replace("{TARGET}", target?.Name ?? string.Empty)
            .Replace("{AMOUNT}", amount.ToString()));
 }