Monsters & NPCs

Every creature that roams the wild and every character that inhabits the towns — from fearsome beasts to helpful shopkeepers.

1. Monster System Overview

Monsters are the primary adversaries you will face while exploring the world of Vorlia. They populate the wilderness, dungeons, and dangerous zones, providing both challenge and reward. The monster system supports up to 200 monster types defined in the game data, with up to 256 active monsters existing in the world at any given time.

Each monster in the world is an instance of a monster type template. These templates specify everything about a monster — its name, combat stats, elemental abilities, movement behavior, and loot tables. When a monster spawns, it inherits all properties from its type template.

Key Facts
  • 200 monster type templates
  • 256 maximum active monsters in the world
  • Monster type data loaded from game data files
  • Spawn points placed throughout the game world
  • Monsters use a threat-based AI system for target selection
  • Each monster can drop up to 10 different loot items on death

2. Monster Properties

Every monster type is defined by a comprehensive set of properties that govern its appearance, combat capabilities, movement, and rewards. These properties are loaded from the binary data file at startup and used by both the client and server.

Property Description
Name Display name of the monster type (up to 25 characters)
DamMin / DamMax Minimum and maximum physical damage the monster deals per attack
HPMax Maximum hit points — the total health pool the monster has when fully healed
AC Armor Class — reduces incoming physical damage from player attacks
DEX Dexterity — affects the monster's evasion and hit accuracy
CON Constitution — contributes to the monster's toughness and regeneration
Level The monster's level, indicating its general difficulty tier
Speed Movement speed — how quickly the monster moves across the map
Attack Speed Rate of attack — how frequently the monster strikes in combat
Ghost When enabled, the monster can pass through walls and solid obstacles
Fly When enabled, the monster can move over terrain obstacles that block ground units
Random Walk Range Maximum distance the monster will wander from its spawn point during idle movement
Tip
Pay attention to a monster's Ghost and Fly flags when planning your route through dangerous areas. Ghost monsters can chase you through walls, making them impossible to lose by ducking behind obstacles. Flying monsters ignore terrain that would normally block pursuit.

3. Monster AI & Behavior

Monsters in Vorlia operate on a state-based AI system that governs their behavior in both peaceful and combat situations. The server checks monster actions frequently, ensuring responsive behavior.

Idle Behavior

When a monster has no active threats, it enters an idle state and wanders randomly within its designated range. Idle monsters move once every 3 seconds, taking a random step within their walk range. This creates the natural-looking patrol behavior you see when observing monsters in the wild.

  • Idle Walk Interval 3 seconds between random movements
  • Walk Range Defined per monster type — limits how far the monster wanders from its origin
  • Action Check Rate Server evaluates monster state 20 times per second

Combat Behavior

When a monster detects a threat (typically a player attacking it or entering aggro range), it transitions to combat state. In combat, the monster actively pursues and attacks the player with the highest threat value. Monsters have regeneration mechanics that allow them to slowly recover health during and between fights.

Threat System

Each monster maintains a threat table that tracks up to 8 players simultaneously. The monster always targets the player with the highest accumulated threat. Threat is generated primarily through damage dealt to the monster.

Mechanic Details
Max Threat Entries 8 players per monster
Threat Generation Proportional to damage dealt to the monster
Target Selection Highest accumulated threat is always prioritized
Threat Decay 5 points per tick for out-of-range or invalid targets
Table Overflow When all 8 slots are full, the lowest threat entry is replaced if the new attacker's threat exceeds it
Fallback Targeting If the threat table is empty, the monster falls back to nearest-player proximity aggro
Threat Decay
Threat is not permanent. When a player moves out of range or becomes an invalid target, their threat decays by 5 points per tick. Once threat reaches zero, the entry is removed from the table entirely. This allows monsters to eventually disengage and return to their idle patrol if all attackers flee. See the Combat — Monster Threat section for additional details on threat mechanics.

4. Monster Spawning

Monsters are placed into the world through a spawn point system. Each spawn point is a fixed location on the map that generates a specific monster type. Spawn points are placed throughout the game world.

Property Description
Location (X, Y) The exact tile coordinates where the monster appears when it spawns
Monster Type Which monster type this spawn point produces
Max Distance Limits How far the spawned monster is allowed to roam from its spawn point
  • Spawn Rate Check The server checks spawn points roughly 13 times per second
  • Respawn Behavior After a monster is killed, its spawn point becomes available for a new monster to appear after a respawn delay
  • World Limit 256 active monsters at once — additional spawns are queued until slots open
