mr:curse_item_spell
mr:curse_item_spell
Entity Information
- Lua File: CurseItem.lua
- Entity Kind: CurseItem
- Type: Spell
- Category: Necromancy
Statistics
- Image File: spellsIcons/necromancy.png (icon index 0)
- Magic Affinity: Necromancy
- Targeting Type: self
- Level: 1
- Cast Time: 0 turns
- Spell Cost: 3 mana
- Cooldown: 5 turns
Special Abilities
- Item Selection: Allows player to select an item from backpack
- Item Cursing: Curses the selected item making it permanently cursed
- Visual Feedback: Shows ShadowParticle effect when cast
- Audio Feedback: Plays snd_cursed.mp3 sound when cast
- Status Update: Sets cursed status and cursed known status to true
Code References
- spell.lua (library)
- itemSelector.lua (library)
String Resources
- No specific string resources (uses text directly in Lua file)
Configuration Files
- CustomSpellsList.lua (registers the spell)
Lua Scripts
- Uses commonClasses library for RPD functions
- Uses itemSelector library for item selection functionality
- Uses spell library for basic spell functionality
mr/curse_item_spell.txt · Last modified: by 127.0.0.1
