package org.project.item.weapons;

import org.project.entity.Entity;

public class Dagger extends Weapon{
    private static int DEFAULT_DAMAGE = 15;
    private static int DEFAULT_MANACOST = 15;
    private static int DEFAULT_SPECIAL_MANA = 30;


    public Dagger() {
        super(DEFAULT_DAMAGE, DEFAULT_MANACOST, DEFAULT_SPECIAL_MANA);
    }

    @Override
    public void useSpecialAbility(Entity attacker, Entity target) {
        target.takeDamage(50);
        attacker.reduceMana(this.getSpecialMana());
    }
    @Override
    public String getType() {
        return "Dagger(Assassins)";
    }
    @Override
    public String getExplanation() {
        return "Melee piercing for Assassins.\n"+
                "Damage: "+ this.getDamage() +" Mana cost: " + this.getManaCost();
    }
}
