Initial Commit

This commit is contained in:
Paul Reilly
2023-06-29 01:51:07 -05:00
commit f7089a110c
36 changed files with 1423 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package app.simplexdev.arcanumocculta.base.player;
import app.simplexdev.arcanumocculta.api.player.SpellResistance;
public class SimpleSpellResistance implements SpellResistance {
private final String name;
private final double resistance;
private final int ordinal;
public SimpleSpellResistance(String spellName, double resistance, int ordinal) {
this.name = spellName;
this.resistance = resistance;
this.ordinal = ordinal;
}
@Override
public String getSpellName() {
return name;
}
@Override
public double getResistance() {
return resistance;
}
@Override
public int getOrdinal() {
return ordinal;
}
}