HomeSort by: relevance | last modified time | path
    Searched refs:SPELLS (Results 1 - 7 of 7) sorted by relevancy

  /src/games/larn/
regen.c 17 subroutine to regenerate player hp and spells
49 if (d[SPELLS] < d[SPELLMAX]) /* regenerate spells */
52 d[SPELLS]++;
display.c 69 if (cbak[SPELLS] <= -50 || (always)) {
72 lprintf("Spells:%3ld(%3ld)", (long) c[SPELLS], (long) c[SPELLMAX]);
74 lprintf("Spells:%3ld(%2ld) ", (long) c[SPELLS], (long) c[SPELLMAX]);
100 botsub(makecode(SPELLS, 8, 18), "%3ld");
166 special routine to update number of spells called from regen()
171 botsub(makecode(SPELLS, 9, 18), "%2ld");
546 * enter with -1 for just spells, anything else will give scrolls & potions
556 if (arg == -1) { /* if display spells while casting one *
    [all...]
header.h 21 /* maximum number of spells in existence */
92 #define SPELLS 16
405 #define clear() (lprcat("\33[2J\33[f"), cbak[SPELLS]= -50)
426 #define clear() (*lpnt++ =CLEAR, cbak[SPELLS]= -50)
global.c 14 * losemspells(x) subroutine to lose maximum spells
15 * raisemspells(x) subroutine to gain maximum spells
110 losemspells((int) rund(3)); /* lose spells */
172 subroutine to gain maximum spells
178 c[SPELLS] += x;
184 subroutine to lose maximum spells
191 if ((c[SPELLS] -= x) < 0)
192 c[SPELLS] = 0;
create.c 39 c[SPELLMAX] = c[SPELLS] = 1; /* total # spells starts off as 3 */
57 cbak[SPELLS] = -50;
monster.c 245 if (c[SPELLS] <= 0) {
246 lprcat("\nYou don't have any spells!");
250 --c[SPELLS];
262 c[SPELLS]++;
311 /* ----- LEVEL 1 SPELLS ----- */
345 /* ----- LEVEL 2 SPELLS ----- */
399 /* ----- LEVEL 3 SPELLS ----- */
468 /* ----- LEVEL 4 SPELLS ----- */
509 /* ----- LEVEL 5 SPELLS ----- */
531 /* ----- LEVEL 6 SPELLS ----- *
    [all...]
store.c 496 c[SPELLS] = c[SPELLMAX]; /* he regenerated */

Completed in 15 milliseconds