Skip to content

Commit

Permalink
docs: cast_spell doesn't exist, correct function is spell (#5859)
Browse files Browse the repository at this point in the history
* a

* style(autofix.ci): automated formatting

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
RoyalFox2140 and autofix-ci[bot] authored Jan 1, 2025
1 parent dcf6e8d commit 74fecc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/src/content/docs/en/mod/json/reference/json_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -3422,9 +3422,9 @@ The following actions are available as defined in trapfunc.cpp:
processed as the mapgen update could just as easily remove the trap, change it to something else,
or do any number of things that would otherwise disrupt the trap cleanup function.
- `drain` - Deals a tiny amount of damage to the target, ignores armor and immunities.
- `cast_spell` - Casts the spell specified by the trap's `spell_data`, centered on whatever set it
off. Note that the spell used generally requires a `min_aoe` defined to work successfully, and not
all spell effects can be expected to work properly with this.
- `spell` - Casts the spell specified by the trap's `spell_data`, centered on whatever set it off.
Note that the spell used generally requires a `min_aoe` defined to work successfully, and not all
spell effects can be expected to work properly with this.
- `snake` - Similar to `shadow` trap effect, summons shadow snakes nearby. Main difference is NPCs
and monsters are capable of setting it off.

Expand Down

0 comments on commit 74fecc9

Please sign in to comment.