Inital Commit
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Engines.XmlSpawner2;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
@@ -69,6 +71,16 @@ namespace Server.Items
|
||||
public override void AddNameProperties(ObjectPropertyList list)
|
||||
{
|
||||
base.AddNameProperties(list);
|
||||
// ===============================================
|
||||
// DURABILITY TOOLTIP: TEMPERED / REPAIR LOCKED
|
||||
// ===============================================
|
||||
var dura = XmlAttach.FindAttachment(this, typeof(Server.Custom.DurabilityAttachment))
|
||||
as Server.Custom.DurabilityAttachment;
|
||||
|
||||
if (dura != null && dura.RepairLocked)
|
||||
{
|
||||
list.Add("Tempered — Cannot be repaired");
|
||||
}
|
||||
|
||||
if (Core.EJ && LastParryChance > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user