User Tools

Site Tools


user:partmedia:combatlevel:start

This is an old revision of the document!


Combat Level

This is a description of a proposed statistic that is calculated for monsters (and potentially players). It could eventually be used to compute a monster's actual level and experience reward.

Goal: Two monsters (or a player and monster) with the same combat level should have an equal chance of winning (killing the other) in combat.

Since this is hard, let's start with just standard melee combat.

Melee Combat Level

Two monsters A and B are fighting each other in melee combat. They have an equal chance of winning if the mean time taken for B to kill A (ta) is the same as the mean time taken for A to kill B (tb).

To calculate ta:

  • B's base damage per tick: damage_b × speed_b
  • B's chance to hit: p_ba = 1 – 0.05(WC_b – AC_a) (clamped between 0.05-1)
  • A's health regeneration per tick: r_a = CON_a / 4
  • Net damage taken by A: nd_a = p_ba × damage_b × speed_b - r_a
  • Ticks to die: ta = HP_a / nd_a

Expand: ta = HP_a / \((1 – 0.05(WC_b – AC_a)\) × damage_b × speed_b - CON_a / 4)

Flip all the a's to b's and b's to a's to get the vice versa.

user/partmedia/combatlevel/start.1680163968.txt.gz · Last modified: 2023/03/30 03:12 by partmedia