User Tools

Site Tools


mr:dash_spell

mr:dash_spell

Machine-readable reference page for Dash spell in Remixed Dungeon.

Lua Implementation

Script File:

  • File: Dash.lua
  • Path: scripts/spells/Dash.lua
  • Entity Kind: DashSpell
  • Magic Affinity: Combat

Spell Properties

Basic Stats:

  • Magic Affinity: Combat
  • Targeting Type: cell
  • Level: 3
  • Mana Cost: 10
  • Cooldown: 30 turns
  • Cast Time: 0.5 turns

Lua Definition: ```lua desc = function()

  return {
      name = "DashSpell",
      magicAffinity = "Combat",
      targetingType = "cell",
      level = 3,
      spellCost = 10,
      cooldown = 30,
      castTime = 0.5,
      -- ...
  }

end ```

Effects

Primary Effects:

  • Dash towards specified direction
  • Collide with enemies during dash
  • Deal damage to collided enemies
  • Apply maim effect to targets
  • Push enemies aside
  • Root enemies in place

Cast Function: ```lua castOnCell = function(caster, cell)

  1. - Dash implementation
  2. - Damage calculation
  3. - Push mechanics
  4. - Root application

end ```

Damage Calculation

Damage Formula:

  • Base damage from caster stats
  • Modified by combat affinity
  • Scales with spell level

Implementation:

  • File: Dash.lua lines 52-63
  • Uses caster attack stats
  • Applies combat affinity bonuses

Push Mechanics

Push Implementation:

  • File: Dash.lua lines 34-46
  • Pushes enemies in dash path
  • Distance based on spell power
  • Can push into walls/obstacles

String Resources

English (values/strings_all.xml):

  • DashSpell_Name - Spell name
  • DashSpell_Info - Spell description
  • DashSpell_Target - Targeting text

Russian (values-ru/strings_all.xml):

  • DashSpell_Name - Russian spell name
  • DashSpell_Info - Russian description

Usage Patterns

Offensive Applications:

  • Close distance with ranged enemies
  • Deal damage while moving
  • Disrupt enemy formations

Defensive Applications:

  • Escape dangerous situations
  • Reposition in combat
  • Avoid area effects

Utility Applications:

  • Quick traversal of corridors
  • Reach distant cells
  • Bypass obstacles

Class Compatibility

Primary Classes:

  • Classes with Combat affinity
  • Warrior class variants
  • Fighter archetypes

Access Methods:

  • Class spell list
  • Spell scrolls
  • Mod-dependent acquisition

Cooldown Management

Cooldown: 30 turns

  • Relatively short for mobility spell
  • Allows frequent repositioning
  • Strategic timing required

Cast Time: 0.5 turns

  • Quick cast
  • Minimal vulnerability during casting
  • Can be used in combat

Combat Affinity Spells:

Mobility Spells:

  • mr:haste_spell - Speed enhancement
  • mr:blink_spell - Teleportation

Wiki Pages

English:

Russian:

Code References

mr/dash_spell.txt · Last modified: by 127.0.0.1