--- deliantra/server/include/spells.h 2006/08/12 14:12:03 1.2 +++ deliantra/server/include/spells.h 2007/07/01 05:00:18 1.12 @@ -1,31 +1,26 @@ /* - * static char *rcsid_spells_h = - * "$Id$"; + * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. + * + * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team + * Copyright (©) 2002-2003,2007 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992,2007 Frank Tore Johansen + * + * Crossfire TRT is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * The authors can be reached via e-mail to */ -/* - CrossFire, A Multiplayer game for X-windows - - Copyright (C) 2002-2003 Mark Wedel & Crossfire Development Team - Copyright (C) 1992 Frank Tore Johansen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - The authors can be reached via e-mail at crossfire-devel@real-time.com -*/ - #ifndef SPELLS_H #define SPELLS_H @@ -52,7 +47,7 @@ #define PATH_LIGHT 0x00080000 /* 524288 */ #define PATH_SP_MULT(op,spell) (((op->path_attuned & spell->path_attuned) ? 0.8 : 1) * \ - ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) + ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) #define NRSPELLPATHS 20 extern const char* const spellpathnames[NRSPELLPATHS]; @@ -72,7 +67,7 @@ #define SPELL_HIGHEST 0x3 /* This is the subtype for the spells. Start at 1 so that - * it is easy to see 0 as an uninitialized value. + * it is easy to see 0 as an uninitialised value. * Note that for some spells, subtype pretty accurately * describes the entire spell (SP_DETECT_MAGIC). But for other, the subtype * may not really say much (eg, SP_BOLT), and it is other @@ -129,7 +124,6 @@ #define SP_AURA 46 #define SP_TOWN_PORTAL 47 #define SP_PARTY_SPELL 48 -#define SP_PERL 49 /* a perl/plugin handled spell */ /* Potion subtypes */ #define POT_SPELL 1 @@ -142,7 +136,7 @@ #define FORCE_CHANGE_ABILITY 2 #define PATH_TIME_MULT(op,spell) (((op->path_attuned & spell->path_attuned) ? 0.8 : 1) * \ - ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) + ((op->path_repelled & spell->path_attuned) ? 1.25 : 1)) /* These are some hard coded values that are used within the code * for spell failure effects or pieces of spells. Rather