--- crossfire/include ---


Protocol:pserver User:anonymous
Machine:crossfire.cvs.sourceforge.net CVSROOT:/cvsroot/crossfire

Filename: spellist.h
Revision 1.35ryo_saeba 2006/03/14 09:53:13 +7 -2
Disabled some unused big arrays.
Show difference between Revision 1.34 and 1.35
Revision 1.34mwedel 2003/01/08 02:39:18 +2 -2
Bulk of this commit is to improve code for tiled maps - replace
wall/blocks_magic/blocks_cleric, etc with get_map_flags which
also does map tiling translation as needed. This should fix a lot
of the bugs related to map tiling (there are sure to be more out
there - all the get_map_ob still need to be checked).
Other changes - many spells stopped progressing on spaces that
blocked view - that is now removed - didn't make a lot of sense.
Other fixes - some cleric spells (eg, word of recall) checked to
see if magic was prohibited, didn't check to see if cleric
was prohibited.
Clean up some bugs in the lighting code that would cause erroneous
results. Also, allow players to see immediately around them on
outdoor maps no matter how dark the map really is - behaviour
on indoor maps is the same.
Lots of code reformatted, and lots of obsoleted/dead code removed.
Add max range to dimension door.
Fix magic map - got broken when the layer stuff was redone - was
not showing proper colors. IT also works sensibly on tiled maps
now - rather than display based on the map, it gives the player a
50x50 area centered on where the player is.
Change fire_bow - move special player fire modes into own function -
makes code much cleaner.
Hopefully this fixes more bugs than it introduces.
common/los.c, common/map.c, common/object.c, crossedit/Edit.c,
include/libproto.h, include/sockproto.h, include/map.h,
include/spellist.h, include/sproto.h, random_maps/treasure.c,
random_maps/wall.c, server/attack.c, server/c_misc.c,
server/c_wiz.c, server/disease.c, server/main.c, server/monster.c,
server/pets.c, server/player.c, server/rune.c, server/shop.c,
server/skill_util.c, server/skills.c, server/spell_effect.c,
server/spell_util.c, server/time.c, socket/info.c: See note above
server/apply.c: Limit number of times weapon can be enchanted so
that it won't overflow item_power. Modify enchant armor
to enchant as normal armor is enchanted, also only allows one
item to be enchanted.
MSW 2002-01-07
Show difference between Revision 1.33 and 1.34
Revision 1.33mwedel 2002/07/25 01:57:14 +6 -2
Various bug fixes, add glyph spell:
TODO: Updated
common/map.c: Fix change_map_light() - if darkness was reduced to zero,
it wouldn't properly notify the players or update the maps they are
on. Also, make it more robust to handle changes by more than one.
include/define.h: Increase NROFREALSPELLS
include/spellist.h: Add glyph spell.
include/spells.h: Add SP_GLYPH entry.
server/attack.c: Fix up kill_object() - it has had some many various
additions that it was difficult to follow the logic. It should also now
do better check on skill objects when awarding experience.
server/player.c: Add some checks/addition to properly deal with freeing the
name_pl in the player object. Fix it so that if you are braced, you
still won't attack friendly creatures.
server/rune.c: Add cast_generic_rune() to handle the glyph and rune spell.
server/spell_effect.c: Fix up some pointers in cast_cause_disease() -
needed so that it works properly when embedded in a glyph. Have it
return 1 even if no one caught anything - you still cast the spell, so
you should lose the grace for it.
server/spell_util.c: Fix some formatting. Break out the code dealing
with rune into cast_generic_rune()
socket/loop.c: Add flag to player command mapping, and update structure -
if flag is set, command can only be issued when player is in play,
and not when waiting at the quit or login prompt - fixes crashes where
players could wait for the map to get swapped out (after quitting), and
then looking at a space.
socket/request.c: Fix map2cmd so that invisible players are drawn.
MSW 2002-07-24
Show difference between Revision 1.32 and 1.33
Revision 1.32darth_bob 2001/11/05 19:33:09 +5 -2
dded a new disease, rabies
dnh 6/11/01
Show difference between Revision 1.31 and 1.32
Revision 1.31pcurrlin 2001/11/01 13:38:43 +5 -2
Added new spell: "missile swarm"
Basically, several magic missiles fired like a bullet swarm.

Philc - Nov 01, 2001
Show difference between Revision 1.30 and 1.31
Revision 1.30avogl 2001/08/30 18:55:02 +2 -2
Set the spell "flaming aura" to PATH_FIRE
which seems way more appropriate than what
it was set to before (PATH_DETONATE).
--AV
Show difference between Revision 1.29 and 1.30
Revision 1.29michtoen 2001/06/13 07:52:07 +1 -1
Modified Files:
player.c loader.l loader.c init.c request.c newserver.h
Log Message:
Removed 2 compiler warning from Scriptfire patch in loader.l/loader.c
and script.c.

