fix: Fixes champion titles atrophying immediately (#1210)

This commit is contained in:
Kamron Batman 2022-10-27 22:15:18 -07:00 • committed by GitHub
parent be19d9aae6
commit deabab575a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 196 additions and 186 deletions

View file

@ -585,7 +585,7 @@ namespace Server.Engines.CannedEvil
}
}
int mobSubLevel = GetSubLevelfor (m) + 1;
int mobSubLevel = GetSubLevelfor(m) + 1;
if (mobSubLevel >= 0)
{
@ -604,12 +604,10 @@ namespace Server.Engines.CannedEvil
m.SendLocalizedMessage(1054030); // You have gained in Valor!
}
//No delay on Valor gains
// No delay on Valor gains
}
ChampionTitleInfo info = pm.ChampionTitles;
info.Award(m_Type, mobSubLevel);
pm.ChampionTitles.Award(m_Type, mobSubLevel);
}
}
}