Spell Effects

From DredMod
Jump to: navigation, search

Spell effects are effects of spells in the spellDB.xml file. A spell effect is added by having the tag <effect type="type"/> where type is the name of the effect.

Name Description Parameters
All Effects percent: a number between 0 and 100 that is the percent chance to activate the effect
taxa: the effect will only take place if the target has a taxa value of this, (In 1.0.10 or later this can be applied to monster names or family names such as Diggle or Sickly Diggle)
affectsCorpses: whether the effect affects corpses
self denotes on some effects whether it affects the caster or the target
bad: denotes on some effects whether it affects the caster or the target
bleed: target will bleed
burn: target will burn
sfx: plays a specific sound effect
secondaryScale: (1.0.10) secondary stat to scale on instead of magic power
primaryScale: (1.0.10) primary stat to scale on instead of magic power
ascenddungeonlevel (1.1.1) Moves the player up to the next highest floor if possible
bleed Causes target to bleed
blind Blinds the target for a short time
blink Causes caster to blink skipanimation: (1.1.1) if 1, do not play the default teleport animation
charm Charms target enemy as an ally for an amount of time turns: number of turns to charm
cleanseartifact Removes all corruption from target artifact
confuse Confuses the target for a short time amount: unknown
consumebooze Removes some booze from the player's inventory
consumefood Removes some food from the player's inventory
consumeanything (1.1.1) Consumes target item, applying it's effects if it's consumable. Otherwise gives a random amount of food
corrupt Adds a negative enchantment to a random enchanted item the player is wearing amount: unknown
create Creates an impassible object turns: number of turns for object to stay
objectSprite: path to image file of object
damage Deals an amount of damage to the target type where type is a damage type name: an amount of damage of this type
typeF where type is a damage type name: an amount to multiply by some stat to get an amount of bonus damage, Magic Power by default if primaryScale and secondaryScale are absent
primaryScale: when present, is the ID of a primary stat to scale damage to in typeF
secondaryScale: when present, is the ID of a secondary stat to scale damage to in typeF
affectsCaster: if 0 the effect will not activate on the caster, if 1 the effect will; defaults to 0
midas: creates zorkmids with an amount equal to the amount of damage dealt times the "midas scalar" tweak
dig Destroys targeted wall tiles regenGFX: if 1 then all tiles' graphics will be regenerated, if 0 then only tiles directly adjacent will be
displace Causes the target to blink
drunkenness (1.1.1) Causes the target to become more drunk amount: The amount of drunkenness to give
dot Activates a spell every turn for a short time spell: name of spell to activate
amount: number of turns for dot to last
drain Acts exactly like damage but heals the caster for the total amount of damage dealt type where type is a damage type name: an amount of damage of this type
typeF where type is a damage type name: an amount to multiply to magic power to get an amount of damage to deal
affectsCaster: if 0 the effect will not activate on the caster, if 1 the effect will; defaults to 0
midas: creates zorkmids with an amount equal to the amount of damage dealt times the "midas scalar" tweak
drainMana Drains a certain percent of mana from the target if it is the player amount: percent of mana to drain
drainCasterMana Drains a certain percent of mana from the player amount: percent of mana to drain
dropitem (1.1.1) Drops a random item from the player's belt
fear Causes fear amount: number of turns to cause fear for
findrecipe (1.1.1) Causes the player to be granted a random hidden recipe
grabitem (1.1.1) Picks up target item on the floor and places it in the player's inventory
grantxp Gives the player experience points. amount: the amount of experience points the effect grants.
heal Heals the target amount: base amount to heal
amountF: amount to be multiplied by magic power to get a number to heal
knock Knocks back the target 1-3 tiles from the caster amount: no noticeable effect
lockdown Roots the target to the spot for a certain amount of time amount: number of turns to lock down
magicmapping Reveals the map of the entire dungeon floor
manipulateobject (1.1.1) Activates a lever, opens an unlocked door or chest, or closes a door
moverandomcurse (1.1.0) Moves a random debuff on the caster to target buffTag: if given, move only debuffs with this tag
movecurses (1.1.0) Moves all debuffs from the caster to target buffTag: if given, move only debuffs with this tag
oil Puts oil on affect targets, the effect of that oil is unknown amount: unknown
pacify causes the target to become peaceful and stop attacking the player amount: unknown
paralyze Paralyzes the target for a certain time if not resisted amount: paralyze has a 1/amount chance to activate
turns: number of turns to paralyze for
randomizeartifact After a dialog box asking if the player wants to randomize an artifact, randomizes the stats of the enchantments if it does not fail
randomizewand Changes targeted wand into any other wand, keeping the same charge
randomuncurse (1.1.1) Removes a random debuff from the target buffTag: if given, move only debuffs with this tag
rechargeanvil Recharges an Anvil of Krong if it has not already been recharged
removemonster (1.1.1) Immediately removes a monster without killing it (disabled for named monsters)
resetrandomcooldown (1.1.1) Resets the cooldown of a random spell that is on cooldown
resetcooldowns (1.1.1) Resets the cooldowns of all spells on cooldown
rechargewand Deprecated and useless as of 1.08; previously removed all entropy from targeted wand
removebuffbyname (1.0.10) removes any number of stacks of a buff from the target name: name of the buff
amount:number of stacks to remove; 0 removes all
removeinvisibility Causes target enemy or trap to become visible permanently
rift Summons a rift object as in Tenebrous Rift
root Paralyzes the target for a certain time if not resisted
sacrificeartifact After opening a dialog box asking if the player wants to send targeted artifact to museum, removes targeted artifact if agreed and gives experience based on its value
shout Causes target monster to detect the player
sleep Puts the target to sleep if not resisted amount: sleep has a 1/amount chance to activate
turns: number of turns to cause sleep for
spawn Gives the player a specific item itemname: name of item to spawn, or randomgem, randommushroom, randomring (giving a random gem, mushroom or ring respectively)
amount: amount of the named item to spawn
spawnitematlocation Places an item as target location itemName: name of item to spawn
amount: amount of item to spawn
spawnitemfromlist spawns an item from the options given at target location Uses none, instead uses child tags <option name=""/> where name's value is the name of an item
spellpoints Grants the player an amount of mana amount: base amount of mana to give
amountF: amount to be multiplied by magic power to get a number of mana to give
suction Pulls target monster to a space adjacent to the player. may cause bleeding
summon Summons a monster of a specific type as a pet of the player monsterType: name of monster to spawn
amount: max number to spawn (will not spawn if summons is greater than or equal to this)
summonhostile (1.0.10) Summons a monster of a specific type that is neither hostile to nor a pet of the player monsterType: name of monster to spawn
swapwithmonster (1.1.1) Swaps the player's place with target monster. If the monster is above or in water, the player will drown skipanimation: if 1, do not play the default teleport animation
targetblink Blinks the caster without animation
teleport Teleports to target tile skipanimation: (1.1.1) if 1, do not play the default teleport animation
transformmonster (1.1.1) Transforms a monster into another random monster for this floor (disabled for named monsters)
trigger Activates another spell spell: name of the spell to activate
amount: turns to delay activation of effect
requirebuffontrigger: (1.0.11) a boolean value, 1 or 0 that tells that a buff is required for the spell to trigger
requirebuffontriggername: (1.0.11) if requirebuffontrigger is 1, the name of a buff that is required on the caster for the spell to trigger
requirebuffonnottrigger: (1.0.11) a boolean value, 1 or 0 that tells that a buff is required not to be active for the spell to trigger
requirebuffonnottriggername: (1.0.11) if requirebuffontrigger is 1, the name of a buff that is required not to be on the caster for the spell to trigger
triggerfromlist triggers one of the spells given Uses none, instead uses child tags <option name=""/> where name's value is the name of a spell
uncurse Removes all active bad buffs and dots from the target if it is the player amount: unknown
buffTag: (1.1.1) if given, remove only debuffs with this tag


See Also

Spell Types
Templates