# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
T:47:85:80:200
T:49:80:85:250
-# Haja
+# Crusade
R:9:1
T:1:1:20:4 #0
T:2:1:15:4
T:49:95:80:200
T:50:80:85:250
-# Haja
+# Crusade
R:9:1
T:1:1:20:4 #0
T:1:1:10:4
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
T:99:0:0:0
T:99:0:0:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:1
T:1:1:20:4 #0
T:3:1:30:4
T:50:105:80:200
T:50:80:85:250
-# Haja
+# Crusade
R:9:1
T:2:1:20:4 #0
T:4:2:30:4
T:48:105:80:200
T:49:80:85:250
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
T:43:75:70:200
T:46:70:75:250
-# Haja
+# Crusade
R:9:1
T:1:1:15:4 #0
T:1:1:10:4
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
T:47:85:80:200
T:49:80:85:250
-# Haja
+# Crusade
R:9:1
T:1:1:20:4 #0
T:2:1:15:4
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
T:99:0:0:0
T:99:0:0:0
-# Haja
+# Crusade
R:9:1
T:2:1:20:4 #0
T:3:3:30:4
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:1
T:1:1:20:4 #0
T:3:1:30:4
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
# Deamon
R:8:0
-# Haja
+# Crusade
R:9:0
p_ptr->vir_types[i++] = V_FAITH;
else p_ptr->vir_types[i++] = V_JUSTICE;
break;
- case REALM_HAJA:
+ case REALM_CRUSADE:
if (virtue_number(V_JUSTICE))
p_ptr->vir_types[i++] = V_HONOUR;
else p_ptr->vir_types[i++] = V_JUSTICE;
p_ptr->vir_types[i++] = V_FAITH;
else p_ptr->vir_types[i++] = V_JUSTICE;
break;
- case REALM_HAJA:
+ case REALM_CRUSADE:
if (virtue_number(V_JUSTICE))
p_ptr->vir_types[i++] = V_HONOUR;
else p_ptr->vir_types[i++] = V_JUSTICE;
(*count)++;
auto_select = REALM_DAEMON;
}
- if (choices & CH_HAJA)
+ if (choices & CH_CRUSADE)
{
(*count)++;
- auto_select = REALM_HAJA;
+ auto_select = REALM_CRUSADE;
}
if (choices & CH_MUSIC)
{
}
else
{
- choices &= ~(CH_LIFE | CH_HAJA);
+ choices &= ~(CH_LIFE | CH_CRUSADE);
}
}
}
(o_ptr->tval == TV_TRUMP_BOOK) ||
(o_ptr->tval == TV_ENCHANT_BOOK) ||
(o_ptr->tval == TV_DAEMON_BOOK) ||
- (o_ptr->tval == TV_HAJA_BOOK) ||
+ (o_ptr->tval == TV_CRUSADE_BOOK) ||
(o_ptr->tval == TV_MUSIC_BOOK))
{
if (o_ptr->sval > 1)
}
else
{
- choices &= ~(CH_LIFE | CH_HAJA);
+ choices &= ~(CH_LIFE | CH_CRUSADE);
}
}
}
-static bool cast_haja_spell(int spell)
+static bool cast_crusade_spell(int spell)
{
int dir;
int beam;
if (randint1(100) < chance)
chg_virtue(V_JUSTICE, 1);
}
- if (realm == REALM_HAJA)
+ if (realm == REALM_CRUSADE)
{
if (randint1(100) < chance)
chg_virtue(V_JUSTICE, -1);
case REALM_DAEMON: /* DAEMON */
cast = cast_daemon_spell(spell);
break;
- case REALM_HAJA: /* HAJA */
- cast = cast_haja_spell(spell);
+ case REALM_CRUSADE: /* CRUSADE */
+ cast = cast_crusade_spell(spell);
break;
case REALM_MUSIC: /* MUSIC */
cast = cast_music_spell(spell);
chg_virtue(V_HONOUR, -1);
chg_virtue(V_TEMPERANCE, -1);
}
- else if (realm == REALM_HAJA)
+ else if (realm == REALM_CRUSADE)
{
chg_virtue(V_FAITH, 1);
chg_virtue(V_JUSTICE, 1);
if (randint1(100 + p_ptr->lev) < shouhimana) chg_virtue(V_HONOUR, -1);
if (randint1(100 + p_ptr->lev) < shouhimana) chg_virtue(V_TEMPERANCE, -1);
}
- else if (realm == REALM_HAJA)
+ else if (realm == REALM_CRUSADE)
{
if (randint1(100 + p_ptr->lev) < shouhimana) chg_virtue(V_FAITH, 1);
if (randint1(100 + p_ptr->lev) < shouhimana) chg_virtue(V_JUSTICE, 1);
chg_virtue(V_JUSTICE, 10);
else if (realm == REALM_NATURE)
chg_virtue(V_NATURE, -10);
- else if (realm == REALM_HAJA)
+ else if (realm == REALM_CRUSADE)
chg_virtue(V_JUSTICE, -10);
else
chg_virtue(V_KNOWLEDGE, -10);
#define CH_ARCANE 0x40
#define CH_ENCHANT 0x80
#define CH_DAEMON 0x100
-#define CH_HAJA 0x200
+#define CH_CRUSADE 0x200
#define CH_MUSIC 0x10000
#define CH_HISSATSU 0x20000
#define REALM_ARCANE 7
#define REALM_ENCHANT 8
#define REALM_DAEMON 9
-#define REALM_HAJA 10
+#define REALM_CRUSADE 10
#define MAX_MAGIC 10
#define MIN_TECHNIC 15
#define REALM_MUSIC 16
#define is_magic(A) ((A) < MAX_MAGIC + 1 ? TRUE : FALSE)
#define tval2realm(A) ((A) - TV_LIFE_BOOK + 1)
#define technic2magic(A) (is_magic(A) ? (A) : (A) - MIN_TECHNIC + MAX_MAGIC)
-#define is_good_realm(REALM) ((REALM) == REALM_LIFE || (REALM) == REALM_HAJA)
+#define is_good_realm(REALM) ((REALM) == REALM_LIFE || (REALM) == REALM_CRUSADE)
/*
* Magic-books for the realms
#define TV_ARCANE_BOOK 96
#define TV_ENCHANT_BOOK 97
#define TV_DAEMON_BOOK 98
-#define TV_HAJA_BOOK 99
+#define TV_CRUSADE_BOOK 99
#define TV_MUSIC_BOOK 105
#define TV_HISSATSU_BOOK 106
#define TV_GOLD 127 /* Gold can only be picked up by players */
case TV_ARCANE_BOOK:
case TV_ENCHANT_BOOK:
case TV_DAEMON_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_MUSIC_BOOK:
case TV_HISSATSU_BOOK:
{
case TV_ARCANE_BOOK:
case TV_ENCHANT_BOOK:
case TV_DAEMON_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_MUSIC_BOOK:
case TV_HISSATSU_BOOK:
{
break;
}
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
{
modstr = basenm;
#ifdef JP
{ TV_LIFE_BOOK, 1 },
{ TV_LIFE_BOOK, 1 },
- { TV_HAJA_BOOK, 0 },
- { TV_HAJA_BOOK, 0 },
- { TV_HAJA_BOOK, 1 },
- { TV_HAJA_BOOK, 1 },
+ { TV_CRUSADE_BOOK, 0 },
+ { TV_CRUSADE_BOOK, 0 },
+ { TV_CRUSADE_BOOK, 1 },
+ { TV_CRUSADE_BOOK, 1 },
{ TV_HAFTED, SV_WHIP },
{ TV_HAFTED, SV_MACE },
case TV_TRUMP_BOOK:
case TV_ENCHANT_BOOK:
case TV_DAEMON_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_MUSIC_BOOK:
case TV_HISSATSU_BOOK:
{
(tv == TV_ARCANE_BOOK) ||
(tv == TV_ENCHANT_BOOK) ||
(tv == TV_DAEMON_BOOK) ||
- (tv == TV_HAJA_BOOK) ||
+ (tv == TV_CRUSADE_BOOK) ||
(tv == TV_MUSIC_BOOK) ||
(tv == TV_HISSATSU_BOOK) ||
((o_ptr->to_a > 0) || (o_ptr->to_h + o_ptr->to_d > 0)))
else if (p_ptr->dec_mana) chance-=2;
if ((realm+1 == REALM_NATURE) && ((p_ptr->align > 50) || (p_ptr->align < -50))) chance += penalty;
- if (((realm+1 == REALM_LIFE) || (realm+1 == REALM_HAJA)) && (p_ptr->align < -20)) chance += penalty;
+ if (((realm+1 == REALM_LIFE) || (realm+1 == REALM_CRUSADE)) && (p_ptr->align < -20)) chance += penalty;
if (((realm+1 == REALM_DEATH) || (realm+1 == REALM_DAEMON)) && (p_ptr->align > 20)) chance += penalty;
/* Minimum failure rate */
}
break;
- case 9: /* Haja */
+ case 9: /* Crusade */
switch (spell)
{
case 0: sprintf(p, " %s%dd4", s_dam, 3 + ((plev - 1) / 5)); break;
case TV_ARCANE_BOOK:
case TV_ENCHANT_BOOK:
case TV_DAEMON_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_MUSIC_BOOK:
case TV_HISSATSU_BOOK:
{
case TV_ARCANE_BOOK:
case TV_ENCHANT_BOOK:
case TV_DAEMON_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_MUSIC_BOOK:
case TV_HISSATSU_BOOK:
{
switch (o_ptr->tval)
{
case TV_LIFE_BOOK:
- case TV_HAJA_BOOK:
+ case TV_CRUSADE_BOOK:
case TV_SCROLL:
case TV_POTION:
case TV_HAFTED:
(CH_LIFE | CH_SORCERY | CH_NATURE |
CH_CHAOS | CH_DEATH | CH_TRUMP |
CH_ARCANE | CH_ENCHANT | CH_DAEMON |
- CH_HAJA), /* Mage */
+ CH_CRUSADE), /* Mage */
(CH_LIFE | CH_DEATH | CH_DAEMON |
- CH_HAJA), /* Priest */
+ CH_CRUSADE), /* Priest */
(CH_SORCERY | CH_DEATH | CH_TRUMP |
CH_ARCANE | CH_ENCHANT), /* Rogue */
(CH_NATURE), /* Ranger */
- (CH_HAJA | CH_DEATH), /* Paladin */
+ (CH_CRUSADE | CH_DEATH), /* Paladin */
(CH_ARCANE), /* Warrior-Mage */
(CH_CHAOS | CH_DAEMON), /* Chaos-Warrior */
(CH_LIFE | CH_NATURE | CH_DEATH |
(CH_LIFE | CH_SORCERY | CH_NATURE |
CH_CHAOS | CH_DEATH | CH_TRUMP |
CH_ARCANE | CH_ENCHANT | CH_DAEMON |
- CH_HAJA), /* High-Mage */
+ CH_CRUSADE), /* High-Mage */
(CH_ARCANE), /* Tourist */
(CH_NONE), /* Imitation */
(CH_TRUMP), /* Beastmaster */
(CH_NONE), /* Red Mage */
(CH_HISSATSU), /* Samurai */
(CH_LIFE | CH_NATURE | CH_DEATH |
- CH_ENCHANT | CH_HAJA), /* ForceTrainer */
+ CH_ENCHANT | CH_CRUSADE), /* ForceTrainer */
(CH_NONE), /* Blue Mage */
(CH_NONE), /* Kihei */
(CH_NONE), /* Berserker */
(CH_LIFE | CH_SORCERY | CH_NATURE |
CH_CHAOS | CH_DEATH | CH_TRUMP |
CH_ARCANE | CH_ENCHANT | CH_DAEMON |
- CH_HAJA), /* Mage */
+ CH_CRUSADE), /* Mage */
(CH_LIFE | CH_SORCERY | CH_NATURE |
CH_CHAOS | CH_DEATH | CH_TRUMP |
CH_ARCANE | CH_ENCHANT | CH_DAEMON |
- CH_HAJA), /* Priest */
+ CH_CRUSADE), /* Priest */
(CH_NONE), /* Rogue */
(CH_SORCERY | CH_CHAOS | CH_DEATH |
CH_TRUMP | CH_ARCANE | CH_DAEMON), /* Ranger */
(CH_LIFE | CH_NATURE | CH_CHAOS |
CH_DEATH | CH_TRUMP | CH_ARCANE |
CH_SORCERY | CH_ENCHANT | CH_DAEMON |
- CH_HAJA), /* Warrior-Mage */
+ CH_CRUSADE), /* Warrior-Mage */
(CH_NONE), /* Chaos-Warrior */
(CH_NONE), /* Monk */
(CH_NONE), /* Mindcrafter */
{ TV_ARCANE_BOOK, "ËâË¡½ñ¡ÊÈë½Ñ¡Ë" },
{ TV_ENCHANT_BOOK, "ËâË¡½ñ¡Ê¾¢¡Ë" },
{ TV_DAEMON_BOOK, "ËâË¡½ñ¡Ê°Ëâ¡Ë" },
-{ TV_HAJA_BOOK, "ËâË¡½ñ¡ÊÇ˼١Ë" },
+{ TV_CRUSADE_BOOK, "ËâË¡½ñ¡ÊÇ˼١Ë" },
{ TV_MUSIC_BOOK, "²Î½¸" },
{ TV_HISSATSU_BOOK, "Éð·Ý¤Î½ñ" },
#else
{ TV_ARCANE_BOOK, "Books (Arcane)" },
{ TV_ENCHANT_BOOK, "Books (Craft)" },
{ TV_DAEMON_BOOK, "Books (Daemon)" },
- { TV_HAJA_BOOK, "Books (Crusade)" },
+ { TV_CRUSADE_BOOK, "Books (Crusade)" },
{ TV_MUSIC_BOOK, "Song Books" },
{ TV_HISSATSU_BOOK, "Books (Kendo)" },
#endif
{ TV_ARCANE_BOOK, "Arcane Spellbook" },
{ TV_ENCHANT_BOOK, "Craft Spellbook"},
{ TV_DAEMON_BOOK, "Daemon Spellbook"},
- { TV_HAJA_BOOK, "Crusade Spellbook"},
+ { TV_CRUSADE_BOOK, "Crusade Spellbook"},
{ TV_MUSIC_BOOK, "Music Spellbook" },
{ TV_HISSATSU_BOOK, "Book of Kendo" },
{ TV_PARCHEMENT, "Parchement" },
object_kind *k_ptr = &k_info[k_idx];
/* Analyze the item type */
- if ((k_ptr->tval >= TV_LIFE_BOOK) && (k_ptr->tval <= TV_HAJA_BOOK))
+ if ((k_ptr->tval >= TV_LIFE_BOOK) && (k_ptr->tval <= TV_CRUSADE_BOOK))
{
return (TRUE);
}
object_kind *k_ptr = &k_info[k_idx];
/* Analyze the item type */
- if ((k_ptr->tval >= TV_LIFE_BOOK) && (k_ptr->tval <= TV_HAJA_BOOK) && (k_ptr->tval != TV_ARCANE_BOOK) && (k_ptr->sval > 1))
+ if ((k_ptr->tval >= TV_LIFE_BOOK) && (k_ptr->tval <= TV_CRUSADE_BOOK) && (k_ptr->tval != TV_ARCANE_BOOK) && (k_ptr->sval > 1))
{
return (TRUE);
}