7 public static void ModifyWeaponDamage(Player player, Item item, ref
float add, ref
float mult, ref
float flat) {
18 public static void ModifyManaCost(Player player, Item item, ref
float reduce, ref
float mult) {
23 public static void OnConsumeMana(Player player, Item item,
int manaConsumed) {
28 public static void OnMissingMana(Player player, Item item,
int neededMana) {
static void OnMissingMana(Player player, Item item, int neededMana)
static void OnConsumeMana(Player player, Item item, int manaConsumed)
static void ModifyWeaponDamage(Player player, Item item, ref float add, ref float mult, ref float flat)
static void ModifyManaCost(Player player, Item item, ref float reduce, ref float mult)
static void GetWeaponDamage(Player player, Item item, ref int damage)
This serves as the central class from which item-related functions are carried out....
static void ModifyManaCost(Item item, Player player, ref float reduce, ref float mult)
Calls ModItem.ModifyManaCost, then all GlobalItem.ModifyManaCost hooks.
static void OnConsumeMana(Item item, Player player, int manaConsumed)
Calls ModItem.OnConsumeMana, then all GlobalItem.OnConsumeMana hooks.
static void GetWeaponDamage(Item item, Player player, ref int damage)
Calls ModItem.GetWeaponDamage, then all GlobalItem.GetWeaponDamage hooks.
static void ModifyWeaponDamage(Item item, Player player, ref float add, ref float mult, ref float flat)
Calls ModItem.HookModifyWeaponDamage, then all GlobalItem.HookModifyWeaponDamage hooks.
static void OnMissingMana(Item item, Player player, int neededMana)
Calls ModItem.OnMissingMana, then all GlobalItem.OnMissingMana hooks.
This is where all ModPlayer hooks are gathered and called.
static void OnConsumeMana(Player player, Item item, int manaConsumed)
static void ModifyManaCost(Player player, Item item, ref float reduce, ref float mult)
static void ModifyWeaponDamage(Player player, Item item, ref float add, ref float mult, ref float flat)
Calls ModItem.HookModifyWeaponDamage, then all GlobalItem.HookModifyWeaponDamage hooks.
static void OnMissingMana(Player player, Item item, int manaNeeded)
static void GetWeaponDamage(Player player, Item item, ref int damage)