… | |
… | |
28 | #include <material.h> |
28 | #include <material.h> |
29 | #include <skills.h> |
29 | #include <skills.h> |
30 | #include <sounds.h> |
30 | #include <sounds.h> |
31 | #include <sproto.h> |
31 | #include <sproto.h> |
32 | |
32 | |
33 | typedef struct att_msg_str |
|
|
34 | { |
|
|
35 | char *msg1; |
|
|
36 | char *msg2; |
|
|
37 | } att_msg; |
|
|
38 | |
|
|
39 | /*#define ATTACK_DEBUG*/ |
33 | /*#define ATTACK_DEBUG*/ |
40 | |
34 | |
41 | /* did_make_save_item just checks to make sure the item actually |
35 | /* did_make_save_item just checks to make sure the item actually |
42 | * made its saving throw based on the tables. It does not take |
36 | * made its saving throw based on the tables. It does not take |
43 | * any further action (like destroying the item). |
37 | * any further action (like destroying the item). |
… | |
… | |
363 | if (op->destroyed ()) |
357 | if (op->destroyed ()) |
364 | break; |
358 | break; |
365 | } |
359 | } |
366 | } |
360 | } |
367 | |
361 | |
368 | return 0; |
362 | return retflag; |
369 | } |
363 | } |
370 | |
364 | |
371 | static void |
365 | static void |
372 | attack_message (int dam, int type, object *op, object *hitter) |
366 | attack_message (int dam, int type, object *op, object *hitter) |
373 | { |
367 | { |