7 namespace Loot.Modifiers.EquipModifiers.Defensive
21 player.lifeRegen += LifeRegen / 30;
31 return base.GetTooltip()
32 .WithPositive($
"+{Properties.RoundedPower} life regen/minute");
37 return base.GetModifierProperties(item)
38 .WithMaxMagnitude(15f)
39 .WithRollChance(0.5f);
ModifierEffect GetEffect(Type type)
The ModifierPropertiesBuilder implements the builder pattern for ModifierProperties It provides a str...
This attribute may be used to skip usage of AttachDelegations and DetachDelegations Which is a cumber...
A ModifierEffect signifies the effect of a modifier on a player It should house the implementation...
Defines a modifier that can roll on an equip item (armor or accessory) These modifiers will have 60% ...
static ModifierDelegatorPlayer GetPlayer(Player player)
override void ResetEffects()
Automatically called when the ModPlayer does its ResetEffects Also automatically called when the dele...
override ModifierProperties.ModifierPropertiesBuilder GetModifierProperties(Item item)
Defines the properties of a modifier
override ModifierTooltipLine.ModifierTooltipBuilder GetTooltip()
override void UpdateEquip(Item item, Player player)
Holds player-entity data and handles it