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.3 2006/03/15 15:35:51 elmex 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, |
… | |
… | |
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 |
… | |
… | |
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 | |
689 | char *spellpathnames[NRSPELLPATHS] = { |
700 | const char *spellpathnames[NRSPELLPATHS] = { |
690 | "Protection", |
701 | "Protection", |
691 | "Fire", |
702 | "Fire", |
692 | "Frost", |
703 | "Frost", |
693 | "Electricity", |
704 | "Electricity", |
694 | "Missiles", |
705 | "Missiles", |