Skip to content

Combat & Stats

Combat is a turn-based system where stats determine damage output, defense, and turn order. This page covers all character stats, how combat works, and the fight action.

Your character’s stats depend on the equipment you have equipped. For more information about equipment, see Equipment.

StatDescription
Hit Points (HP)Your character’s health pool.
Elemental AttacksBase attack values for fire, water, earth, and air.
Elemental DamagesPercentage bonus to elemental attack damage.
Elemental ResistancesPercentage reduction of incoming elemental damage.
Critical StrikeChance to deal 1.5× damage (1 point = 1% chance).
InitiativeDetermines turn order — higher acts first.
ThreatDetermines monster targeting priority in multi-character fights.
HasteReduces fight cooldown duration (1 point = 1% reduction).
WisdomIncreases XP earned (1 point = 0.1% more XP).
ProspectingIncreases drop chance (1 point = 0.1% more drops).

Damage is calculated per element using rounding. The formula is:

Output = Round(Attack × Round(Damage × 0.01))

Example: 100 base attack + 30% damage = Round(100 × Round(30 × 0.01)) = 130 total damage.

  • 1 damage = 1% extra base damage
  • .5 always rounds up, below .5 rounds down
  • Multi-element weapons calculate each element independently (separate attack instances in fight logs)

Resistance uses the same logic:

Blocked = Round(Attack × Round(Resistance × 0.01))

Example: Player attacks with 100, monster has 30 resistance → blocks 30 damage.

Critical strike gives you a chance to deal 1.5× total attack damage.

  • 1 critical strike = 1% chance
  • Example: 10 critical strike → 10% chance. A hit of 100 becomes 150 on critical.

Initiative determines the turn order in combat. The character or monster with the highest initiative acts first, followed by others in descending order.

  • Tied initiative: the one with higher HP acts first.
  • Tied HP: random order.

In a multi-character fight, the monster targets the character with the highest threat 90% of the time. 10% of the time, it targets the character with the lowest HP. Ties are broken by lowest HP, then random.

Haste reduces the cooldown of a fight. See the cooldown formula in Combat Mechanics below.

  • Wisdom increases XP earned: base rate is 100%, with 100 wisdom → 110% XP rate.
  • Prospecting increases drop chance: base rate is 100%, with 100 prospecting → 110% drop rate.

Both apply to fights, gathering, and wisdom also applies to crafting.

You can view a character, including their stats, using this request:

Endpoint: GET /characters/{name}

curl --request GET \
--url 'https://api.artifactsmmo.com/characters/YOUR_CHARACTER_NAME' \
--header 'Accept: application/json'

Combat is turn-based. Turn order is determined by initiative.

  • Fights can last a maximum of 100 turns — if not over by then, you lose.
  • If you lose, your character returns to spawn (0,0) with 1 HP.
  • Your inventory must have at least 1 free slot before starting a fight (otherwise error 497).
Cooldown = Turns × 2 - (Haste × 0.01) × (Turns × 2)

Example: 20 turns + 10 haste → 20 × 2 - (0.1 × 40) = 36 seconds (instead of 40). Minimum cooldown is 5 seconds.

Combat XP is calculated with monster level and monster HP:

XP = Round(((monster_level / player_level) × 20 + monster_hp × 0.04) × level_penalty × monster_multiplier × wisdom_bonus)

Level Penalty (level_penalty):

  • Same level or lower than monster → 1.0 (100% XP)
  • 5+ levels above monster → 0.7 (70% XP)
  • 10+ levels above monster → 0 (0 XP)

Monster Type Multiplier (monster_multiplier):

TypeMultiplier
Normal1.0
Elite1.4
Boss2.0

Wisdom Bonus (wisdom_bonus):

  • Formula: (1 + wisdom × 0.001)
  • Each wisdom point = +0.1% XP

Each level up grants:

  • +5 Max HP (max_hp)
  • +2 inventory spaces (inventory_max_items)

There are several types of monsters that can either fight alone or in groups.

TypeDescriptionXP Rate
normalStandard monsters found throughout the world.×1
eliteStronger monsters with better stats and drops.×1.4
bossPowerful monsters that can be fought with up to 3 characters.×2

Some monsters have special abilities called effects that activate during combat in addition to their normal attacks. You can view a monster’s effects in the effects array of its API response.

Here are some examples of monsters with effects:

Loading monsters...
KeywordEffect
BurnOn first turn, applies a burn effect of X% of total attack (all elements). Damage applied each turn, decreasing by 10% per turn.
LifestealRestores X% of total attack (all elements) in HP after a critical strike.
HealingEvery 3 played turns, restores X% of HP at the start of the turn.
ReconstitutionAt the beginning of turn X, restores all HP.
PoisonAt the start of its first turn, applies X poison to its opponent. Target loses X HP per turn.
CorruptedAfter every time the bearer is attacked, their resistance to the attack’s element is reduced by X% (can go negative).
FrenzyOn critical hit, grants X% damage to self and allies until end of next turn.
Berserker RageBelow 25% HP, gains X% damage permanently. Activates once per combat.
Void DrainEvery 4 turns, drains X% HP from each enemy to heal self.
BarrierAt fight start and every 5 played turns, gains a protective barrier of X HP. All attacks go to the barrier until destroyed.
Protective BubbleGrants X% resistance to a random element. Element changes each turn (cannot repeat).

To retrieve a paginated list of all monsters, use the following endpoint:

Endpoint: GET /monsters

curl --request GET \
--url 'https://api.artifactsmmo.com/monsters?page=1&size=50' \
--header 'Accept: application/json'

To retrieve specific monster details using its unique code, use the following endpoint:

Endpoint: GET /monsters/{code}

curl --request GET \
--url 'https://api.artifactsmmo.com/monsters/red_slime' \
--header 'Accept: application/json'

To start a fight, your character must be on a map with a monster. For more information about maps, see Maps and Movement.

Endpoint: POST /my/{name}/action/fight

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/fight \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json'

You can fight with up to 2 other of your own characters against boss-type monsters (up to 3 characters total). All participating characters must be on the boss’s map. Each character receives XP, gold, and drops independently.

Endpoint: POST /my/{name}/action/fight

curl --request POST \
--url https://api.artifactsmmo.com/my/{name}/action/fight \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"participants": ["Character2", "Character3"]
}'
FieldDescription
participantsOptional list of additional character names (max 2). All must be on the same map. Boss fights only.

Here’s the table showing the experience required to level up. This table applies to all skills and combat.

LevelXP required to level up
1150
2250
3350
4450
5700
6950
71,200
81,450
91,700
102,100
112,500
122,900
133,300
143,700
154,400
165,100
175,800
186,500
197,200
208,200
219,200
2210,200
2311,200
2412,200
2513,400
2614,600
2715,800
2817,000
2918,200
3019,700
3121,200
3222,700
3324,200
3425,700
3527,500
3629,300
3731,100
3832,900
3934,700
4036,500
4138,600
4240,700
4342,800
4444,900
4547,000
4648,800
4750,600
4852,400
4954,200
50— (max level)