Update Warrior.java

changed attack method slightly