[CF-Devel] Broken healing potions?
crossfire-devel at archives.real-time.com
crossfire-devel at archives.real-time.com
Sat Apr 3 18:30:25 CST 2004
On Thu, 1 Apr 2004, Rick Tanner wrote:
>
>
This was pointed out to me today on crossfire.metalforge.net server.
>
>
Healing potions (maybe others, haven't tested..), purchased from regular
>
stores, are broken.
>
>
Looks like the one potion is missing the associate
>
spell of heal.
>
That is the problem indeed.
In fact no potion of healing or magic power generated by
a treasurelist (monsterdrop chests etc.) does work.
Those two are the only potions using the old method
where sp = spell to cast.
The map loader (loader.l) parses these values, but
the treasure generation in treasure.c does not.
So we can either:
a.) add the transformation to treasure.c,
b.) join these two with the other generic potions.
(these are made with artifact code setting the spell in "other arch")
This is s possible as there is no treasure list containing only one
kind of potion. It does not need any code change either.
But in addition to the resource files,
about 30 map files need to be changed.
or
c.) set "other arch" accordingly in the archetypes
and get item generator to parse that.
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list