Searched refs:spe (Results 1 - 25 of 104) sorted by relevance

12345

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dread.c161 if (obj->spe > 0) {
162 obj->spe = 0;
225 if (obj->spe == -1) obj->spe = 0;
260 if (obj->spe < n) obj->spe = n;
261 else obj->spe++;
262 if (obj->otyp == WAN_WISHING && obj->spe > 3) {
266 if (obj->spe >= lim) p_glow2(obj, NH_BLUE);
277 if (obj->spe > rn
[all...]
H A Dwrite.c169 if(pen->spe < basecost/2) {
181 if (pen->spe < actualcost) {
182 pen->spe = 0;
196 pen->spe -= actualcost;
233 if (new_obj->otyp == SCR_MAIL) new_obj->spe = 1;
H A Dobjnam.c342 if(f->fid == obj->spe) {
347 if (!f) impossible("Bad fruit #%d?", obj->spe);
353 if(obj->spe > 0)
370 (Role_if(PM_ARCHEOLOGIST) && (obj->spe & STATUE_HISTORIC)) ? "historic " : "" ,
470 Sprintf(buf,"glorkum %d %d %d", obj->oclass, typ, obj->spe);
638 Strcat(prefix, sitoa(obj->spe));
666 if (!obj->spe)
669 Sprintf(tmpbuf, "%d", obj->spe);
671 tmpbuf, plur(obj->spe),
690 Sprintf(eos(bp), " (%d:%d)", (int)obj->recharged, obj->spe);
1758 int cnt, spe, spesgn, typ, very, rechrg; local
[all...]
H A Dbones.c86 if (otmp->otyp == SLIME_MOLD) goodfruit(otmp->spe);
88 else if (otmp->otyp == SCR_MAIL) otmp->spe = 1;
90 else if (otmp->otyp == EGG) otmp->spe = 0;
105 if (otmp->spe > 0)
106 otmp->quan = (long)otmp->spe;
107 otmp->spe = 0;
138 if(otmp->otyp == SLIME_MOLD) goodfruit(otmp->spe);
H A Dextralev.c311 ghostobj->spe = rnd(3);
315 ghostobj->spe = rnd(5) - 2;
319 ghostobj->spe = 1;
323 ghostobj->spe = 0;
330 ghostobj->spe = rn2(3);
335 ghostobj->spe = rnd(5) - 2;
H A Dmkobj.c191 otmp->spe = 0;
394 otmp->spe = rne(3);
398 otmp->spe = -rne(3);
435 otmp->spe = 1; /* spinach */
447 otmp->spe = current_fruit;
466 case WAX_CANDLE: otmp->spe = 1;
475 case OIL_LAMP: otmp->spe = 1;
480 case MAGIC_LAMP: otmp->spe = 1;
496 case MAGIC_MARKER: otmp->spe = rn1(70,30);
498 case CAN_OF_GREASE: otmp->spe
[all...]
H A Dmuse.c127 int dam = d(obj->spe+2, 6);
433 if (obj->otyp == WAN_DIGGING && obj->spe > 0 && !stuck && !t
449 if(obj->otyp == WAN_TELEPORTATION && obj->spe > 0) {
490 if(obj->otyp == WAN_CREATE_MONSTER && obj->spe > 0) {
506 if (obj->otyp == WAN_CREATE_MONSTER && obj->spe > 0) {
575 otmp->spe--;
602 otmp->spe--;
648 otmp->spe--;
689 otmp->spe--;
992 if(obj->otyp == WAN_DEATH && obj->spe >
[all...]
H A Dmakemon.c253 otmp->spe = rnd(3);
274 otmp->spe = max(otmp->spe, spe2);
282 otmp->spe = 0;
615 if (otmp->spe < 2) otmp->spe = rnd(3);
626 otmp->spe = 1; /* flag for special box */
1490 int spe; local
1501 if(otmp->spe < 0) otmp->spe
[all...]
H A Dengrave.c764 if ((int)otmp->spe > -3)
779 if (otmp->spe <= 0)
860 if (zapwand && (otmp->spe < 0)) {
1030 maxelen = ((otmp->spe + 3) * 2) + 1;
1047 otmp->spe = -3;
1049 otmp->spe -= len >> 1;
1050 else otmp->spe -= 1; /* Prevent infinite engraving */
1068 maxelen = (otmp->spe) * 2; /* one charge / 2 letters */
1071 otmp->spe = 0;
1074 if (len > 1) otmp->spe
[all...]
H A Dwield.c636 target->spe = 0;
729 /* there is a (soft) upper and lower limit to uwep->spe */
730 if(((uwep->spe > 5 && amount >= 0) || (uwep->spe < -5 && amount < 0))
751 uwep->spe += amount;
757 * spe dependent. Give an obscure clue here.
759 if (uwep->oartifact == ART_MAGICBANE && uwep->spe >= 0) {
762 (((amount > 1) && (uwep->spe > 1)) ? "flin" : "it"));
767 if ((uwep->spe > 5)
H A Dmplayer.c107 obj->spe = rn2(10) ? (rn2(3) ? rn2(5) : rn1(4,4)) : -rnd(3);
229 otmp->spe = (special ? rn1(5,4) : rn2(4));
236 otmp->spe = rnd(4);
H A Dzap.c300 if (sleep_monst(mtmp, d(1 + otmp->spe, 12), WAND_CLASS))
818 ABON(A_STR) -= obj->spe;
824 ABON(A_CON) -= obj->spe;
830 ABON(A_CHA) -= obj->spe;
836 u.uhitinc -= obj->spe;
840 u.udaminc -= obj->spe;
844 ABON(A_DEX) -= obj->spe;
850 ABON(A_INT) -= obj->spe;
851 ABON(A_WIS) -= obj->spe;
858 || (obj->spe
[all...]
H A Ddo_wear.c305 adj_abon(uarmh, uarmh->spe);
377 if (!cancelled_don) adj_abon(uarmh, -uarmh->spe);
410 adj_abon(uarmg, uarmg->spe);
437 if (!cancelled_don) adj_abon(uarmg, -uarmg->spe);
757 ABON(which) += obj->spe;
768 u.uhitinc += obj->spe;
771 u.udaminc += obj->spe;
777 if (obj->spe || objects[RIN_PROTECTION].oc_name_known) {
862 ABON(which) -= obj->spe;
871 u.uhitinc -= obj->spe;
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dread.c161 if (obj->spe > 0) {
162 obj->spe = 0;
225 if (obj->spe == -1) obj->spe = 0;
260 if (obj->spe < n) obj->spe = n;
261 else obj->spe++;
262 if (obj->otyp == WAN_WISHING && obj->spe > 3) {
266 if (obj->spe >= lim) p_glow2(obj, NH_BLUE);
277 if (obj->spe > rn
[all...]
H A Dwrite.c169 if(pen->spe < basecost/2) {
181 if (pen->spe < actualcost) {
182 pen->spe = 0;
196 pen->spe -= actualcost;
233 if (new_obj->otyp == SCR_MAIL) new_obj->spe = 1;
H A Dobjnam.c342 if(f->fid == obj->spe) {
347 if (!f) impossible("Bad fruit #%d?", obj->spe);
353 if(obj->spe > 0)
370 (Role_if(PM_ARCHEOLOGIST) && (obj->spe & STATUE_HISTORIC)) ? "historic " : "" ,
470 Sprintf(buf,"glorkum %d %d %d", obj->oclass, typ, obj->spe);
638 Strcat(prefix, sitoa(obj->spe));
666 if (!obj->spe)
669 Sprintf(tmpbuf, "%d", obj->spe);
671 tmpbuf, plur(obj->spe),
690 Sprintf(eos(bp), " (%d:%d)", (int)obj->recharged, obj->spe);
1758 int cnt, spe, spesgn, typ, very, rechrg; local
[all...]
H A Dbones.c86 if (otmp->otyp == SLIME_MOLD) goodfruit(otmp->spe);
88 else if (otmp->otyp == SCR_MAIL) otmp->spe = 1;
90 else if (otmp->otyp == EGG) otmp->spe = 0;
105 if (otmp->spe > 0)
106 otmp->quan = (long)otmp->spe;
107 otmp->spe = 0;
138 if(otmp->otyp == SLIME_MOLD) goodfruit(otmp->spe);
H A Dextralev.c311 ghostobj->spe = rnd(3);
315 ghostobj->spe = rnd(5) - 2;
319 ghostobj->spe = 1;
323 ghostobj->spe = 0;
330 ghostobj->spe = rn2(3);
335 ghostobj->spe = rnd(5) - 2;
H A Dmkobj.c191 otmp->spe = 0;
394 otmp->spe = rne(3);
398 otmp->spe = -rne(3);
435 otmp->spe = 1; /* spinach */
447 otmp->spe = current_fruit;
466 case WAX_CANDLE: otmp->spe = 1;
475 case OIL_LAMP: otmp->spe = 1;
480 case MAGIC_LAMP: otmp->spe = 1;
496 case MAGIC_MARKER: otmp->spe = rn1(70,30);
498 case CAN_OF_GREASE: otmp->spe
[all...]
H A Dmuse.c127 int dam = d(obj->spe+2, 6);
433 if (obj->otyp == WAN_DIGGING && obj->spe > 0 && !stuck && !t
449 if(obj->otyp == WAN_TELEPORTATION && obj->spe > 0) {
490 if(obj->otyp == WAN_CREATE_MONSTER && obj->spe > 0) {
506 if (obj->otyp == WAN_CREATE_MONSTER && obj->spe > 0) {
575 otmp->spe--;
602 otmp->spe--;
648 otmp->spe--;
689 otmp->spe--;
992 if(obj->otyp == WAN_DEATH && obj->spe >
[all...]
H A Dmakemon.c253 otmp->spe = rnd(3);
274 otmp->spe = max(otmp->spe, spe2);
282 otmp->spe = 0;
615 if (otmp->spe < 2) otmp->spe = rnd(3);
626 otmp->spe = 1; /* flag for special box */
1490 int spe; local
1501 if(otmp->spe < 0) otmp->spe
[all...]
H A Dengrave.c764 if ((int)otmp->spe > -3)
779 if (otmp->spe <= 0)
860 if (zapwand && (otmp->spe < 0)) {
1030 maxelen = ((otmp->spe + 3) * 2) + 1;
1047 otmp->spe = -3;
1049 otmp->spe -= len >> 1;
1050 else otmp->spe -= 1; /* Prevent infinite engraving */
1068 maxelen = (otmp->spe) * 2; /* one charge / 2 letters */
1071 otmp->spe = 0;
1074 if (len > 1) otmp->spe
[all...]
H A Dwield.c636 target->spe = 0;
729 /* there is a (soft) upper and lower limit to uwep->spe */
730 if(((uwep->spe > 5 && amount >= 0) || (uwep->spe < -5 && amount < 0))
751 uwep->spe += amount;
757 * spe dependent. Give an obscure clue here.
759 if (uwep->oartifact == ART_MAGICBANE && uwep->spe >= 0) {
762 (((amount > 1) && (uwep->spe > 1)) ? "flin" : "it"));
767 if ((uwep->spe > 5)
H A Dmplayer.c107 obj->spe = rn2(10) ? (rn2(3) ? rn2(5) : rn1(4,4)) : -rnd(3);
229 otmp->spe = (special ? rn1(5,4) : rn2(4));
236 otmp->spe = rnd(4);
H A Dzap.c300 if (sleep_monst(mtmp, d(1 + otmp->spe, 12), WAND_CLASS))
818 ABON(A_STR) -= obj->spe;
824 ABON(A_CON) -= obj->spe;
830 ABON(A_CHA) -= obj->spe;
836 u.uhitinc -= obj->spe;
840 u.udaminc -= obj->spe;
844 ABON(A_DEX) -= obj->spe;
850 ABON(A_INT) -= obj->spe;
851 ABON(A_WIS) -= obj->spe;
858 || (obj->spe
[all...]

Completed in 225 milliseconds

12345