Skip to content

Changing Spell Values

Drehverschluss edited this page Nov 23, 2026 · 1 revision

Changing spell values

Blightcaller has no config for spell values. Like the RPG Series, every value of a spell is in its spell file: data/blightcaller/spell/<id>.json. A datapack that contains a file with the same path replaces the spell: damage, curse damage, duration, cast time, cooldown, range, radius, chances and everything else. The same goes for the skill tree nodes, the weapon nodes, the passives of the unique weapons and the relics, which are spell files too.

How to

  1. Take the original file from the Blightcaller jar (data/blightcaller/spell/<id>.json, the jar is a zip file) or from the source.
  2. Put the changed copy into a datapack:
<world>/datapacks/blightcaller_tweaks/
  pack.mcmeta
  data/blightcaller/spell/soul_rot.json

pack.mcmeta for Minecraft 1.21.1:

{
  "pack": {
    "pack_format": 48,
    "description": "My Blightcaller changes"
  }
}
  1. Leave the world and join it again (singleplayer), or restart the server.

For modpacks: put the file into kubejs/data/blightcaller/spell/soul_rot.json (with KubeJS installed). That works for every world without a datapack per world.

When it applies

  • After joining the world again or restarting the server. /reload does not reload spells.
  • In multiplayer the server sends the spells to every client, so tooltips show the new values. Clients need nothing.

Keep in mind

  • A datapack replaces the whole file. If a later Blightcaller version changes the spell, your copy stays on the old state. After an update, compare your copy with the new file. This matters in the beta, where values can still change.
  • The ids of the eight spells: hex_bolt, blight_burst, soul_rot, enfeeble, gravebind, drain_soul, pestilence, last_rites. The other files are listed on Spells and Skill tree.

The important fields

Field Meaning
range Range in blocks (Gravebind and Last Rites: the radius around you)
tier Spell tier; RunelessRPG takes its base mana cost from it
active.cast.duration Cast time in seconds (missing = instant); Drain Soul: channel time
active.cast.channel.ticks Pulses of Drain Soul
cost.cooldown.duration Cooldown in seconds
cost.item.id Rune that the spell costs (runes:soul_stone)
area_impact.radius Radius of Blight Burst
impacts[].action.damage.spell_power_coefficient Direct damage as a factor of Soul Spell Power
impacts[].action.status_effect.duration Base duration of a curse in seconds (before Curse Duration)
impacts[].action.status_effect.amplifier Strength of Enfeeble and Gravebind (level = amplifier + 1, see Configuration)
impacts[].target_modifiers The bonus per curse level (blightcaller:curse_level 1, 2 and 3, each with a power_multiplier)
impacts[].action.custom.handler Blightcaller markers, see below
passive.triggers[].chance Chance of a passive or relic (Bone Spike, Grave Candle, Wailing Skull)

Markers

Blightcaller reads some values from the id of a custom impact ("type": "CUSTOM", "handler": "<marker>"). The number in the id is the value; any value works, Blightcaller registers the markers it finds in the loaded spells.

Marker In Meaning
blightcaller:curse/<factor> Every curse with damage Puts on the curse of the status effect impact before it; damage per second = Soul Spell Power × factor. The duration comes from that status effect impact
blightcaller:curse Enfeeble, Gravebind, Drain Soul The same for curses without damage
blightcaller:last_rites/<seconds>/<factor>/<base>/<single> Last Rites Detonation of the next <seconds> × <factor>; first <base> × Soul Spell Power; <single> 1 = only the enemy with the most of your curses, 0 = every cursed enemy
blightcaller:soul_echo/<seconds>/<factor> Soul Echo Fresh Soulburn after Last Rites
blightcaller:deepening_rot/<per tick>/<max> Deepening Rot Bonus per tick and its maximum
blightcaller:blightbloom/<radius>/<seconds>/<factor> Blightbloom Radius and Soulburn of the bloom
blightcaller:infectious_curses/<chance>/<range> Infectious Curses Chance per cast and range
blightcaller:coup_de_grace/<health>/<bonus> Coup de Grace Health share below which the bonus counts, and the bonus
blightcaller:spreading_rot/<range> Spreading Rot Range to the second target
blightcaller:lingering_rend/<seconds> Lingering Rend Extension per pulse
blightcaller:enervation/<share> Enervation Less damage dealt (bosses half)
blightcaller:power_sap/<share>/<seconds> Wailing Skull Less damage dealt for some seconds (bosses half). Packs can add it to other passive spells
blightcaller:rapid_contagion/<seconds>, blightcaller:wide_contagion/<blocks> Rapid and Wide Contagion Spread interval, extra spread radius
blightcaller:mould_rot/<bonus> Grave Mould Your curses tick stronger in the patch
blightcaller:soul_migration, blightcaller:vengeful_hex, blightcaller:wailing_scream, blightcaller:fx_bone_spike Passives and relics Switches without a number

