Class Buff
java.lang.Object
studio.magemonkey.fabled.api.util.Buff
Represents a buff given to an entity
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Buff
Deprecated.Constructs a new buff- Parameters:
value
- value of the buffmultiplier
- whether the value is a multiplier or a flat bonus
-
Buff
Constructs a new buff- Parameters:
key
- unique identifier for the buff to prevent overlapvalue
- value of the buffmultiplier
- whether the value is a multiplier or a flat bonus
-
-
Method Details
-
getKey
-
getValue
public double getValue() -
isPercent
public boolean isPercent()
-