@Override public boolean isEffectiveness(Fighter fighter) { if (fighter instanceof Human) { Human human = (Human) fighter; Weapon humanWeapon = human.getEquiped(); if (humanWeapon != null && humanWeapon instanceof LightBook) { return true; } } return false; }
@Override public boolean canEquip(Human human) { return human.getWeaponClass(WINDBOOK) >= weaponClass; }