All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.aurelium.auraskills.api.skill.Multiplier Maven / Gradle / Ivy

There is a newer version: 2.2.6
Show newest version
package dev.aurelium.auraskills.api.skill;

public class Multiplier {

    private final String name;
    private final Skill skill;
    private final double value;

    public Multiplier(String name, Skill skill, double value) {
        this.name = name;
        this.skill = skill;
        this.value = value;
    }

    public String name() {
        return name;
    }

    public Skill skill() {
        return skill;
    }

    public double value() {
        return value;
    }

    public boolean isGlobal() {
        return skill == null;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy