[CF-Devel] New god_intervention()
Jan Echternach
echter at informatik.uni-rostock.de
Thu Nov 16 10:17:33 CST 2000
On Thu, Nov 09, 2000 at 11:37:11PM +0100, Jan Echternach wrote:
>
I think there are only two things left until the patch can go into the
>
CVS: Writing the change log and testing the patch.
This version comes with the change log, some documentation and a small
bug fix. Still not much tested, however. The archetypes haven't
changed in this version, use the arch38b.gz from my previous mail.
--
Jan
-------------- next part --------------
common/treasure.c: Various changes to support several new flags that
affect how treasures are created and how they are inserted into objects
or put on maps.
include/config.h: Increased ARCHTABLE (size of archtype hash table).
lib/treasures: Added gods' treasure lists.
server/apply.c: do_learn_spell() and do_forget_spell(): New functions for
learning and forgetting spells. apply_spellbook() now uses do_learn_spell().
server/c_wiz.c: command_learn_spell() and command_forget_spell(): New
functions that implement the new "learnspell" and "forgetspell" wizard commands.
server/disease.c: cure_disease(): Bugfixes: Fixed loop to traverse the
whole inventory and not stop after the first disease. Corrected the return
value to return true only if a disease was cured.
server/disease.c: reduce_symptoms(): Only change speed_left of diseases whose symptoms
where actually reduced. Return true only if some symptoms were reduced.
server/gods.c: stop_using_item(): Use apply_special() directly and
unapply even cursed or damned items.
server/gods.c: god_intervention(): Rewrote this basically from scratch,
now uses the god's treasure list to determine the effects.
server/player.c: give_initial_items(): Use new GT_STARTEQUIP and
GT_ONLY_GOOD flags. FLAG_STARTEQUIP is now set by create_treasure(),
and we also won't get any cursed items. Don't give players the same spell
twice.
server/skills.c: pray(): Fixed a typo.
server/spell_effect.c: cast_heal(): Fixed return value. Don't freeze
the caster if the spell had no effect.
server/summon_avatar(): Don't use the god archetype itself as its avatar.
Use determine_holy_arch() instead (for both avatars and holy servants).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch38c.gz
Type: application/x-gunzip
Size: 15384 bytes
Desc: not available
Url :
http://shadowknight.real-time.com/pipermail/crossfire/attachments/20001116/9d9cd345/patch38c.bin
More information about the crossfire
mailing list