The skill tree MODIFIER spells use the fields of Spell Engine: effect_amplifier_add adds carriers to Pestilence (Improved Pestilence +2, Blightspore set +1) and strength to Enfeeble (Deep Frailty +2), power_modifier.power_multiplier adds damage, effect_duration_add seconds and range_add range.

Example: a stronger Soul Rot

Soul Rot with 0.2 instead of 0.16 × Soul Spell Power per second and 12 s instead of 10 s. Only two values change: the duration of the status effect and the number in the marker. This is the complete file data/blightcaller/spell/soul_rot.json:

{
  "school": "spell_power:soul",
  "range": 24.0,
  "tier": 2,
  "group": "blightcaller_rot",
  "learn": {},
  "active": {
    "cast": {
      "duration": 0.5,
      "animation": {
        "id": "spell_engine:one_handed_projectile_charge"
      },
      "sound": {
        "id": "spell_engine:generic_soul_casting",
        "randomness": 0.0
      },
      "particles": [
        {
          "id": "spell_engine:magic_skull",
          "appearance": {
            "color": 1868294399,
            "motion": "FLOAT",
            "scale": 0.5
          },
          "batch": {
            "count": 0.6,
            "shape": "SPHERE",
            "anchor": "LAUNCH_POINT",
            "min_speed": 0.02,
            "max_speed": 0.06
          }
        },
        {
          "id": "spell_engine:magic_spark",
          "appearance": {
            "color": 2297462015,
            "scale": 0.5
          },
          "batch": {
            "count": 0.8,
            "shape": "SPHERE",
            "anchor": "LAUNCH_POINT",
            "min_speed": 0.02,
            "max_speed": 0.08
          }
        }
      ]
    }
  },
  "release": {
    "animation": {
      "id": "spell_engine:one_handed_projectile_release"
    },
    "sound": {
      "id": "spell_engine:generic_soul_release"
    }
  },
  "target": {
    "type": "AIM",
    "aim": {
      "required": true,
      "sticky": true
    }
  },
  "impacts": [
    {
      "action": {
        "type": "STATUS_EFFECT",
        "status_effect": {
          "effect_id": "blightcaller:soul_rot",
          "duration": 12.0
        }
      },
      "visuals": {
        "particles": [
          {
            "id": "spell_engine:dripping_blood",
            "appearance": {
              "color": 1606376191,
              "scale": 2.0
            },
            "batch": {
              "count": 20.0,
              "shape": "SPHERE",
              "anchor": "ENTITY",
              "vertical_origin": 0.9,
              "min_speed": 0.05,
              "max_speed": 0.15
            }
          },
          {
            "id": "spell_engine:smoke_medium",
            "appearance": {
              "color": 1606376106,
              "motion": "BURST",
              "scale": 1.0
            },
            "batch": {
              "count": 10.0,
              "shape": "SPHERE",
              "anchor": "ENTITY",
              "vertical_origin": 0.6,
              "min_speed": 0.1,
              "max_speed": 0.25
            }
          },
          {
            "id": "minecraft:sculk_soul",
            "appearance": {},
            "batch": {
              "count": 6.0,
              "shape": "SPHERE",
              "anchor": "ENTITY",
              "min_speed": 0.02,
              "max_speed": 0.06
            }
          }
        ]
      },
      "sound": {
        "id": "minecraft:block.sculk.spread",
        "volume": 1.2,
        "pitch": 0.7
      }
    },
    {
      "action": {
        "type": "CUSTOM",
        "custom": {
          "intent": "HARMFUL",
          "handler": "blightcaller:curse/0.2"
        }
      }
    }
  ],
  "cost": {
    "item": {
      "id": "runes:soul_stone"
    }
  }
}

