2 #include "player-race.h"
10 * {STR,INT,WIS,DEX,CON,CHR},
11 * r_dis, r_dev, r_sav, r_stl, r_srh, r_fos, r_thn, r_thb,
20 const player_race race_info[MAX_RACES] =
29 0, 0, 0, 0, 0, 10, 0, 0,
43 { -1, 1, 1, 1, -1, 1 },
44 2, 3, 2, 1, 6, 11, -1, 5,
58 { -1, 2, 0, 1, -2, 2 },
59 5, 6, 4, 2, 8, 12, -5, 15,
74 { -2, 1, 1, 3, 2, 1 },
75 15, 12, 10, 5, 12, 15, -10, 20,
89 { -1, 2, 0, 2, 1, -1 },
90 10, 8, 7, 3, 6, 13, -8, 12,
104 { 2, -2, 2, -2, 2, -1 },
105 2, 7, 6, -1, 7, 10, 15, 0,
119 { 2, -1, 0, 0, 1, -2 },
120 -3, -3, -2, -1, 0, 7, 12, -5,
134 { 4, -4, -1, -3, 3, -3 },
135 -5, -8, -5, -2, -1, 5, 20, -10,
149 { 1, 2, 2, 2, 3, 2 },
150 4, 5, 3, 2, 3, 13, 15, 10,
164 { 1, 3, -1, 3, 1, 3 },
165 4, 13, 12, 4, 3, 14, 10, 25,
179 { 3, -2, -1, 1, 2, 0 },
180 -2, -10, 2, -1, 1, 7, 12, 10,
194 { 3, -2, 0, -1, 3, -2 },
195 -3, -5, -3, -2, -1, 5, 20, 0,
209 { 4, -2, -2, -2, 3, -2 },
210 -6, -8, -3, -2, -1, 5, 25, 5,
224 { 5, 1, 2, -2, 3, 1 },
225 -5, 5, 1, -2, 1, 8, 25, 0,
239 { 4, -3, -2, -3, 4, -3 },
240 -4, -5, -3, -2, -2, 5, 20, 12,
254 { -2, 1, 1, 1, -2, -4 },
255 2, 4, 6, 3, 5, 15, -5, -5,
269 { 2, -1, -1, 1, 2, -1 },
270 10, 5, 3, 0, -1, 10, 5, 5,
284 { 1, -1, 0, 1, 0, -2 },
285 -2, -3, -1, -1, 1, 8, 10, -8,
299 { 1, -1, 2, 0, 2, -2 },
300 3, 5, 6, 1, 5, 10, 9, 0,
314 { -1, 3, 2, 2, -2, 1 },
315 5, 10, 12, 3, 8, 12, -5, 10,
329 { 2, 1, 1, 1, 2, -1 },
330 -2, 5, 2, 0, 1, 10, 5, 5,
344 { -3, 4, 4, 0, -2, -3 },
345 10, 15, 9, 2, 5, 12, -10, -5,
359 { 0, -1, -1, 1, 2, -1 },
360 -3, 2, -1, 1, -1, 10, 5, -5,
374 { 4, -5, -5, -2, 4, -2 },
375 -5, -5, 6, -1, -1, 8, 20, 0,
389 { 0, 1, -2, 0, 1, -2 },
390 -5, 0, 3, -1, -1, 8, 10, 0,
404 { 2, -6, -6, 1, 4, -3 },
405 -5, -5, 5, -1, -1, 5, 15, 0,
419 { 3, 3, -1, -1, 1, 2 },
420 4, 8, 6, 4, 1, 8, 5, 0,
434 { -5, 4, -1, 2, 0, -3 },
435 10, 15, 12, 5, 5, 14, -15, -5,
449 { -4, 3, 3, 3, -2, 2 },
450 10, 8, 6, 4, 10, 10, -12, 0,
464 { 2, -2, -1, -1, 2, -2 },
465 -5, -2, -1, -1, -1, 5, 12, 5,
478 { 2, 0, 2, -3, 2, 0 },
479 -5, 2, 5, -1, 0, 9, 15, -5,
493 { 2, 0, 4, 1, 2, 3 },
494 0, 12, 8, 2, 2, 11, 10, 10,
510 { 4, 2, -10, 2, 3, -5 },
511 -3, 12, 15, -2, 1, 8, 20, 0,
525 { 1, 2, 2, 2, 3, 2 },
526 4, 5, 3, 2, 3, 13, 15, 10,
539 {-2, 2, 2, 1, -1, 0 },
540 7, 8, 0, 6, 12, 15, -10, -5,
554 { 0, -1, -1, 1, 2, 3 },
555 -2, 5, 5, 5, -2, 6, 0, -5,
569 { 4, -5, -5, 0, 4, -2 },
570 0, -5, 0, -2, 3, 14, 20, 10,
584 { -1, 0, 2, 1, -1, 1},
585 2, 3, 2, 1, 6, 11, -1, 5,
599 const player_race mimic_info[] =
607 { 0, 0, 0, 0, 0, 0 },
608 0, 0, 0, 0, 0, 10, 0, 0,
622 { 5, 3, 2, 3, 4, -6 },
623 -5, 18, 20, -2, 3, 10, 40, 20,
637 { 20, 20, 20, 20, 20, 20 },
638 20, 20, 25, -2, 3, 10, 70, 40,
652 { 4, 4, 1, 1, 2, 3 },
653 6, 12, 8, 6, 2, 12, 30, 20,
663 const player_race *rp_ptr;
665 SYMBOL_CODE get_summon_symbol_from_player(player_type *creature_ptr)
667 SYMBOL_CODE symbol = 'N';
668 switch (creature_ptr->mimic_form)
671 switch (creature_ptr->prace)
688 case RACE_MIND_FLAYER:
696 case RACE_HALF_TROLL:
702 case RACE_HALF_GIANT:
703 case RACE_HALF_TITAN:
717 if (one_in_(13)) symbol = 'U';
728 if (one_in_(13)) symbol = 'L';
758 if (one_in_(13)) symbol = 'U';
761 case MIMIC_DEMON_LORD: