Checklists

Magic Systems checklist for MUDs

This checklist provides a technical and design framework for auditing MUD magic systems prior to live deployment, focusing on resource stability, combat scaling, and code integrity.

Magic Systems checklist for MUDs hero illustration
Progress0 / 25 complete (0%)

Resource Management and Economy

0/5
  • Verify Mana Cost Progression

    critical

    Ensure spell mana costs scale proportionately to maximum mana pools at level intervals 10, 30, and 50 to prevent infinite casting at high levels.

  • Test Reagent Consumption Logic

    critical

    Confirm spells fail and consume no mana if required inventory items are missing; verify reagents are consumed only upon successful cast completion.

  • Audit Cooldown Overlaps

    critical

    Ensure global cooldowns (GCD) effectively prevent macro-spamming of high-impact spells in both PvE and PvP contexts.

  • Validate Mana Regeneration States

    recommended

    Check that regeneration rates correctly shift between standing, resting, sleeping, and combat states as defined in the recovery formulas.

  • Resource Starvation Edge Cases

    recommended

    Test behavior when a spell's cost exceeds current mana during the casting lag or warm-up period.

Combat Mechanics and Scaling

0/5
  • Run Damage Variance Tests

    recommended

    Execute 100 iterations of primary damage spells to confirm output falls within the defined +/- 10% variance range.

  • Validate Saving Throw Math

    critical

    Confirm that a target with 50% magic resistance reduces damage or effect duration by the exact intended percentage.

  • Check Level-Based Scaling Caps

    critical

    Verify that spells using 'level * d6' or similar formulas have a hard cap to prevent one-shotting mobs in lower-tier zones.

  • Gear-to-Spell Power Interaction

    recommended

    Test that 'plus spell damage' or 'intelligence' equipment bonuses apply correctly to the base spell damage formula.

  • Critical Hit and Fumble Logic

    optional

    Verify that spell criticals do not bypass absolute damage caps and that fumbles do not crash the combat loop.

Crowd Control and Status Effects

0/5
  • Define Stacking Priority

    critical

    Ensure identical buffs from different sources (e.g., a potion and a spell) do not stack unless explicitly flagged for additive behavior.

  • Test Dispel Priority Logic

    critical

    Verify that 'Dispel Magic' or 'Cancelation' removes effects based on a comparison of caster level versus the original effect's level.

  • Verify Crowd Control Caps

    recommended

    Ensure no single stun, sleep, or paralyze effect exceeds a 3-round duration in PvP combat to prevent infinite lockdown.

  • Check Resistance Penetration

    recommended

    Confirm that 'lower resistance' debuffs correctly modify the target's saving throw variables in the combat struct.

  • Status Effect Icon/Flag Display

    recommended

    Verify that active status effects are visible in the 'affected' or 'score' command output with remaining durations.

Technical Implementation and Stability

0/5
  • Audit Spell Table Pointers

    critical

    Check the spell_type table for null entries in the spell_fun field to prevent segmentation faults during lookup.

  • Verify Target Type Handling

    critical

    Test spells against self, NPCs, players, and room objects to ensure invalid targets trigger a clean error message rather than a crash.

  • Monitor Memory on DOTs

    recommended

    Track memory allocation when 100+ 'Damage over Time' or periodic effects are active simultaneously to ensure proper cleanup on expiration.

  • Validate Area-of-Effect (AOE) Safety

    critical

    Confirm that AOE spells respect 'no-pvp' room flags and do not initiate combat with protected NPCs.

  • Scripting Engine Load Test

    optional

    Measure latency when multiple complex scripted spells (e.g., Lua or Python hooks) are triggered in the same combat tick.

User Feedback and Visibility

0/5
  • Standardize Combat Messages

    recommended

    Ensure all spell output follows a consistent {Caster} {Verb} {Target} format for parsing by player scripts and triggers.

  • Implement Wear-Off Triggers

    critical

    Verify that players receive a distinct, unique message when a buff or debuff expires (e.g., 'The shield surrounding you fades.').

  • Validate Error Feedback

    recommended

    Ensure 'Out of Mana', 'Target Not Found', and 'Spell Interrupted' messages are distinct and provide actionable information.

  • Check Spell Echo Visibility

    recommended

    Verify that third-party observers in the same room see appropriate messages for spells cast by others.

  • Diagnostic Output for Builders

    optional

    Ensure a 'wiznet' or log message is generated when a spell fails due to a configuration error in the area files.