Tip
Monster spawn points are fixed locations in the world. If you find a good farming spot with the monsters you need, you can return to the same area after they respawn. Learning spawn point locations is key to efficient leveling and loot farming.

5. Elemental Attacks & Defenses

Monsters can wield elemental power both offensively and defensively. Each monster type defines an elemental attack and an elemental defense, each tied to one of the five elements in Vorlia.

Elemental Attack

A monster's elemental attack deals additional damage on top of its physical damage. This elemental portion is not reduced by your Armor Class — only by your elemental protection against the matching element.

  • ElementalAttack The element type the monster channels in its attacks
  • AttackAmount The amount of elemental damage dealt per hit

Elemental Defense

A monster's elemental defense reduces incoming elemental damage of the matching type. This means certain monsters are highly resistant to specific elements while remaining vulnerable to others.

  • ElementalDefence The element type the monster is resistant to
  • DefenceAmount The amount of elemental damage reduced from incoming attacks of that type

The Five Elements

Element ID Description
Fire 1 Searing flames that inflict burning damage
Air 2 Crackling bolts of electrical shock energy
Earth 3 Tremendous crushing force of stone and earth
Water 4 Chilling cold that freezes and deals frost damage
Light 5 Radiant divine energy that deals holy damage
Warning
Always check a monster's elemental attack type before engaging. A monster with high Fire attack will devastate you if you have no fire protection, regardless of how high your Armor Class is. Equip armor with matching ElementalProtection to counter the threat. See Armor Properties for details on elemental protection gear.

6. Loot System

When a monster is killed, it has the chance to drop items based on its loot table. Each monster type defines up to 10 loot entries, and each entry is evaluated independently when the monster dies. Dropped loot appears on the ground at the monster's death location.

Loot Tables

Each of the 10 loot entries in a monster's loot table specifies the following:

Field Description
Drop Probability (%) The percentage chance that this entry drops when the monster is killed. Each entry is rolled independently.
Item Family Which item family the drop belongs to (Weapon, Armor, Collectable, Useable, or Container)
Item Type The specific type within the family (e.g., Sword, Plate, etc.)
Item ID The exact item template ID within the family and type
Amount Min / Max For stackable items (like gold or materials), the quantity range. A random amount between min and max is dropped.
How Loot Rolls Work
When a monster dies, the server iterates through all 10 loot entries in order. For each entry, a random number is rolled against the drop probability. If the roll succeeds, the item is created and dropped to the ground. Multiple entries can succeed on the same kill, meaning a single monster can drop several different items at once.

Drop History

The game maintains a drop history for each player — a 200-entry ring buffer that tracks recent drops. This system helps regulate loot distribution over time, preventing extreme streaks from skewing the experience.

7. NPC System Overview

Non-Player Characters (NPCs) are the friendly (and sometimes not-so-friendly) inhabitants of Vorlia's towns, settlements, and outposts. Unlike monsters, NPCs serve functional roles — they run shops, guard safe zones, manage auctions, deliver mail, and provide conversation and guidance to players.

The NPC system supports up to 64 NPC types defined in the game data, with up to 64 active NPCs in the world at any time. NPC type templates are loaded from game data files, and NPCs are placed throughout the game world.

Key Facts
  • 64 NPC type templates
  • 64 maximum active NPCs in the world
  • NPC type data loaded from game data files
  • NPC locations placed throughout the game world
  • NPCs can fill multiple roles: shopkeeper, guard, auctioneer, mailbox, or general dialogue
  • Combat-capable NPCs have full stat blocks (DamMin, DamMax, HPMax, AC, DEX, CON)

8. NPC Properties

Each NPC type template defines a full set of properties that determine the NPC's appearance, behavior, combat capabilities, and functional role in the game world.

Property Description
Name Display name of the NPC type (up to 25 characters)
Walking Type Movement behavior pattern: NO, RANDOM, CHECKPNT, or LIMITS (see Walking Types)
DamMin / DamMax Minimum and maximum physical damage for combat-capable NPCs (guards)
HPMax Maximum hit points for combat-capable NPCs
AC Armor Class — physical damage reduction for combat-capable NPCs
DEX Dexterity stat for combat-capable NPCs
CON Constitution stat for combat-capable NPCs
Conversation Text A short dialogue line displayed when interacting with the NPC (up to 80 characters)
Advanced Conversation ID Links to an extended dialogue tree for NPCs with multi-step conversations
NPC Flags Special role flags that assign functional behaviors such as auctioneer or mailbox access

