- add god treasure lists to arches
- some modifications to ixalovh - add some god treasure list info from objects doc to README git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/trunk/arch@2718 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
9faf169172
commit
08bef727cd
110
gods/README
110
gods/README
|
@ -26,3 +26,113 @@ needed to be specified (but it helps!).
|
|||
last_eat, last_heal, last_sp, last_grace, & various flags - these are used to
|
||||
pass on certain properties to the worshiping priest.
|
||||
|
||||
Treasure list reference:
|
||||
|
||||
Such a list is passed to create_treasure() with flag GT_STARTEQUIP.
|
||||
The generated treasure is put into the followers inventory. The
|
||||
follower can get unlimited amounts of this treasure just by praying
|
||||
long enough. See below ("other visible items") for an alternative
|
||||
way of giving items to followers.
|
||||
|
||||
Invisible books (with specific names):
|
||||
|
||||
Can be accessed through determine_holy_arch() which will return the
|
||||
item's other_arch field. For example, such book with name "avatar"
|
||||
determines the avatar archetype for the "summon avatar" prayer.
|
||||
|
||||
Invisible book with name "grace limit":
|
||||
|
||||
If follower doesn't have maximum grace, or follower's grace is less
|
||||
than item->stats.grace, a "holy possession" prayer is invoked and the
|
||||
function returns. Can be used to limit the lower part of the treasure
|
||||
list to followers with much grace.
|
||||
|
||||
Invisible book with name "restore grace":
|
||||
|
||||
If the follower's grace is negative, sets the grace to a small
|
||||
positive value and returns.
|
||||
|
||||
Invisible book with name "restore hitpoints":
|
||||
|
||||
If the follower's hitpoints are not at their maximum, sets hitpoints
|
||||
to maximum and returns.
|
||||
|
||||
Invisible book with name "restore spellpoints":
|
||||
|
||||
Can restore the followers spellpoints. The maximum spellpoints for
|
||||
this effect are calculated using this formula:
|
||||
|
||||
max = follower->stats.maxsp * (item->stats.maxsp / 100.0)
|
||||
|
||||
In other words, the item's stats.maxsp is the maximum in percent
|
||||
relative to the followers normal spellpoint maximum. If the followers
|
||||
current spellpoints are below 50% of 'max', they are set to a random
|
||||
value between 50% and 100% of 'max', and the function returns.
|
||||
|
||||
Invisible book with name "heal spell":
|
||||
|
||||
Casts a heal spell (which spell is determined by item's slaying or
|
||||
stats.sp field) and returns if the spell was successful.
|
||||
|
||||
Invisible book with name "remove curse":
|
||||
|
||||
Removes curse from all cursed (but not damned) items, returns if curse
|
||||
was removed from at least one item.
|
||||
|
||||
Invisible book with name "remove damnation":
|
||||
|
||||
Removes curse and damnation from all cursed or damned items, returns
|
||||
if curse or damnation was removed from at least one item.
|
||||
|
||||
Invisible book with name "heal depletion":
|
||||
|
||||
Removes all depletion effects and returns unless the follower's stats
|
||||
were not depleted.
|
||||
|
||||
Invisible book with name "voice_behind":
|
||||
|
||||
The follower hears a voice from behind. item->msg is what the voice
|
||||
says. Always returns.
|
||||
|
||||
Invisible book with name "message":
|
||||
|
||||
The follower receives item->msg as a simple message. Always returns.
|
||||
|
||||
Invisible book with name "enchant weapon":
|
||||
|
||||
The follower's weapon is enchanted in various ways. item->level
|
||||
affects how much the weapon is enchanted, higher value means less
|
||||
enchantment.
|
||||
|
||||
Invisible spellbooks:
|
||||
|
||||
If the prayer in the book is not yet known to the follower, and the
|
||||
follower has the required level, teaches the prayer to the follower
|
||||
and returns. The prayer is determined by item's slaying field.
|
||||
|
||||
Visible spellbooks:
|
||||
|
||||
If the prayer in the book is not yet known to the follower, the
|
||||
follower has the required level, and the follower doesn't already have
|
||||
a spellbook with that prayer, gives a copy of this spellbook to the
|
||||
follower and returns. The item must have FLAG_STARTEQUIP. The prayer
|
||||
is determined by item's slaying field.
|
||||
|
||||
Other visible items:
|
||||
|
||||
If the follower doesn't already have this or a similar item (with same
|
||||
type, name, title, msg and slaying fields), gives a copy of this item
|
||||
to the follower. You have to set FLAG_STARTEQUIP in the archetype
|
||||
yourself if you wan't the copy to have this flag. This method (with
|
||||
FLAG_STARTEQUIP set) should be prefered for giving items to followers,
|
||||
because it is rather safe to use. The amount is limited, because if
|
||||
the follower wants more of it he has to go back to an altar of his
|
||||
god. He can't pray an hour over an altar and then go fighting with a
|
||||
hundred potions of restoration.
|
||||
|
||||
Other invisible items:
|
||||
|
||||
If the follower doesn't already have it this item, gives it, similar
|
||||
to visible items. Except, it ALWAYS gives it, upon conversion.
|
||||
And on conversion to another religion, it is ALWAYS removed.
|
||||
Signs and forces and skills may not be given/taken this way.
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
#############################################################
|
||||
# Gnarg - Father of goblins, Lord Troll, Master of poisons,
|
||||
# Patron of assassins, The Unclean one
|
||||
treasure Gnarg
|
||||
arch gnarg_avatar_info
|
||||
more
|
||||
arch gnarg_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_remove_damnation
|
||||
chance 30
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch gnarg_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_high
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch helmet_gnarg
|
||||
chance 5
|
||||
more
|
||||
arch spell_poison_fog
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_cause_smallpox
|
||||
more
|
||||
arch bracers_gnarg
|
||||
chance 2
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
arch spell_cause_rabies
|
||||
end
|
|
@ -0,0 +1,40 @@
|
|||
#############################################################
|
||||
# Lythander - Elven god of luck, Huntsman of Goblins, Trollslayer,
|
||||
# the Trickster
|
||||
treasure Lythander
|
||||
arch lythander_avatar_info
|
||||
more
|
||||
arch lythander_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_damnation
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch lythander_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch pipe_lythander
|
||||
chance 3
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch bow_lythander
|
||||
chance 5
|
||||
more
|
||||
arch spell_conflict
|
||||
more
|
||||
arch spell_defense
|
||||
end
|
|
@ -0,0 +1,37 @@
|
|||
#############################################################
|
||||
# Mostrai - Dwarven deity of metal smithing and warcraft,
|
||||
# Giant basher, Delver of secrets
|
||||
treasure Mostrai
|
||||
arch mostrai_avatar_info
|
||||
more
|
||||
arch mostrai_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_damnation
|
||||
chance 40
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch mostrai_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_high
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch mail_mostrai
|
||||
chance 3
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_wall_of_thorns
|
||||
end
|
|
@ -0,0 +1,75 @@
|
|||
#############################################################
|
||||
# Gaea - Goddess of peace, Guardian of life, Mother of nature
|
||||
#
|
||||
treasure Gaea
|
||||
arch gaea_avatar_info
|
||||
more
|
||||
arch gaea_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_damnation
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch gaea_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch spell_spiderweb
|
||||
chance 20
|
||||
more
|
||||
arch spell_wall_of_thorns
|
||||
more
|
||||
arch spell_insect_plague
|
||||
more
|
||||
arch spell_iron_skin
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_raise_dead
|
||||
more
|
||||
arch spell_remove_damnation
|
||||
more
|
||||
arch spell_nightfall
|
||||
more
|
||||
arch spell_sanctuary
|
||||
more
|
||||
arch spell_daylight
|
||||
more
|
||||
arch spell_resurrection
|
||||
more
|
||||
arch spell_peace
|
||||
more
|
||||
arch glovesofsun
|
||||
chance 10
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
arch spell_reincarnation
|
||||
more
|
||||
list gaea_treasure
|
||||
chance 30
|
||||
more
|
||||
arch shield_gaea
|
||||
chance 5
|
||||
end
|
||||
treasure gaea_treasure
|
||||
list random_plant
|
||||
chance 50
|
||||
no
|
||||
arch tear_gaea
|
||||
end
|
||||
end
|
|
@ -22,8 +22,8 @@ path_attuned 16388
|
|||
path_repelled 514
|
||||
path_denied 65536
|
||||
resist_fire -30
|
||||
resist_physical 40
|
||||
resist_magic 30
|
||||
resist_physical 20
|
||||
resist_magic 20
|
||||
resist_cold 80
|
||||
ac -5
|
||||
wc -3
|
||||
|
|
|
@ -2,41 +2,45 @@
|
|||
# Ixalovh - Chaos Goddess of frozen tentacles, Sea Serpent,
|
||||
# Ocean Waves
|
||||
treasure Ixalovh
|
||||
arch ixalovh_avatar_info
|
||||
arch ixalovh_avatar_info
|
||||
more
|
||||
arch ixalovh_holy_servant_info
|
||||
arch ixalovh_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
arch god_restore_spellpoints_high
|
||||
more
|
||||
arch god_cure_confusion
|
||||
arch god_heal
|
||||
more
|
||||
arch god_cure_poison
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 20
|
||||
arch god_remove_curse
|
||||
chance 20
|
||||
more
|
||||
arch ixalovh_general_info
|
||||
chance 10
|
||||
arch ixalovh_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_wave
|
||||
arch god_enchant_weapon_high
|
||||
chance 40
|
||||
more
|
||||
arch spell_siren_call
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch spell_insect_plague
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_wave
|
||||
more
|
||||
arch spell_siren_call
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
more
|
||||
arch horn_waves
|
||||
chance 3
|
||||
more
|
||||
more
|
||||
arch horn_siren
|
||||
chance 3
|
||||
end
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
#############################################################
|
||||
# Ruggilli - Chaos God of slaughter and terror, Consuming worm,
|
||||
# Greedy gut
|
||||
treasure Ruggilli
|
||||
arch ruggilli_avatar_info
|
||||
more
|
||||
arch ruggilli_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch immolation
|
||||
more
|
||||
arch immolation_immunity
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 10
|
||||
more
|
||||
arch ruggilli_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_flaming_aura
|
||||
more
|
||||
arch spell_rage
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
arch spell_retributive_strike
|
||||
more
|
||||
arch burningtail
|
||||
chance 2
|
||||
end
|
|
@ -0,0 +1,49 @@
|
|||
#############################################################
|
||||
# Sorig - Lord of Storms, King of Thunder and Lightning, Sky Lord
|
||||
#
|
||||
treasure Sorig
|
||||
arch sorig_avatar_info
|
||||
more
|
||||
arch sorig_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 20
|
||||
more
|
||||
arch sorig_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_low
|
||||
more
|
||||
arch spell_divine_shock
|
||||
chance 20
|
||||
more
|
||||
arch spell_forked_lightning
|
||||
chance 20
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_cause_critical_wounds
|
||||
more
|
||||
arch spell_windstorm
|
||||
more
|
||||
arch spell_cause_many_wounds
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
arch mithril_ar_ele_sorig
|
||||
chance 2
|
||||
end
|
|
@ -0,0 +1,37 @@
|
|||
#############################################################
|
||||
# Devourers - Soul Eaters, Harbingers of Death, Nameless Lords
|
||||
# of the Tomb
|
||||
treasure Devourers
|
||||
arch devourers_avatar_info
|
||||
more
|
||||
arch devourers_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch devourers_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_nightfall
|
||||
more
|
||||
arch spell_finger_of_death
|
||||
more
|
||||
arch spell_face_of_death
|
||||
more
|
||||
arch spell_cause_many_wounds
|
||||
more
|
||||
arch spell_cause_red_death
|
||||
more
|
||||
arch god_grace_limit_high
|
||||
more
|
||||
arch spell_cause_black_death
|
||||
chance 10
|
||||
end
|
|
@ -0,0 +1,36 @@
|
|||
#############################################################
|
||||
# Gorokh - Demon King, Duke of Hell, Temptor and Tormentor
|
||||
#
|
||||
treasure Gorokh
|
||||
arch gorokh_avatar_info
|
||||
more
|
||||
arch gorokh_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 10
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 40
|
||||
more
|
||||
arch gorokh_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_medium
|
||||
chance 50
|
||||
more
|
||||
arch spell_flaming_aura
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_rage
|
||||
more
|
||||
arch spell_vitriol
|
||||
end
|
|
@ -0,0 +1,41 @@
|
|||
#########################################################
|
||||
# Valriel - Lord of Angels, Duke of the Heavens, Healer and Protector
|
||||
#
|
||||
treasure Valriel
|
||||
arch valriel_avatar_info
|
||||
more
|
||||
arch valriel_holy_servant_info
|
||||
more
|
||||
arch god_restore_grace
|
||||
more
|
||||
arch god_restore_hitpoints
|
||||
more
|
||||
arch god_cure_confusion
|
||||
more
|
||||
arch god_cure_poison
|
||||
more
|
||||
arch valriel_player_glow
|
||||
more
|
||||
arch god_remove_curse
|
||||
chance 10
|
||||
more
|
||||
arch god_remove_damnation
|
||||
chance 60
|
||||
more
|
||||
arch god_remove_depletion
|
||||
chance 50
|
||||
more
|
||||
arch valriel_general_info
|
||||
chance 10
|
||||
more
|
||||
arch god_enchant_weapon_low
|
||||
chance 30
|
||||
more
|
||||
arch god_grace_limit_medium
|
||||
more
|
||||
arch spell_sunspear
|
||||
more
|
||||
arch spell_daylight
|
||||
more
|
||||
arch spell_wrathful_eye
|
||||
end
|
Loading…
Reference in New Issue