Log damage done to stdout
This commit is contained in:
parent
beeea8f92a
commit
d4dbb83497
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ public class AttackAction implements UnitAction {
|
|||
|
||||
@Override
|
||||
public boolean execute() {
|
||||
System.out.println("Attacking for 5 damage!");
|
||||
against.health -= 5;
|
||||
return true;
|
||||
}
|
||||
|
|
Reference in a new issue