9. NPC Roles & Behaviors

NPCs in Vorlia serve a variety of functional roles. An NPC's role is determined by a combination of its type properties and flags.

Shop NPCs

Shop NPCs are merchants that buy and sell items. When you interact with a shop NPC, a trade window opens displaying the shop's inventory. The game supports up to 20 shops, each capable of holding up to 100 items.

Property Description
Shop Name Display name of the shop (up to 25 characters), shown in the trade window header
Inventory Capacity Up to 100 items per shop
Price Modifier A markup modifier applied to buy/sell price calculations for this shop
  • Total Shops 20 shops available across the world
  • Items per Shop Up to 100 items in each shop's inventory
  • Price Calculation Based on item's base Value modified by the shop's price modifier
Tip
Different shops may have different price modifiers, meaning prices can vary between merchants. It pays to compare prices if you are buying or selling expensive items. Check the Trading & Economy page for more on commerce.

Guard NPCs

Guard NPCs protect safe zones and guarded zones in the world. They are combat-capable, with full stat blocks (DamMin, DamMax, HPMax, AC, DEX, CON), and will actively engage hostile players and monsters that enter their patrol area.

Guards enforce the peace in towns and settlements. If a player attacks another player in a guarded zone, nearby guard NPCs will intervene and attack the aggressor. This provides a layer of security for players conducting trade or socializing in populated areas.

Caution
Do not attack other players in guarded zones unless you are prepared to face the guards. Guard NPCs are typically very powerful and can quickly dispatch unwary aggressors. See PvP & Reputation for more on zone types and PvP rules.

Special NPCs

Some NPCs serve specialized functional roles identified by their NPC flags:

Auctioneer
Auctioneer NPCs provide access to the auction house system. Interact with an auctioneer to list items for sale, browse active auctions, and collect purchased items or expired listings.
Mailbox
Mailbox NPCs provide access to the mail system. Interact with a mailbox NPC to send items and messages to other players, or to collect mail that has been sent to you.
Regular Dialogue
NPCs without special flags serve as general conversation partners. They display their Conversation Text (up to 80 characters) when interacted with, and may link to an advanced conversation tree via their conversation ID.

10. NPC Walking Types

Each NPC type has a walking type that determines how it moves in the world. This affects whether the NPC stands still, patrols, or roams freely.

Walking Type Behavior
NO The NPC does not move at all. It remains stationary at its spawn point. Common for shopkeepers, auctioneers, and mailbox NPCs.
RANDOM The NPC moves randomly within its allowed area, wandering in unpredictable patterns. Used for townspeople and ambient NPCs.
CHECKPNT The NPC follows a predefined checkpoint path, walking from one waypoint to the next in sequence. Used for patrol routes.
LIMITS The NPC moves randomly but is constrained within defined boundary limits. A controlled version of random walking.

11. Tips & Strategy

Monster Hunting Advice
  • Check a monster's elemental attack type before engaging. Equip armor with matching elemental protection to reduce incoming elemental damage that bypasses your AC.
  • Use weapons with an element that your target monster is not resistant to. Hitting a Fire-resistant monster with a fire weapon wastes your elemental damage entirely.
  • Watch for Ghost and Fly flags. Ghost monsters pursue through walls — you cannot break line of sight to escape. Plan an exit route before pulling these creatures.
  • In group combat, coordinate threat. Let your toughest party member build threat first before damage dealers engage. The monster always targets the highest-threat player.
  • Learn spawn point locations for the monsters you want to farm. Spawn points are fixed, so you can return to the same spot after respawns.
  • Remember that monsters regenerate health. If you disengage mid-fight, the monster may heal back up before you return. Commit to the kill or retreat fully.
  • The world supports up to 256 active monsters at once. In heavily populated areas, spawn competition between players is real — consider exploring less-traveled regions for uncontested farming.
NPC Interaction Advice
  • Compare shop prices across different merchants. Each shop has its own price modifier markup, so the same item may cost more or less depending on the vendor.
  • Use auctioneer NPCs to buy and sell items to other players. The auction house often offers better prices than NPC shops for valuable gear.
  • Talk to all NPCs you encounter. Many have conversation text that provides hints about the world, nearby dangers, or hidden locations.
  • Stay near guard NPCs in guarded zones if you need safety. Guards will intervene if hostile players or monsters attack you in their patrol area.