Class MegaClilocBuilder
Helper class for building Mega Cliloc tooltips
public static class MegaClilocBuilder
- Inheritance
-
MegaClilocBuilder
- Inherited Members
Methods
AddBlessed(ObjectPropertyList)
public static void AddBlessed(ObjectPropertyList list)
Parameters
listObjectPropertyList
AddCursed(ObjectPropertyList)
public static void AddCursed(ObjectPropertyList list)
Parameters
listObjectPropertyList
AddDurability(ObjectPropertyList, int, int)
public static void AddDurability(ObjectPropertyList list, int current, int max)
Parameters
listObjectPropertyListcurrentintmaxint
AddInsured(ObjectPropertyList)
public static void AddInsured(ObjectPropertyList list)
Parameters
listObjectPropertyList
AddSkillBonus(ObjectPropertyList, string, int)
public static void AddSkillBonus(ObjectPropertyList list, string skillName, int bonus)
Parameters
listObjectPropertyListskillNamestringbonusint
AddSlayer(ObjectPropertyList, string)
public static void AddSlayer(ObjectPropertyList list, string slayerType)
Parameters
listObjectPropertyListslayerTypestring
AddSpellChanneling(ObjectPropertyList)
public static void AddSpellChanneling(ObjectPropertyList list)
Parameters
listObjectPropertyList
AddUsesRemaining(ObjectPropertyList, int)
public static void AddUsesRemaining(ObjectPropertyList list, int uses)
Parameters
listObjectPropertyListusesint
CreateArmorTooltip(Serial, string, int, int, int, int, int, int, int)
Creates a tooltip for armor
public static ObjectPropertyList CreateArmorTooltip(Serial serial, string name, int armorRating, int physicalResist = 0, int fireResist = 0, int coldResist = 0, int poisonResist = 0, int energyResist = 0, int weight = 0)
Parameters
serialSerialnamestringarmorRatingintphysicalResistintfireResistintcoldResistintpoisonResistintenergyResistintweightint
Returns
CreateContainerTooltip(Serial, string, int, int, int)
Creates a tooltip for a container showing contents
public static ObjectPropertyList CreateContainerTooltip(Serial serial, string name, int itemCount, int totalWeight, int maxItems = -1)
Parameters
Returns
CreateItemTooltip(Serial, string, int, int, int, int)
Creates a basic tooltip for an item
public static ObjectPropertyList CreateItemTooltip(Serial serial, string name, int itemId, int amount = 1, int weight = 0, int hue = 0)
Parameters
Returns
CreateMobileTooltip(Serial, string, int, int, int, int, int, int, bool, string?, bool)
Creates a tooltip for a mobile (creature/player)
public static ObjectPropertyList CreateMobileTooltip(Serial serial, string name, int hits, int hitsMax, int mana, int manaMax, int stamina, int staminaMax, bool isPlayer = false, string? guild = null, bool isMurderer = false)
Parameters
serialSerialnamestringhitsinthitsMaxintmanaintmanaMaxintstaminaintstaminaMaxintisPlayerboolguildstringisMurdererbool
Returns
CreateWeaponTooltip(Serial, string, int, int, int, int, int, int)
Creates a tooltip for a weapon
public static ObjectPropertyList CreateWeaponTooltip(Serial serial, string name, int damageMin, int damageMax, int speed, int weight = 0, int hitChanceIncrease = 0, int damageIncrease = 0)
Parameters
serialSerialnamestringdamageMinintdamageMaxintspeedintweightinthitChanceIncreaseintdamageIncreaseint