Class PlayerStatModifier
java.lang.Object
studio.magemonkey.fabled.api.player.PlayerStatModifier
Represents player-specific data for stats, a replacement of bonus stats
-
Constructor Details
-
PlayerStatModifier
Initializes a new PlayerStatModifier. Used for modifying player stat for a period of time- Parameters:
name
- The group name of this modifieramount
- The amount of value used for operation lateroperation
- The Operation typepersistent
- If this is set to true, this modifier will not be removed when player change class or change world.
-
-
Method Details
-
applyOn
public double applyOn(double value) -
getUUID
-
getName
-
getAmount
public double getAmount() -
getOperation
-
isPersistent
public boolean isPersistent()
-