ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/spellist.h
(Generate patch)

Comparing deliantra/server/include/spellist.h (file contents):
Revision 1.1 by root, Fri Feb 3 07:12:51 2006 UTC vs.
Revision 1.5 by root, Tue Aug 29 08:01:36 2006 UTC

1/* 1/*
2 * static char *rcsid_spellist_h = 2 * static char *rcsid_spellist_h =
3 * "$Id: spellist.h,v 1.1 2006/02/03 07:12:51 root Exp $"; 3 * "$Id: spellist.h,v 1.5 2006/08/29 08:01:36 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
24 24
25 The author can be reached via e-mail to mark@pyramid.com 25 The author can be reached via e-mail to mark@pyramid.com
26*/ 26*/
27 27
28#include "spells.h" 28#include "spells.h"
29
30#if 0
31All those variables aren't used anymore.
29 32
30spell spells[NROFREALSPELLS]={ 33spell spells[NROFREALSPELLS]={
31/* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self 34/* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self
32 path, other arch*/ 35 path, other arch*/
33{"magic bullet", 1, 1, 99, 2, 0, 0, 10, 1, 0, 0, 0, 36{"magic bullet", 1, 1, 99, 2, 0, 0, 10, 1, 0, 0, 0,
453 PATH_MISSILE,"magic_missile"}, 456 PATH_MISSILE,"magic_missile"},
454{"cause rabies", 12, 120, 0, 10, 0, 0, 0, 1, 0, 1, 0, 457{"cause rabies", 12, 120, 0, 10, 0, 0, 0, 1, 0, 1, 0,
455 PATH_WOUNDING,"rabies"}, 458 PATH_WOUNDING,"rabies"},
456{"glyph", 12, 5, 0, 30, 0, 0, 1, 0, 0, 1, 0, 459{"glyph", 12, 5, 0, 30, 0, 0, 1, 0, 0, 1, 0,
457 PATH_CREATE, "generic_rune",}, 460 PATH_CREATE, "generic_rune",},
461{"asteroid", 8,15, 0, 20, 0, 0, 0, 1, 0, 0, 0,
462 PATH_MISSILE, NULL,},
463{"frost nova", 12,30, 0, 30, 0, 0, 0, 1, 0, 0, 0,
464 PATH_MISSILE, "asteroid",},
458}; 465};
459/* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self 466/* name,lvl,sp,charges,time,scrolls[nr,chance],book-chance,rng,defensive,cleric,self
460 path, other arch*/ 467 path, other arch*/
461 468
462/* peterm: the following defines the parameters for all the 469/* peterm: the following defines the parameters for all the
464 bdam: base damage or hp of spell or summoned monster 471 bdam: base damage or hp of spell or summoned monster
465 bdur: base duration of spell or base range 472 bdur: base duration of spell or base range
466 ldam: levels you need over the min for the spell to gain one dam 473 ldam: levels you need over the min for the spell to gain one dam
467 ldur: levels you need over the min for the spell to gain one dur 474 ldur: levels you need over the min for the spell to gain one dur
468 spl: number of levels beyond minimum for spell point cost to 475 spl: number of levels beyond minimum for spell point cost to
469 increase by amount equal to base cost. i.e. if base cost 476 increase by amount equal to base cost. i.e. if base cost
470 is 10 at level 2 and spl is 5, cost will increase by 2 per 477 is 10 at level 2 and spl is 5, cost will increase by 2 per
471 level. if base cost is 5 and spl is 10, cost increases by 478 level. if base cost is 5 and spl is 10, cost increases by
472 1 every 2 levels. 479 1 every 2 levels.
473 the information here is default only. It is over-ridden by 480 the information here is default only. It is over-ridden by
474 entries in LIBDIR/spell_params of the form. Please 481 entries in LIBDIR/spell_params of the form. Please
475 see spell_params.doc 482 see spell_params.doc
476 483
477*/ 484*/
682{ 0, 0, 5, 4, 6}, /*ironwood skin*/ 689{ 0, 0, 5, 4, 6}, /*ironwood skin*/
683{ 20, 5, 3, 5, 7}, /*wrathful eye*/ 690{ 20, 5, 3, 5, 7}, /*wrathful eye*/
684{ 0, 5, 3, 5, 0}, /*town portal*/ 691{ 0, 5, 3, 5, 0}, /*town portal*/
685{ 0, 0, 0, 4, 12}, /*missile swarm*/ 692{ 0, 0, 0, 4, 12}, /*missile swarm*/
686{ 0, 0, 1, 1, 12}, /*cause rabies*/ 693{ 0, 0, 1, 1, 12}, /*cause rabies*/
694{ 75, 0, 1, 0, 18}, /*asteroid*/
695{ 0, 0, 0, 4, 12}, /*frost nova*/
687}; 696};
688 697
698#endif /* 0 */
699
689char *spellpathnames[NRSPELLPATHS] = { 700const char* const spellpathnames[NRSPELLPATHS] = {
690 "Protection", 701 "Protection",
691 "Fire", 702 "Fire",
692 "Frost", 703 "Frost",
693 "Electricity", 704 "Electricity",
694 "Missiles", 705 "Missiles",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines