Spells & Combatsource backed15 minute read

Spell and Rune Combat System

How instant spells and runes declare words, level, magic level, mana, soul, cooldowns, aggression, targeting, range, damage formulas, charges, and protection-zone behavior.

Reference profileTFS 1.6 spell registry and execution model
Reviewed
Evidence4 primary references

At a glance

Quick facts

Spell families
Instant and rune spells
Requirement layers
Level, magic level, mana or mana percent, soul, vocation, premium, learned state
Cooldown layers
Individual spell and shared group cooldowns
Execution layers
Words or item use, target resolution, eligibility, cost, combat object, effects, cooldown

The spell registry is a contract

The TFS spell registry connects a player-facing spell or rune to its script and requirements. A complete entry can define name, incantation, level, magic level, mana cost or percentage, soul cost, premium requirement, vocation access, aggression, target behavior, range, blocking rules, cooldown, shared group, charges, and whether the character must learn it. The script then defines area, damage type, formula, conditions, and visual effects.

Core spell fields
FieldPurposeCommon OT override
Words / rune IDSelects the actionCustom incantation, hotkey, client opcode, or item mapping
Level / magic levelProgression gateRebirth, vocation rank, quest, prestige, or no gate
Mana / mana percentCasting resourceHealth, rage, energy, charges, cooldown-only systems
SoulSecondary resource costDisabled, accelerated regeneration, custom resource
Cooldown / groupIndividual and shared timingGlobal exhaustion, attack exhaustion, vocation-specific groups
AggressiveEnables combat and zone restrictionsSafe-zone exceptions or custom arena policy
Target / range / block wallsResolves valid destinationExtended screen, floor targeting, smart targeting
ScriptFormula, area, condition, visualsMost custom-server identity lives here

Requirement evaluation

  1. 01

    Identify the action

    Match spell words, rune item, target mode, and client action.

  2. 02

    Validate character gates

    Check vocation, level, magic level, premium, learned state, weapon, and custom storage requirements.

  3. 03

    Validate world state

    Check protection zone, aggression, floor, line of sight, range, secure mode, target type, and combat lock.

  4. 04

    Validate resources

    Confirm mana, soul, health, charges, ammunition, or custom resource.

  5. 05

    Validate exhaustion

    Check both the spell cooldown and every shared cooldown group.

  6. 06

    Execute and charge

    Run the script, apply damage or effect, consume resources and charges, and add cooldowns according to the implementation.

Damage and healing formulas belong to the script profile

A registry mana cost does not reveal output. Combat scripts can use level and magic level coefficients, weapon skill, maximum mana, current health, target health, fixed min/max values, or arbitrary Lua. They also choose damage type, area, whether armor or shields block, whether resistance is ignored, whether conditions apply, and whether the caster or top creature is targeted.

Common configurable shape
Value = random(Min(Level, MagicLevel, Skill), Max(Level, MagicLevel, Skill))
  • This is a structural pattern, not one universal Tibia formula.
  • The exact coefficients and rounding must be read from the deployed script.
  • Area, target, rune charge, and cooldown behavior can matter more than nominal maximum damage.

Cooldowns form a graph, not one timer

A cast can start an individual cooldown and one or more shared groups such as attack, healing, support, or special. Another spell may be ready individually but remain blocked by a shared group. Weapon attack speed, item-use exhaustion, movement delays, client prediction, and network latency create additional timing constraints outside the spell entry.

Cooldown audit
TimerQuestion
Individual spellWhen can the same spell be cast again?
Primary groupWhich other spells are blocked?
Secondary groupDoes the cast also block support, healing, or special actions?
Item useCan a potion, rune, or tool be used during the spell delay?
Attack cycleDoes casting reset, pause, or coexist with weapon attacks?
Client displayDoes the visible icon match server authority under latency?

Minimum complete spell entry

Required documentation fields
GroupFields
IdentityName, words or rune item, family, vocation, profile version
RequirementsLevel, magic level, mana, mana percent, soul, premium, learned, quest, weapon
TimingIndividual cooldown, every group cooldown, attack and item-use interaction
TargetingSelf, target, direction, area, range, floor, wall blocking, secure-mode behavior
OutputDamage or healing type, exact min/max formula, condition, duration, ticks, critical eligibility
CostsRune charges, ammunition, health, custom resource, reagents
PvPDamage scaling, protection-zone rule, skull behavior, party/guild exceptions
SourcesRegistry line, script file, engine profile, live test date

Apply the guide

Find servers using this profile

Server names, protocol labels, and map labels do not guarantee matching mechanics. Use these filters to find candidates, then verify the listing, owner documentation, and deployed ruleset.

custom spells8.6real mapcustom vocationsrunes