diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:09 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:49:38 +0200 |
commit | cbafbc638c2e1d5bb40ee6bc419007062e9615e4 (patch) | |
tree | 0a4644c9c935a2a54d8b52613c67a09fc2fbf4be /src/spells5.cc | |
parent | 551339813797a9b274ccf5f3f0c4f0d0b44cbf64 (diff) |
Remove traps
Credit goes mostly to "miramor" <danlev@norwoodlight.com> who did most
of the actual work. I just did a few minor tweaks and fixes + rebased
onto master.
Diffstat (limited to 'src/spells5.cc')
-rw-r--r-- | src/spells5.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/spells5.cc b/src/spells5.cc index dc237382..ba2e6d05 100644 --- a/src/spells5.cc +++ b/src/spells5.cc @@ -919,30 +919,6 @@ void school_spells_init() } { - spell_type *spell = spell_new(&DISARM, "Disarm"); - spell_type_describe(spell, "Destroys doors and traps"); - spell_type_describe(spell, "At level 10 it destroys doors and traps, then reveals and unlocks any secret"); - spell_type_describe(spell, "doors"); - spell_type_set_mana(spell, 2, 4); - spell_type_set_difficulty(spell, 3, 15); - spell_type_init_mage(spell, - RANDOM, - SCHOOL_CONVEYANCE, - no_info, - convey_disarm); - - spell_type_set_device_charges(spell, "10+d15"); - - { - device_allocation *device_allocation = device_allocation_new(TV_STAFF); - device_allocation->rarity = 4; - range_init(&device_allocation->base_level, 1, 10); - range_init(&device_allocation->max_level, 10, 50); - spell_type_add_device_allocation(spell, device_allocation); - } - } - - { spell_type *spell = spell_new(&TELEPORT, "Teleportation"); spell_type_describe(spell, "Teleports you around the level. The casting time decreases with level"); spell_type_set_mana(spell, 8, 14); |