added a new setup cmd: "newanim"
a client giving the newanim cmd, will enable the new animation system.

The interface is open and not server controlled at this moment.
First using is to enable the player moving in 8 direction. Giving this option to a
server without changed arch will invoke broken player animations.
This will be changed in the future.

MT 2001-06-13
Show difference between Revision 1.28 and 1.29
Revision 1.28michtoen 2001/06/13 05:50:37 +111 -108
Modified Files:
aclocal.m4 configure. configure.in Makefile.in
crossfire32.dsw crossfire32.dsp INSTALL_WIN32.txt
common: arch.c loader.c treasure.c loader.l
crossedit: Attr.c
doc: README_EXTENSIONS README_SCRIPT
include: autoconf.h define.h global.h includes.h loader.h
object.h script.h spellist.h spells.h sproto.h
version.h
server: Makefile.in apply.c attack.c c_object.c gods.c init.c
main.c monster.c player.c script.c script_spells.c
script_types.c skills.c spell_effect.c spell_util.c
time.c
Log Message:
Adding Scriptfire 0b11 to Crossfire.
Massive changes. The facts are in the doc files.

MT 2001-06-13
Show difference between Revision 1.27 and 1.28
Revision 1.27mwedel 2001/05/28 23:41:53 +1 -6
Make ALLOW_SKILLS standard part of game (remove #ifdef's for it)
Files affected: common/living.c common/object.c common/treasure.c
include/config.h include/player.h server/apply.c server/attack.c
server/c_move.c server/c_range.c server/c_wiz.c server/commands.c
server/init.c server/login.c server/monster.c server/player.c
server/rune.c server/skill_util.c server/spell_util.c
Make MULTIPLE_GODS standards part of game (remove #ifdefs for it)
Files affected: common/readable.c include/spellist.h include/config.h
server/attack.c server/gods.c server/skills.c server/spell_effect.c
server/spell_util.c
doc/Makefile.in, doc/Protocol: Add protocol description file here instead
of in the client distribution.
include/global.h: Move declaration of MAX_EXP_CAT near top of file
so it is set before player.h is included.
include/newclient.h: Add CS_STAT_SKILL* values for sending skill
experience information to client.
include/newserver.h: Add skillexp value to socket struct which determines
if client wants skill experience informatiion.
include/player.h: Add skill information tracking to player structure
so we can easily know when to send updates to client.
random_maps/expand2x.c: remove unused variable to prevent compiler warnings.
random_maps/square_spiral.c: Include prototype information on all systems,
not just win32 to prevent compiler warnings.
server/skill_util.c: Initialize skill pointers to make it easier to
find skill information when we want to update client.
socket/init.c: Init socket->skillexp to 0.
socket/loop.c: Fix indentation of table - whitespace change only
socket/metaserver.c: Minor fix to prevent compile warnings (on the sprintf
that composes the data to send to the metaserver)
socket/request.c: Redo SetUp function to be more compact and IMO simpler as
wll as easier to read (functionality remains the same).
VersionCmd modified to warn users of on dxclients (code on MT)
StatsCmd added to send skill information if client wants it.
The sending of skill experience is by MT, rest of the changes by me.
MSW 2001-05-28
Show difference between Revision 1.26 and 1.27
Revision 1.26mwedel 2001/05/11 23:04:19 +7 -1
include/config.h: Add NO_POLYMORPH feature selection
include/spellist.h: If NO_POLYMORPH is set, make it so that polymorph will
not show up in wands/rods
server/spell_util.c: Handling for NO_POLYMORPH selection
MSW 2001-05-11
Show difference between Revision 1.25 and 1.26
Revision 1.25mardahl 2001/04/18 16:24:29 +2 -2
At the suggestion of AV, divine shock's level dependence weaked 40-50% or so.
Show difference between Revision 1.24 and 1.25
Revision 1.24peterm 2001/01/24 01:19:27 +2 -2
Removed ironwood skin from wands and scrolls.
Show difference between Revision 1.23 and 1.24
Revision 1.23peterm 2001/01/23 16:35:19 +2 -2
Made divine shock take more time to gain duration.
Show difference between Revision 1.22 and 1.23
Revision 1.22peterm 2001/01/23 16:28:10 +2 -2
Remove divine shock from spell books
Show difference between Revision 1.21 and 1.22
Revision 1.21peterm 2001/01/10 22:53:17 +16 -13
Implemented Wrathful Eye and gave it to Valriel.
Show difference between Revision 1.20 and 1.21
Revision 1.20peterm 2001/01/09 01:49:19 +5 -5
Some changes having to do with the new God code.
Show difference between Revision 1.19 and 1.20
Revision 1.19peterm 2000/11/26 02:30:54 +5 -5
increased the spellpoint cost of several spells
Show difference between Revision 1.18 and 1.19
Revision 1.18peterm 2000/11/19 22:24:39 +2 -2
Turn off bookchance for ironwood skin.
Show difference between Revision 1.17 and 1.18
Revision 1.17peterm 2000/11/19 18:59:09 +19 -13
New spells added:

conflict
vitriol
ironwood skin.
Show difference between Revision 1.16 and 1.17
Revision 1.16peterm 2000/11/19 01:34:46 +4 -4
peterm: Implementation of:
1) sanctuary
2) holy rage
3) peace
4) forked lightning
5) flaming aura
6) spiderweb
Show difference between Revision 1.15 and 1.16
Revision 1.15peterm 2000/11/17 21:32:34 +31 -6
10 new spells skeleton added to spellist.h and spells.h:
SP_SANCTUARY, SP_PEACE, SP_SPIDERWEB SP_CONFLICT, SP_RAGE,
SP_FORKED_LIGHTING SP_POISON_FOG, SP_FLAME_AURA,
SP_VITRIOL

