Add rings that can cast spells to the game.

These function like low-power rods, since they regernerate spell points much slower and can cast fewer times before running out.
The list of spells is a lot more geared toward utility and infrequently-cast spells, such as summon <elemental> and dark vision for that reason.
Currently set to be pretty rare. If it turns out these should really be more common than rods, it can be done.

git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@21843 282e977c-c81d-0410-88c4-b93c2d0d6712
master
silvernexus 2021-01-21 21:17:07 +00:00
parent 7ddf6a3457
commit f9f239d4cc
4 changed files with 135 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Add rings that contain spells.
Functionally like low-power rods, but groups with rings client-side.
spell/Wand/spell_ring.arc
spell/Wand/spell_ring.trs
treasures.trs
Daniel Hawkins 2021-01-21
Add archetypes for building instructions, found in enough shops to warrant it.
readable/guide/buildings_instructions.arc
Nicolas Weeger 2021-01-19

View File

@ -0,0 +1,18 @@
Object ring_spell
name ring
name_pl rings
nrof 1
face ring.110
identified_face ring.117
speed 0.02
type 3
value 5000
hp 1
maxhp 1
weight 20
material 2
client_type 391
body_finger -1
randomitems ring_spell
skill use magic item
end

View File

@ -0,0 +1,89 @@
treasureone ring_spell
arch spell_small_fireball
nrof 40
chance 8
more
arch spell_small_snowstorm
nrof 40
chance 8
more
arch spell_poison_cloud
nrof 30
chance 4
more
arch spell_fear
nrof 25
chance 8
more
arch spell_slow
nrof 30
chance 6
more
arch spell_wonder
nrof 20
chance 4
more
arch spell_dimension_door
nrof 8
chance 5
more
arch spell_magic_mapping
nrof 20
chance 5
more
arch spell_create_earth_wall
nrof 12
chance 4
more
arch spell_counterwall
nrof 30
chance 5
more
arch spell_probe
nrof 40
chance 5
more
arch spell_detect_magic
nrof 50
chance 5
more
arch spell_show_invisible
nrof 8
chance 4
more
arch spell_minor_healing
nrof 40
chance 3
more
arch spell_perceive_self
nrof 20
chance 5
more
arch spell_xray
nrof 3
chance 3
more
arch spell_searing_weapon
nrof 3
chance 7
more
arch spell_dark_vision
nrof 4
chance 9
more
arch spell_summon_water_elemental
nrof 6
chance 4
more
arch spell_summon_air_elemental
nrof 6
chance 4
more
arch spell_summon_fire_elemental
nrof 6
chance 4
more
arch spell_summon_earth_elemental
nrof 6
chance 4
end

View File

@ -935,6 +935,9 @@ treasureone special_uncommon
more
arch ring_nodrain
chance 5
more
arch ring_spell
chance 1
end
treasureone containers
arch sack
@ -1392,6 +1395,9 @@ treasureone random_magical
chance 5
nrof 5
more
arch ring_spell
chance 1
more
list special_uncommon
magic 9
chance 5
@ -1533,6 +1539,9 @@ treasureone random_wands
more
arch rod_heavy
chance 1
more
arch ring_spell
chance 1
end
# for shop
treasureone random_books
@ -1720,8 +1729,11 @@ treasureone uncommon_items
arch file
chance 3
more
arch ring_spell
chance 1
more
list NONE
chance 24
chance 23
end
treasure poor_old
arch bow
@ -1974,6 +1986,10 @@ treasure rich_old
no
arch rod_heavy
chance 1
no
arch ring_spell
chance 1
end
end
more
list random_books
@ -1994,6 +2010,10 @@ treasure rod
no
arch rod_heavy
chance 1
no
arch ring_spell
chance 1
end
end
end
treasure ring