1 | /* |
1 | /* |
2 | * static char *rcsid_spellist_h = |
2 | * static char *rcsid_spellist_h = |
3 | * "$Id: spellist.h,v 1.2 2006/02/07 14:55:32 pippijn 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 |
|
|
31 | All those variables aren't used anymore. |
29 | |
32 | |
30 | spell spells[NROFREALSPELLS]={ |
33 | spell 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, |
… | |
… | |
468 | bdam: base damage or hp of spell or summoned monster |
471 | bdam: base damage or hp of spell or summoned monster |
469 | bdur: base duration of spell or base range |
472 | bdur: base duration of spell or base range |
470 | 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 |
471 | 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 |
472 | spl: number of levels beyond minimum for spell point cost to |
475 | spl: number of levels beyond minimum for spell point cost to |
473 | 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 |
474 | 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 |
475 | 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 |
476 | 1 every 2 levels. |
479 | 1 every 2 levels. |
477 | the information here is default only. It is over-ridden by |
480 | the information here is default only. It is over-ridden by |
478 | entries in LIBDIR/spell_params of the form. Please |
481 | entries in LIBDIR/spell_params of the form. Please |
479 | see spell_params.doc |
482 | see spell_params.doc |
480 | |
483 | |
481 | */ |
484 | */ |
… | |
… | |
690 | { 0, 0, 1, 1, 12}, /*cause rabies*/ |
693 | { 0, 0, 1, 1, 12}, /*cause rabies*/ |
691 | { 75, 0, 1, 0, 18}, /*asteroid*/ |
694 | { 75, 0, 1, 0, 18}, /*asteroid*/ |
692 | { 0, 0, 0, 4, 12}, /*frost nova*/ |
695 | { 0, 0, 0, 4, 12}, /*frost nova*/ |
693 | }; |
696 | }; |
694 | |
697 | |
|
|
698 | #endif /* 0 */ |
|
|
699 | |
695 | char *spellpathnames[NRSPELLPATHS] = { |
700 | const char* const spellpathnames[NRSPELLPATHS] = { |
696 | "Protection", |
701 | "Protection", |
697 | "Fire", |
702 | "Fire", |
698 | "Frost", |
703 | "Frost", |
699 | "Electricity", |
704 | "Electricity", |
700 | "Missiles", |
705 | "Missiles", |