Different Attack Types

Once colliding with an enemy, the player will enter a battle of life or death!

When interacting with an enemy, this battle screen is shown.

The player has two different attacks available to them. One might be more or less effective depending on which enemy the player is facing.

// ...
case "enemyCheeto":
    // resistant to piercing damage
    player.OnAttack(-3);
    break;
    
// ...
case "enemyCheeto":
    // weak to bludgeoning damage
    player.OnAttack(-7);
    break;

The player character becomes exhausted if using the bludgeoning attack, so he will skip a turn of combat to rest. This allows the enemy to hit him an additional time before being ready again! The player must consider whether it would be fatal to get hit an additional time to do more damage.

Last updated