====== Combat ====== ---- **Combat** is how the player deals damage to [[:enemies]]. There are two classes of [[:weapons]]: melee and ranged. ===== Notes ===== ---- * LMB to melee. * RMB for a ranged attack. * Shift+LMB to mine a tile. * Attacks can move the player depending on weapon type. * Melee weapons generally thrust the player forwards towards the enemy as they excel in close range situations. * Ranged weapons cause the player to leap backwards away from danger as they excel in long range situations. * Accessibility option to allow shift to be released after mining has started. ===== Enemy Notes ===== ---- * Enemies will have zone indicators on the ground showing where the hit-boxes of their attacks lie. * Enemies can move and then halt while attacking, charge forwards while attacking, pace back and strafe while shooting, switch fighting styles based on distance, etc. * Enemies that fight in groups, such as wolves in packs, will have the oldest enemy in the group tagged as an 'alpha', having pack behavior scripts running off of them. * When an alpha is killed, alpha status instantly transfers to the next-oldest enemy. * When two alphas meet, the pack with the youngest alpha is absorbed into the oldest alpha's pack.