Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/spell_jump_distance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# spell_jump_distance

[<-Back-to:World](database-world)


**The `spell_jump_distance` table**

This table stores per-spell chain hop distance overrides. When present, the server loads `JumpDistance` and assigns it to `SpellInfo::JumpDistance`; `Spell::SearchChainTargets()` then uses this value to constrain chain-target hop radius.

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ----- | ---- | ---------- | --- | ---- | ------- | ----- | ------- |
| [ID](#id) | INT | UNSIGNED | PRI | NO | 0 | | Spell id (links to Spell.dbc) |
| [JumpDistance](#jumpdistance) | FLOAT | SIGNED | | NO | 0 | | Max hop distance in yards |

**Description of the fields**

### ID

Spell identifier this row applies to. See [Spell.dbc](spell).

### JumpDistance

Maximum chain-hop distance (in yards) for the spell. When > 0 the server will use this value instead of the default jump radius when searching chain targets.
Loading