35363738394041424344
} public AttackAction attack() { AttackAction attackAction = new AttackAction(); attackAction.setDamage(this.getDamage()); attackAction.setDamageType(this.getDamageType()); return attackAction; }
181920212223242526272829
protected DamageType damageType; @Override public AttackAction attack() { AttackAction attackAction = new AttackAction(); attackAction.setDamage(this.calculateDamage()); attackAction.setDamageType(this.getDamageType()); return attackAction; }