Fixes for Last Moved (#194)
This commit is contained in:
parent
3a081d5322
commit
b476bcfd24
28 changed files with 155 additions and 398 deletions
|
|
@ -239,12 +239,9 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if (m_Counter >= m_Hill.ScoreInterval)
|
||||
{
|
||||
string hill = m_Hill.Name;
|
||||
string hill = m_Hill.Name.IsNullOrDefault("the hill");
|
||||
string king = m_Hill.King.Name ?? "";
|
||||
|
||||
if (string.IsNullOrEmpty(hill))
|
||||
hill = "the hill";
|
||||
|
||||
m_Hill.Game.Alert("{0} ({1}) is king of {2}!", king, ti.Name, hill);
|
||||
|
||||
m_Hill.PublicOverheadMessage(MessageType.Regular, 0x0481, false, "Capture!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue