Secondary shoots
if (weaponry.getSecondaryWeaponAmmo(weaponry.getCurrentWeapon().getType()) > 0)
{
body.getShooting().shootSecondary(Enemy);
body.getShooting().shootSecondary(Enemy.getLocation());
System.out.println("Secundary shoot");
} else {
body.getShooting().shootPrimary(angerEnemy.getLocation());
System.out.println("Primary shoot");
}
It prints, "secondary shoot" but the bot doesn´t shoot the grenade (secondary ammo of the assault rifle)
How i can make the bot shoots secondary ammo?¿?¿
Thanks!
best regards!