public class EquipHelper
extends java.lang.Object
Constructor and Description |
---|
EquipHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
ItemAcquiredStatHelper(OID oid,
AgisItem item,
boolean acquired,
CombatInfo obj)
Updates the stats and other properties of the character who has just acquired or lost
an item.
|
static void |
updateDisplay(OID mobOid,
java.lang.String displayVal,
AgisEquipSlot slot)
Sets the displayID on the player for the specified slot.
|
static void |
UpdateEquiperStats(OID oid,
AgisItem itemToEquip,
AgisItem itemToUnequip,
CombatInfo obj)
Updates the stats and other properties of the character equipping or unequipping an item.
|
public static void ItemAcquiredStatHelper(OID oid, AgisItem item, boolean acquired, CombatInfo obj)
oid
- item:
- The item acquired or lostacquired:
- True means the player now has the item, false means they lost it.obj
- public static void UpdateEquiperStats(OID oid, AgisItem itemToEquip, AgisItem itemToUnequip, CombatInfo obj)
oid:
- the identifier of the equipersitem:
- the item being equippedequipping:
- whether the item is being equipped or unequippedobj:
- the equipers combat objectpublic static void updateDisplay(OID mobOid, java.lang.String displayVal, AgisEquipSlot slot)
mobOid
- displayVal
- slot
-