OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:armor
(Results
1 - 10
of
10
) sorted by relevancy
/src/games/rogue/
pack.c
185
unwear(rogue.
armor
);
320
if (rogue.
armor
) {
321
if (rogue.
armor
->is_cursed) {
325
obj = rogue.
armor
;
326
unwear(rogue.
armor
);
344
if (rogue.
armor
) {
348
ch = pack_letter("wear what?",
ARMOR
);
357
if (obj->what_is !=
ARMOR
) {
375
rogue.
armor
= NULL;
381
rogue.
armor
= obj
[
all
...]
message.c
295
if (rogue.
armor
&& (rogue.
armor
->d_enchant > MAX_ARMOR)) {
296
rogue.
armor
->d_enchant = MAX_ARMOR;
298
mvprintw(row, 53, "%-2d", get_armor_class(rogue.
armor
));
spec_hit.c
106
if ((!rogue.
armor
) || (get_armor_class(rogue.
armor
) <= 1) ||
107
(rogue.
armor
->which_kind == LEATHER)) {
110
if ((rogue.
armor
->is_protected) || maintain_armor) {
116
rogue.
armor
->d_enchant--;
117
messagef(0, "your
armor
weakens");
133
freeze_percent -= (get_armor_class(rogue.
armor
) * 5);
399
sting_chance += (6 * (6 - get_armor_class(rogue.
armor
)));
use.c
235
if (rogue.
armor
) {
236
messagef(0, "your
armor
glows %sfor a moment",
238
rogue.
armor
->d_enchant++;
239
rogue.
armor
->is_cursed = 0;
259
if (rogue.
armor
) {
260
messagef(0, "your
armor
is covered by a shimmering gold shield");
261
rogue.
armor
->is_protected = 1;
262
rogue.
armor
->is_cursed = 0;
386
if (obj->what_is & (SCROL | POTION | WEAPON |
ARMOR
| WAND | RING)) {
zap.c
375
if (rand_percent(10 + (3 * get_armor_class(rogue.
armor
)))) {
382
damage -= get_armor_class(rogue.
armor
);
throw.c
101
unwear(rogue.
armor
);
inventory.c
171
{'W', "W wear
armor
"},
173
{'T', "T take
armor
off"},
186
{']', "] print current
armor
"},
243
descs[i].sepchar = ((obj->what_is &
ARMOR
) && obj->is_protected)
556
if (obj->what_is & (WEAPON |
ARMOR
| WAND | RING)) {
635
case
ARMOR
:
722
ch2 = ((obj->what_is &
ARMOR
) && obj->is_protected) ? '}' : ')';
741
case
ARMOR
:
757
if (rogue.
armor
) {
758
single_inv(rogue.
armor
->ichar)
[
all
...]
hit.c
106
minus = (float)get_armor_class(rogue.
armor
) * 3.00;
score.c
143
unwear(rogue.
armor
);
576
case
ARMOR
:
rogue.h
62
#define
ARMOR
((unsigned short) 01)
257
object *
armor
;
member in struct:fightr
Completed in 19 milliseconds
Indexes created Sat Oct 18 08:10:09 GMT 2025