Repository navigation
Shock
Lightning is the school of hits that jump between enemies and of short stuns. Every hit of a lightning spell can shock its target.
Chance per hit = base chance of the spell + your Shock Chance, at most 100 %. Each hit rolls once.
| Spell | Base chance |
|---|---|
| Spark | 10 % |
| Lightning Bolt | 15 % |
| Chain Lightning | 20 % per hit |
| Lightning Nova | always |
| Static Shield (counter-strike) | 50 % |
| Lightning Strike | 50 % per target |
| Thunderstorm | 25 % per hit |
| Storm Elemental (its Lightning Bolt) | 15 % |
- The base chance is part of the spell file (marker
stormcaller:shock/<percent>, see Changing spell values). The spell tooltip shows it as "Shock chance: 15%" or "Always shocks." -
Lightning damage of other mods (damage type
spell_power:lightning) can shock too, but only with your Shock Chance. It rolls at the end of the server tick, so a hit never rolls twice. - For summons (Storm Elemental) the Shock Chance of the owner counts.
stormcaller:shock_chance ("Shock Chance") is a new attribute. It works like the Spell Critical Chance of Spell Power:
base value 100, items add to it as a multiplier (0.02 = +2 %). The tooltip shows it as "+2% Shock Chance".
| Source | Shock Chance |
|---|---|
| Lightning Robe (tier 2), per piece | +2 % |
| Netherite Lightning Robe (tier 3), per piece | +3 % |
| Fulgurite and Stormweave Robe (tier 4), per piece | +4 % |
| Stormweave Robe, set bonus (2 pieces) | +5 % |
| Stormheart and Thunderstrike rings and amulets | +3 % each |
| Static Charge (Static Lodestone) | +5 % for 6 s |
Every shock gives the target one stage of Shocked:
- +5 % lightning damage taken per stage, up to 5 stages (+25 %).
- Lasts 8 s; every new shock adds a stage and refreshes the duration.
- Only damage of the type
spell_power:lightningis increased, other damage is not. The hit that shocks is not increased yet, the next one is.
Normal targets are also stunned for 0.5 s (spell_engine:stun). The stun does not stack; a new shock only makes
it longer if the new duration is longer. Lightning Nova always shocks and stuns for 1.5 s.
A stun switches off the AI. Bosses with fixed attack patterns can get stuck by that, and many fast hits could hold a
boss in place. So targets in the entity type tag #stormcaller:shock_resistant are slowed instead of stunned:
- 50 % slower for 1 s,
- then 3 s cooldown before the same target can be slowed again (stages of Shocked still stack in that time),
- their AI keeps running.
The slow is the effect Shock Slowness (stormcaller:shock_slow).
#stormcaller:shock_resistant contains #c:bosses, #mrpg_lib:stun_immune, the Warden and the Elder Guardian.
Packs can add more.
Players are slowed like bosses too, not stunned (option stun_players).
After a stun from a shock ends, the same target can't be stunned by shocks again for 2 s (option
stun_pause_seconds, 0 turns the pause off). Shocks in that time still give stages of Shocked, but no stun, and they
don't make a running stun longer. The pause is stored on the target, so it counts for all players together.
Lightning Nova always stuns, also during the pause, and the pause starts again after its stun. Stuns from other mods
or commands are not changed and don't start the pause.
This keeps big single enemies from being locked down: on tier 4 a normal enemy with a lot of health was stunned about 40 % of the time before 0.3.0, now at most 0.5 / (0.5 + 2) = 20 % with the default values.
Targets in #stormcaller:shock_immune get nothing at all: no stage, no stun, no slow. The tag is empty by default.
Shocked targets show small lightning arcs on their body, more often and stronger with every stage.
- Skill tree: Conductive Chain (Chain Lightning rolls twice), Thunderclap (Nova stun +0.5 s), Charged Roll (next hit always shocks), Storm Ward (melee attackers may be shocked). See Skill tree.
- Stormbringer Staff: its passive Skyfall triggers on shocked enemies. See Equipment.
All numbers are in stormcaller-server.toml, section [shock]:
| Option | Default | Meaning |
|---|---|---|
stun_seconds |
0.5 | Stun of a shock on normal targets |
nova_stun_seconds |
1.5 | Stun of Lightning Nova on normal targets |
stun_pause_seconds |
2.0 | After a stun ends, shocks can't stun the same target again for this long; 0 = no pause |
stun_players |
false | true: players are stunned like normal targets; false: slowed like bosses |
shocked_damage_per_stage |
0.05 | Extra lightning damage taken per stage of Shocked |
shocked_max_stages |
5 | Highest stage of Shocked |
shocked_seconds |
8.0 | Duration of Shocked; 0 turns the stages off |
slow_enabled |
true | Bosses are slowed on a shock |
slow_amount |
0.5 | Speed reduction of the slow (0.5 = −50 %) |
slow_seconds |
1.0 | Duration of the slow |
slow_cooldown_seconds |
3.0 | Time before the same boss can be slowed again |
See Configuration for ranges and the other options.
Stormcaller (RPG Series Plus) for NeoForge 1.21.1 · CurseForge (coming soon) · Source · Report a bug
Start
For players
For pack makers
Reference