Class BleedStat
java.lang.Object
studio.magemonkey.divinity.stats.items.api.ItemLoreStat<StatBonus>
studio.magemonkey.divinity.stats.items.api.DuplicableItemLoreStat<StatBonus>
studio.magemonkey.divinity.stats.items.attributes.api.SimpleStat
studio.magemonkey.divinity.stats.items.attributes.stats.BleedStat
- All Implemented Interfaces:
DynamicStat<StatBonus>,TypedStat
-
Nested Class Summary
Nested classes/interfaces inherited from class studio.magemonkey.divinity.stats.items.attributes.api.SimpleStat
SimpleStat.ItemTypeNested classes/interfaces inherited from interface studio.magemonkey.divinity.stats.items.attributes.api.TypedStat
TypedStat.Type -
Field Summary
Fields inherited from class studio.magemonkey.divinity.stats.items.attributes.api.SimpleStat
statTypeFields inherited from class studio.magemonkey.divinity.stats.items.api.ItemLoreStat
dataType, format, keys, metaId, name, placeholder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbleed(org.bukkit.entity.LivingEntity target, double damage) booleandoubleMethods inherited from class studio.magemonkey.divinity.stats.items.attributes.api.SimpleStat
canBeNegative, formatValue, get, getCapability, getDefaultAttackSpeed, getDefaultAttackSpeed, getDependStat, getFormat, getItemType, getParameterClass, getTotal, getTotal, getType, isMainItem, isPercent, setCapability, updateItemMethods inherited from class studio.magemonkey.divinity.stats.items.api.DuplicableItemLoreStat
add, add, getAllRaw, getAmount, getAmount, getKey, getKeys, getLoreIndex, getRaw, getRaw, preparePlaceholder, removeMethods inherited from class studio.magemonkey.divinity.stats.items.api.ItemLoreStat
getFormat, getFormat, getId, getKey, getKeys, getLoreIndex, getMetaId, getMetaId, getName, getPlaceholder, getRaw, hasPlaceholder, isApplied, isSingle, preparePlaceholder, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface studio.magemonkey.divinity.stats.items.attributes.api.TypedStat
fineValue, getId, getPlaceholder, hasPlaceholder, isApplied
-
Constructor Details
-
BleedStat
-
-
Method Details
-
getDamageFormula
-
damageOfMaxHealth
public boolean damageOfMaxHealth() -
getDuration
public double getDuration() -
bleed
public void bleed(@NotNull org.bukkit.entity.LivingEntity target, double damage)
-