/*#region QueensLoyaltySystem // Queens Loyalty System
if (m_Exp >= m_LevelExp)
{
while (m_Exp >= m_LevelExp)
{
m_Exp -= m_LevelExp;
m_Level += 1;
m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level)));
}
}
if (m_Exp < 0)
{
while (m_Exp < 0)
{
if (m_Level == 0) m_Exp = 0;
else
{
m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level - 1)));
m_Exp += (long)(m_LevelExp);
m_Level -= 1;
}
}
}
m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level)));
if (AccessLevel == AccessLevel.Player || AccessLevel == AccessLevel.Counselor)
{
if (m_Level == 0) m_ExpTitle = "TerMur-guest";
else if (m_Level >= 1 && m_Level <= 5) m_ExpTitle = "Friend of TerMur";
else if (m_Level >= 6 && m_Level <= 10) m_ExpTitle = "Friend of TerMur";
else if (m_Level >= 11 && m_Level <= 15) m_ExpTitle = "Friend of TerMur";
else if (m_Level >= 16 && m_Level <= 20) m_ExpTitle = "Friend of TerMur";
else if (m_Level >= 21 && m_Level <= 25) m_ExpTitle = "Friend of TerMur";
else if (m_Level >= 26 && m_Level <= 30) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 31 && m_Level <= 35) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 36 && m_Level <= 40) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 41 && m_Level <= 45) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 46 && m_Level <= 50) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 51 && m_Level <= 60) m_ExpTitle = "A Citizen of TerMur";
else if (m_Level >= 61 && m_Level <= 70) m_ExpTitle = "A Noble of Termur";
else if (m_Level >= 71 && m_Level <= 80) m_ExpTitle = "A Noble of Termur";
else if (m_Level >= 80 && m_Level <= 100) m_ExpTitle = "A Noble of Termur";
else if (m_Level >= 101) m_ExpTitle = "A Noble of Termur";
}
else
{
m_ExpTitle = "Staff: ";
if (AccessLevel == AccessLevel.GameMaster) m_ExpTitle += "GameMaster";
else if (AccessLevel == AccessLevel.Seer) m_ExpTitle += "Seer";
else if (AccessLevel == AccessLevel.Administrator) m_ExpTitle += "Administrator";
else if (AccessLevel == AccessLevel.Developer) m_ExpTitle += "Developer";
else if (AccessLevel == AccessLevel.Owner) m_ExpTitle += "Owner";
}
list.Add(String.Concat("Queens Loyalty Level: ", String.Format("<BASEFONT COLOR={0}>{1}", "#FF0000", m_Level), " ", String.Format("<BASEFONT COLOR={0}>{1}", "#000FFF", (int)(100 * m_Exp / m_LevelExp)), " % ", String.Format("<BASEFONT COLOR={0}>{1}", "#0FFF00", m_ExpTitle))); InvalidateMyRunUO();
#endregion*/
else if (IsPlayer())
{
//list.Add(1070722, "Kills {0} / Deaths {1} : Rank={2}", a.Kills, a.Deaths, a.Rank);
}
}
if (IsPlayer())
{
//#region QueensLoyaltySystem
//if (m_Exp >= m_LevelExp)
//{
// while (m_Exp >= m_LevelExp)
// {
// m_Exp -= m_LevelExp;
// m_Level += 1;
// m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level)));
// }
//}
//
//if (m_Exp < 0)
//{
// while (m_Exp < 0)
// {
// if (m_Level == 0)
// {
// m_Exp = 0;
// }
// else
// {
// m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level - 1)));
// m_Exp += (m_LevelExp);
// m_Level -= 1;
// }
// }
//}
//
//m_LevelExp = (long)(1000 * (Math.Pow(1.4, m_Level)));
//if (m_Level == 0)
//{
// m_ExpTitle = "TerMur-guest";
//}
//else if (m_Level >= 1 && m_Level <= 5)
//{
// m_ExpTitle = "Friend of TerMur";
//}
//else if (m_Level >= 6 && m_Level <= 10)
//{
// m_ExpTitle = "Friend of TerMur";
//}
//else if (m_Level >= 11 && m_Level <= 15)
//{
// m_ExpTitle = "Friend of TerMur";
//}
//else if (m_Level >= 16 && m_Level <= 20)
//{
// m_ExpTitle = "Friend of TerMur";
//}
//else if (m_Level >= 21 && m_Level <= 25)
//{
// m_ExpTitle = "Friend of TerMur";
//}
//else if (m_Level >= 26 && m_Level <= 30)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 31 && m_Level <= 35)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 36 && m_Level <= 40)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 41 && m_Level <= 45)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 46 && m_Level <= 50)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 51 && m_Level <= 60)
//{
// m_ExpTitle = "A Citizen of TerMur";
//}
//else if (m_Level >= 61 && m_Level <= 70)
//{
// m_ExpTitle = "A Noble of Termur";
//}
//else if (m_Level >= 71 && m_Level <= 80)
//{
// m_ExpTitle = "A Noble of Termur";
//}
//else if (m_Level >= 80 && m_Level <= 100)
//{
// m_ExpTitle = "A Noble of Termur";
//}
//else if (m_Level >= 101)
//{
// m_ExpTitle = "A Noble of Termur";
//}
// Xml spawner 3.26c QueensLoyaltyTitle
//XmlData QueenTitle = (XmlData)XmlAttach.FindAttachment(this, typeof(XmlData), "QueenTitle");
//
//if (QueenTitle != null && QueenTitle.Data == "True")
//{
// return;
//}
//else
//{
// list.Add(
// String.Concat(
// "Queens Loyalty Level: ",
// String.Format("<BASEFONT COLOR={0}>{1}", "#FF0000", m_Level),
// " ",
// String.Format("<BASEFONT COLOR={0}>{1}", "#000FFF", (int)(100 * m_Exp / m_LevelExp)),
// " % ",
// String.Format("<BASEFONT COLOR={0}>{1}", "#0FFF00", m_ExpTitle)));
// InvalidateMyRunUO();
//}
// Xml Spawner 3.26c QueensLoyaltyTitle
//#endregion
Hank said:Could be something that wasn't finished when trying to replicate a OSI/EA quest but I'm not sure.
We use essential cookies to make this site work, and optional cookies to enhance your experience.