Tooltips follow the file

The spell tooltips read their numbers from the spell file and the server config, so a changed value shows up there by itself. Every spell with a curse marker gets its own lines with the real values of the player who looks at it: the curse damage per second and in total with their Soul Spell Power and Curse Duration, the strength of Enfeeble and Gravebind for normal targets and bosses, how Pestilence spreads, the bonus per curse level and the rule of Last Rites.

Besides the tokens of Spell Engine ({damage}, {heal}, {impact_range}, {trigger_chance}, {effect_duration}, {cloud_duration}, {cloud_radius}, {power_multiplier}, {effect_duration_add}, {effect_amplifier_add}, {range_add}, {cooldown_duration_deduct} …) Blightcaller fills these in the descriptions of its passives and nodes:

Token Value
{migration_range}, {migration_jumps} Soul Migration ([soul_migration] of the server config)
{rot_per_tick}, {rot_max}, {rot_ticks} Deepening Rot
{spread_range} Spreading Rot
{enervation}, {enervation_boss} Enervation
{sap}, {sap_boss}, {sap_seconds}, {relic_range} Wailing Skull
{frailty}, {frailty_boss}, {frailty_base} Deep Frailty
{soulburn_damage}, {soulburn_duration}, {bloom_range} Soulburn of Blightbloom, Soulfire Chains, Soul Echo and Grave Mould (with the player's Soul Spell Power)
{hex_duration} Vengeful Hex
{infect_chance}, {infect_range} Infectious Curses
{coup_health}, {coup_bonus} Coup de Grace
{rend_seconds} Lingering Rend
{gravebind_range}, {gravebind_base} Improved Gravebind
{carriers}, {carriers_base} Improved Pestilence
{contagion_interval}, {contagion_base}, {first_spread}, {contagion_range}, {spread_range_new}, {spread_range_base} Rapid and Wide Contagion
{rites_bonus}, {rites_base} Improved Last Rites
{focus_bonus}, {focus_base}, {focus_max}, {focus_max_base} Hex Resonance
{burst_range}, {burst_base} Bursting Blight
{spike_curse_level}, {spike_damage} Bone Spike
{mould_max}, {mould_bonus} Grave Mould ([grave_mould] max_patches, marker mould_rot)

Mana costs

The mana cost with RunelessRPG comes from the spell's tier, RunelessRPG's tier table and a factor per spell in data/blightcaller/runelessrpg/spell_costs/blightcaller.json:

{
  "factors": {
    "blightcaller:hex_bolt": 0.875,
    "blightcaller:blight_burst": 0.8,
    "blightcaller:soul_rot": 0.5714286,
    "blightcaller:enfeeble": 0.7142857,
    "blightcaller:gravebind": 1.0,
    "blightcaller:drain_soul": 2.0,
    "blightcaller:pestilence": 0.7142857,
    "blightcaller:last_rites": 0.7142857
  }
}

With RunelessRPG's default tier table (4 / 5 / 7 / 10 / 14 for tier 0 to 4) that gives the costs on Spells: 3.5, 4, 4, 5, 10, 20, 10 and 10 (the factors 0.5714286 and 0.7142857 are 4/7 and 5/7). The factors follow a changed tier table. A datapack with the same path replaces the whole file; it is read again on /reload. Drain Soul pays its cost spread over the channel. More about cost files on the RunelessRPG wiki page Datapacks and tags.

Other values

  • Armor and Soul Spell Power of robes and weapons, rings, amulets and the relic effects: JSON configs, see Configuration.
  • Set bonuses: data/blightcaller/equipment_set/blightspore.json and hexbinder.json; they point to the modifier spells blightspore_pestilence and hexbinder_last_rites.
  • Curse tick interval, Curse Duration cap, the strength per level of Enfeeble and Gravebind and how Pestilence spreads: blightcaller-server.toml, see Configuration.

Clone this wiki locally