fix: Fixes poison charge OPL (#1068)

This commit is contained in:
Kamron Batman 2022-06-15 19:11:52 -07:00 committed by GitHub
parent 057cf87e60
commit 4a057bf5ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -95,7 +95,7 @@ namespace Server.Items
if (m_Poison != null && m_PoisonCharges > 0)
{
list.Add(1062412 + m_Poison.Level, m_PoisonCharges.ToString());
list.Add(1062412 + m_Poison.Level, m_PoisonCharges);
}
}

View file

@ -81,7 +81,7 @@ namespace Server.Items
if (m_Poison != null && m_PoisonCharges > 0)
{
list.Add(1062412 + m_Poison.Level, m_PoisonCharges.ToString());
list.Add(1062412 + m_Poison.Level, m_PoisonCharges);
}
}

View file

@ -97,7 +97,7 @@ namespace Server.Items
if (m_Poison != null && m_PoisonCharges > 0)
{
list.Add(1062412 + m_Poison.Level, m_PoisonCharges.ToString());
list.Add(1062412 + m_Poison.Level, m_PoisonCharges);
}
}

View file

@ -82,7 +82,7 @@ namespace Server.Items
if (m_Poison != null && m_PoisonCharges > 0)
{
list.Add(1062412 + m_Poison.Level, m_PoisonCharges.ToString());
list.Add(1062412 + m_Poison.Level, m_PoisonCharges);
}
}

View file

@ -2865,7 +2865,7 @@ namespace Server.Items
if (m_Poison != null && m_PoisonCharges > 0)
{
list.Add(1062412 + m_Poison.Level, m_PoisonCharges.ToString());
list.Add(1062412 + m_Poison.Level, m_PoisonCharges);
}
if (m_Slayer != SlayerName.None)
@ -3054,7 +3054,7 @@ namespace Server.Items
if ((prop = WeaponAttributes.MageWeapon) != 0)
{
list.Add(1060438, (30 - prop).ToString()); // mage weapon -~1_val~ skill
list.Add(1060438, 30 - prop); // mage weapon -~1_val~ skill
}
if ((prop = Attributes.BonusMana) != 0)

View file

@ -2797,7 +2797,7 @@ namespace Server.Mobiles
{
if (DisplayWeight)
{
list.Add(TotalWeight == 1 ? 1072788 : 1072789, TotalWeight.ToString()); // Weight: ~1_WEIGHT~ stones
list.Add(TotalWeight == 1 ? 1072788 : 1072789, TotalWeight); // Weight: ~1_WEIGHT~ stones
}
if (m_ControlOrder == OrderType.Guard)