Spell Types - dredmor-com/dungeons-of-dredmor GitHub Wiki
In this page, all of the available spell types are described. You can use these when declaring spells.
Name | Available Targets | Notes |
---|---|---|
adjacent | Any adjacent tile | |
adjacentwall | An adjacent wall tile | |
area | All monsters or objects a certain radius from the player | uses radius="x" to determine how many squares out from the player it goes |
beam | Any floor tile (affects all floor tiles in a line between the targeted point and the player) | |
beammissile | Any floor tile (triggers effects on every tile in the line firing a missile, anims/effects are played at the time the missile pases through a tile) | |
cone | All tiles in a 90-degree arc from the player | uses radius="x" to determine how many squares out from the player it goes |
diggingbeam | Any floor or wall tile (affects all floor an wall tiles in a line between the player and the targeted point, then regenerates those tiles' graphics) | |
fireball | All tiles in a radius from any floor tile | uses radius="x" to determine how many squares out from the target it goes |
item | Item in inventory | consumeItem="x" and consumeItemType="x" define the item type and whether the item is consumed. This is notoriously finnicky. |
knightlyleap | Any floor tile a knight's leap away (2 tiles out and 1 tile to the side of the player) | |
missile | Any floor tile (collides with monsters or objects or upon reaching targeted tile, affecting that tile) | anim is used for the missile: use impact tag to define the animation when it hits |
rook | Any floor tile orthogonal to the player | |
self | Player (autotargets) | |
target | Any monster or object | |
targetadjacentcorpse | Adjacent corpse | |
targetcorpse | Any corpse; the corpse is removed after spell cast | |
targetemptyfloor | Any floor tile that has no monster or object | |
targetfloor | Any floor tile | |
targetflooritem | Any item on the floor (anything that can use item should be able to use this) | |
targetmonster | Any monster | |
target_zombie | Zombys, just Zombys | |
[template] | Any flor tile, or direction if anchored | uses templateID="x" to determine a template and anchored="x" to determine if the template's anchored to the player's position. |