feat: Adds Pre-UOTD single click support for weapons, armor, wands, and clothing (#2053)
This commit is contained in:
parent
863b4b5460
commit
3b698de556
7 changed files with 350 additions and 12 deletions
|
|
@ -88,6 +88,20 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public string SlayerText(out bool articleAn)
|
||||
{
|
||||
if (Name == SlayerName.None)
|
||||
{
|
||||
articleAn = false;
|
||||
return null;
|
||||
}
|
||||
|
||||
articleAn = Name is SlayerName.OrcSlaying or SlayerName.OgreTrashing or SlayerName.Exorcism or SlayerName.Ophidian
|
||||
or SlayerName.ArachnidDoom or SlayerName.ElementalBan or SlayerName.ElementalHealth or SlayerName.EarthShatter;
|
||||
|
||||
return Localization.GetText(Title)?.ToLowerInvariant();
|
||||
}
|
||||
|
||||
public bool Slays(Mobile m)
|
||||
{
|
||||
var t = m.GetType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue