Hitpoints: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Hitpoints]] is a [[combat]]-related [[Skills|skill]] that determines how much damage (health) a player or [[Non-player character|NPC]] can endure before dying. [[Food]] can be consumed to restore lost Hitpoints, and they also regenerate passively over time, both in and out of combat, allowing for gradual healing without food.
[[Hitpoints]] is a [[combat]]-related [[Skills|skill]] that determines how much damage a player or [[Non-player Character|NPC]] can withstand before dying. [[Food]] can be consumed to restore lost Hitpoints, and they also regenerate passively over time—healing 1 point every {{Ticks|100}}—both during and outside of combat. This allows for slow, natural recovery without the use of food.


[[Experience]] in Hitpoints is gained indirectly—damage dealt through [[Strength|melee]], [[Range]], or [[Magic]] attacks is multiplied by a constant and added to the Hitpoints skill as experience.
== Experience Calculation ==
Experience gained in [[Hitpoints]] is calculated using the formula: <code style="background: var(--bg-contrast) !important; border: 1px solid var(--border-color-base) !important;">floor(4/3 × 4 × damage)</code>
 
Because of the floor rounding, you may lose small amounts of experience if your damage dealt isn't divisible by 3. For example:
* A hit of 3 or 6 will yield full XP.
* A hit of 2 or 5 will result in a decimal value (e.g., 10.66), which is rounded down to 10.
 
This rounding loss becomes less significant as your hits get larger. 
(Losing 0.33 XP from a 2-damage hit is more impactful than losing 0.33 XP from a 20-damage hit.)
 
[[Category:Skills]][[Category:Combat Skills]]

Latest revision as of 08:12, 20 June 2025

Hitpoints is a combat-related skill that determines how much damage a player or NPC can withstand before dying. Food can be consumed to restore lost Hitpoints, and they also regenerate passively over time—healing 1 point every 100 Ticks (60s)—both during and outside of combat. This allows for slow, natural recovery without the use of food.

Experience Calculation[edit]

Experience gained in Hitpoints is calculated using the formula: floor(4/3 × 4 × damage)

Because of the floor rounding, you may lose small amounts of experience if your damage dealt isn't divisible by 3. For example:

  • A hit of 3 or 6 will yield full XP.
  • A hit of 2 or 5 will result in a decimal value (e.g., 10.66), which is rounded down to 10.

This rounding loss becomes less significant as your hits get larger. (Losing 0.33 XP from a 2-damage hit is more impactful than losing 0.33 XP from a 20-damage hit.)