add Dagger.java
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package org.project.item.weapons;
|
||||
|
||||
import org.project.weaponEffects.StatusEffect;
|
||||
|
||||
public class Dagger extends Weapon {
|
||||
|
||||
private static final String NAME = "Sword";
|
||||
private static final int LIGHT_DAMAGE = 10;
|
||||
private static final int HEAVY_DAMAGE = 5;
|
||||
private static final int DURABILITY = 4;
|
||||
|
||||
public Dagger() {
|
||||
this(null);
|
||||
}
|
||||
|
||||
public Dagger(StatusEffect weaponEffect) {
|
||||
|
||||
super(
|
||||
NAME,
|
||||
LIGHT_DAMAGE,
|
||||
HEAVY_DAMAGE,
|
||||
weaponEffect,
|
||||
DURABILITY
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user