Of these, SP_SANCTUARY and SP_FLAME_AURA are partially
implemented. These two require archetypes yet.
Show difference between Revision 1.14 and 1.15
Revision 1.14peterm 2000/11/17 05:16:45 +7 -3
New spell added, Windstorm.
It pushes objects, mostly, and does a little damage.
define.h: NROFREALSPELLS++
spellist.h spells.h: "windstorm"
archetypes: new arch added for windstorm
disease.c: comment on new title parameter.
spell_effect.c, sproto.h spell*.c: implmenetation of windstorm.
Show difference between Revision 1.13 and 1.14
Revision 1.13peterm 2000/10/31 02:40:29 +3 -3
Weakened divine shock until it is about as strong as small fireball
at low level. It climbs in power pretty quick though.
Show difference between Revision 1.12 and 1.13
Revision 1.12peterm 2000/10/30 22:53:48 +6 -3
PeterM:
Divine shock spell added.
Show difference between Revision 1.11 and 1.12
Revision 1.11peterm 2000/10/20 02:57:29 +2 -2
Fix archname for cold_disease..
Show difference between Revision 1.10 and 1.11
Revision 1.10peterm 2000/10/20 01:39:26 +12 -8
New spell and modified spell paramters.
Show difference between Revision 1.9 and 1.10
Revision 1.9peterm 2000/10/16 14:26:38 +5 -5
define.h: defines added for playerchangers and class types
base 10 numbers added for the spell paths.

spellist.h: fixed up summoning spells a little

sproto.h: new prototypes

config.h: hate RECYCLE_TMP_MAPS, turned it off
--PeterM
Show difference between Revision 1.8 and 1.9
Revision 1.8peterm 2000/07/19 22:56:27 +4 -4
Some minor corrections of unintended stuff in resurrection code.
Show difference between Revision 1.7 and 1.8
Revision 1.7cvs 2000/06/04 18:23:50 +12 -15
Re-enabled the spells. I modified the code and the arcs
to make things more reasonable.
Show difference between Revision 1.6 and 1.7
Revision 1.6cvs 2000/06/02 03:42:55 +16 -13
I modified spellist.h to disable the contageous deadly disease spells.
Idunno what happened to reader.c?
Show difference between Revision 1.5 and 1.6
Revision 1.5jec 2000/04/17 09:18:13 +2 -2
See CHANGES file.
Show difference between Revision 1.4 and 1.5
Revision 1.4damn 1999/09/18 02:40:34 +1 -5
Moved everything back where it was, except materials. -- DAMN
Show difference between Revision 1.3 and 1.4
Revision 1.3damn 1999/09/17 14:29:27 +39 -14
- added mana spells, Dancing Sword, and Animate Weapon --DAMN
Show difference between Revision 1.2 and 1.3
Revision 1.2cvs 1999/07/13 01:02:52 +0 -0

Global commit for 0.95.4 - most files have no changes but just have
differing headers between my local RCS and the CVS versions and need to
get synced up.
Show difference between Revision 1.1 and 1.2
Revision 1.1uid200 1999/04/02 13:10:04 None
Initial revision
First version
Revision 1.1.1.1uid200 1999/04/02 13:10:04 +0 -0
First CVS revsion: crossfire-0.95.3
Show difference between Revision 1.1 and 1.1.1.1


File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:29