From: Deskull Date: Fri, 8 Feb 2019 00:24:56 +0000 (+0900) Subject: [Refactor] #37353 ACT_* と activation_info を cmd-activate.c/h へ移動。 / Move ACT_* and... X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3dde055c7268532a6c82e26b2802cc7aaa99863e;p=hengband%2Fhengband.git [Refactor] #37353 ACT_* と activation_info を cmd-activate.c/h へ移動。 / Move ACT_* and activation_info to cmd-activate.c/h. --- diff --git a/src/cmd-activate.c b/src/cmd-activate.c index 38083898f..2debb1a10 100644 --- a/src/cmd-activate.c +++ b/src/cmd-activate.c @@ -19,6 +19,279 @@ #include "player-status.h" /*! + * @brief アイテムの発動効果テーブル / + * Define flags, levels, values of activations + */ +const activation_type activation_info[] = +{ + { "SUNLIGHT", ACT_SUNLIGHT, 10, 250, {10, 0}, + _("太陽光線", "beam of sunlight") }, + { "BO_MISS_1", ACT_BO_MISS_1, 10, 250, {2, 0}, + _("マジック・ミサイル(2d6)", "magic missile (2d6)") }, + { "BA_POIS_1", ACT_BA_POIS_1, 10, 300, {4, 0}, + _("悪臭雲(12)", "stinking cloud (12)") }, + { "BO_ELEC_1", ACT_BO_ELEC_1, 20, 250, {5, 0}, + _("サンダー・ボルト(4d8)", "lightning bolt (4d8)") }, + { "BO_ACID_1", ACT_BO_ACID_1, 20, 250, {6, 0}, + _("アシッド・ボルト(5d8)", "acid bolt (5d8)") }, + { "BO_COLD_1", ACT_BO_COLD_1, 20, 250, {7, 0}, + _("アイス・ボルト(6d8)", "frost bolt (6d8)") }, + { "BO_FIRE_1", ACT_BO_FIRE_1, 20, 250, {8, 0}, + _("ファイア・ボルト(9d8)", "fire bolt (9d8)") }, + { "BA_COLD_1", ACT_BA_COLD_1, 30, 750, {6, 0}, + _("アイス・ボール(48)", "ball of cold (48)") }, + { "BA_COLD_2", ACT_BA_COLD_2, 40, 1000, {12, 0}, + _("アイス・ボール(100)", "ball of cold (100)") }, + { "BA_COLD_3", ACT_BA_COLD_3, 70, 2500, {50, 0}, + _("巨大アイス・ボール(400)", "ball of cold (400)") }, + { "BA_FIRE_1", ACT_BA_FIRE_1, 30, 1000, {9, 0}, + _("ファイア・ボール(72)", "ball of fire (72)") }, + { "BA_FIRE_2", ACT_BA_FIRE_2, 40, 1500, {15, 0}, + _("巨大ファイア・ボール(120)", "large fire ball (120)") }, + { "BA_FIRE_3", ACT_BA_FIRE_3, 60, 1750, {40, 0}, + _("巨大ファイア・ボール(300)", "fire ball (300)") }, + { "BA_FIRE_4", ACT_BA_FIRE_4, 40, 1000, {12, 0}, + _("ファイア・ボール(100)", "fire ball (100)") }, + { "BA_ELEC_2", ACT_BA_ELEC_2, 40, 1000, {12, 0}, + _("サンダー・ボール(100)", "ball of lightning (100)") }, + { "BA_ELEC_3", ACT_BA_ELEC_3, 70, 2500, {70, 0}, + _("巨大サンダー・ボール(500)", "ball of lightning (500)") }, + { "BA_ACID_1", ACT_BA_ACID_1, 30, 1000, {12, 0}, + _("アシッド・ボール(100)", "ball of acid (100)") }, + { "BA_NUKE_1", ACT_BA_NUKE_1, 50, 1000, {12, 0}, + _("放射能球(100)", "ball of nuke (100)") }, + { "HYPODYNAMIA_1", ACT_HYPODYNAMIA_1, 30, 500, {12, 0}, + _("窒息攻撃(100)", "a strangling attack (100)") }, + { "HYPODYNAMIA_2", ACT_HYPODYNAMIA_2, 40, 750, {15, 0}, + _("衰弱の矢(120)", "hypodynamic bolt (120)") }, + { "DRAIN_1", ACT_DRAIN_1, 40, 1000, {20, 0}, + _("吸収の矢(3*50)", "drain bolt (3*50)") }, + { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0}, + _("矢(150)", "arrows (150)") }, + { "WHIRLWIND", ACT_WHIRLWIND, 50, 7500, {25, 0}, + _("カマイタチ", "whirlwind attack") }, + { "DRAIN_2", ACT_DRAIN_2, 50, 2500, {40, 0}, + _("吸収の矢(3*100)", "drain bolt (3*100)") }, + { "CALL_CHAOS", ACT_CALL_CHAOS, 70, 5000, {35, 0}, + _("混沌召来", "call chaos") }, + { "ROCKET", ACT_ROCKET, 70, 5000, {20, 0}, + _("ロケット(120+レベル)", "launch rocket (120+level)") }, + { "DISP_EVIL", ACT_DISP_EVIL, 50, 4000, {50, 0}, + _("邪悪退散(x5)", "dispel evil (x5)") }, + { "BA_MISS_3", ACT_BA_MISS_3, 50, 1500, {50, 0}, + _("エレメントのブレス(300)", "elemental breath (300)") }, + { "DISP_GOOD", ACT_DISP_GOOD, 50, 3500, {50, 0}, + _("善良退散(x5)", "dispel good (x5)") }, + { "BO_MANA", ACT_BO_MANA, 40, 1500, {20, 0}, + _("魔法の矢(150)", "a magical arrow (150)") }, + { "BA_WATER", ACT_BA_WATER, 50, 2000, {25, 0}, + _("ウォーター・ボール(200)", "water ball (200)") }, + { "BA_STAR", ACT_BA_STAR, 50, 2200, {25, 0}, + _("巨大スター・ボール(200)", "large star ball (200)") }, + { "BA_DARK", ACT_BA_DARK, 50, 2200, {30, 0}, + _("暗黒の嵐(250)", "darkness storm (250)") }, + { "BA_MANA", ACT_BA_MANA, 70, 2500, {30, 0}, + _("魔力の嵐(250)", "a mana storm (250)") }, + { "PESTICIDE", ACT_PESTICIDE, 10, 500, {10, 0}, + _("害虫の駆除", "dispel small life") }, + { "BLINDING_LIGHT", ACT_BLINDING_LIGHT, 30, 5000, {40, 0}, + _("眩しい光", "blinding light") }, + { "BIZARRE", ACT_BIZARRE, 90, 10000, {50, 0}, + _("信じ難いこと", "bizarre things") }, + { "CAST_BA_STAR", ACT_CAST_BA_STAR, 70, 7500, {100, 0}, + _("スター・ボール・ダスト(150)", "cast star balls (150)") }, + { "BLADETURNER", ACT_BLADETURNER, 80, 20000, {80, 0}, + _("エレメントのブレス(300), 士気高揚、祝福、耐性", "breathe elements (300), hero, bless, and resistance") }, + { "BR_FIRE", ACT_BR_FIRE, 50, 5000, {-1, 0}, + _("火炎のブレス (200)", "fire breath (200)") }, + { "BR_COLD", ACT_BR_COLD, 50, 5000, {-1, 0}, + _("冷気のブレス (200)", "cold breath (200)") }, + { "BR_DRAGON", ACT_BR_DRAGON, 70, 10000, { 30, 0 }, + "" /* built by item_activation_dragon_breath() */ }, + + { "CONFUSE", ACT_CONFUSE, 10, 500, {10, 0}, + _("パニック・モンスター", "confuse monster") }, + { "SLEEP", ACT_SLEEP, 10, 750, {15, 0}, + _("周囲のモンスターを眠らせる", "sleep nearby monsters") }, + { "QUAKE", ACT_QUAKE, 30, 600, {20, 0}, + _("地震", "earthquake") }, + { "TERROR", ACT_TERROR, 20, 2500, {-1, 0}, + _("恐慌", "terror") }, + { "TELE_AWAY", ACT_TELE_AWAY, 20, 2000, {15, 0}, + _("テレポート・アウェイ", "teleport away") }, + { "BANISH_EVIL", ACT_BANISH_EVIL, 40, 2000, {250, 0}, + _("邪悪消滅", "banish evil") }, + { "GENOCIDE", ACT_GENOCIDE, 50, 10000, {500, 0}, + _("抹殺", "genocide") }, + { "MASS_GENO", ACT_MASS_GENO, 50, 10000, {1000, 0}, + _("周辺抹殺", "mass genocide") }, + { "SCARE_AREA", ACT_SCARE_AREA, 20, 2500, {20, 0}, + _("モンスター恐慌", "frighten monsters") }, + { "AGGRAVATE", ACT_AGGRAVATE, 0, 100, {0, 0}, + _("モンスターを怒らせる", "aggravete monsters") }, + + { "CHARM_ANIMAL", ACT_CHARM_ANIMAL, 40, 7500, {200, 0}, + _("動物魅了", "charm animal") }, + { "CHARM_UNDEAD", ACT_CHARM_UNDEAD, 40, 10000, {333, 0}, + _("アンデッド従属", "enslave undead") }, + { "CHARM_OTHER", ACT_CHARM_OTHER, 40, 10000, {400, 0}, + _("モンスター魅了", "charm monster") }, + { "CHARM_ANIMALS", ACT_CHARM_ANIMALS, 40, 12500, {500, 0}, + _("動物友和", "animal friendship") }, + { "CHARM_OTHERS", ACT_CHARM_OTHERS, 40, 17500, {750, 0}, + _("周辺魅了", "mass charm") }, + { "SUMMON_ANIMAL", ACT_SUMMON_ANIMAL, 50, 10000, {200, 300}, + _("動物召喚", "summon animal") }, + { "SUMMON_PHANTOM", ACT_SUMMON_PHANTOM, 50, 12000, {200, 200}, + _("幻霊召喚", "summon phantasmal servant") }, + { "SUMMON_ELEMENTAL", ACT_SUMMON_ELEMENTAL, 50, 15000, {750, 0}, + _("エレメンタル召喚", "summon elemental") }, + { "SUMMON_DEMON", ACT_SUMMON_DEMON, 50, 20000, {666, 0}, + _("悪魔召喚", "summon demon") }, + { "SUMMON_UNDEAD", ACT_SUMMON_UNDEAD, 50, 20000, {666, 0}, + _("アンデッド召喚", "summon undead") }, + { "SUMMON_HOUND", ACT_SUMMON_HOUND, 50, 15000, {300, 0}, + _("ハウンド召喚", "summon hound") }, + { "SUMMON_DAWN", ACT_SUMMON_DAWN, 50, 15000, {500, 0}, + _("暁の師団召喚", "summon the Legion of the Dawn") }, + { "SUMMON_OCTOPUS", ACT_SUMMON_OCTOPUS, 50, 15000, {300, 0}, + _("蛸の大群召喚", "summon octopus") }, + + { "CHOIR_SINGS", ACT_CHOIR_SINGS, 60, 20000, {300, 0}, + _("回復(777)、癒し、士気高揚", "heal 777 hit points, curing and HEROism") }, + { "CURE_LW", ACT_CURE_LW, 10, 500, {10, 0}, + _("恐怖除去/体力回復(30)", "remove fear and heal 30 hp") }, + { "CURE_MW", ACT_CURE_MW, 20, 750, {3, 3}, + _("傷回復(4d8)", "heal 4d8 and wounds") }, + { "CURE_POISON", ACT_CURE_POISON, 10, 1000, {5, 0}, + _("恐怖除去/毒消し", "remove fear and cure poison") }, + { "REST_LIFE", ACT_REST_EXP, 40, 7500, {450, 0}, + _("経験値復活", "restore experience") }, + { "REST_ALL", ACT_REST_ALL, 30, 15000, {750, 0}, + _("全ステータスと経験値復活", "restore stats and experience") }, + { "CURE_700", ACT_CURE_700, 40, 10000, {250, 0}, + _("体力回復(700)", "heal 700 hit points") }, + { "CURE_1000", ACT_CURE_1000, 50, 15000, {888, 0}, + _("体力回復(1000)", "heal 1000 hit points") }, + { "CURING", ACT_CURING, 30, 5000, {100, 0}, + _("癒し", "curing") }, + { "CURE_MANA_FULL", ACT_CURE_MANA_FULL, 60, 20000, {777, 0}, + _("魔力復活", "restore mana") }, + + { "ESP", ACT_ESP, 30, 1500, {100, 0}, + _("テレパシー(期間 25+d30)", "telepathy (dur 25+d30)") }, + { "BERSERK", ACT_BERSERK, 10, 800, {75, 0}, + _("狂戦士化(25+d25ターン)", "berserk (25+d25 turns)") }, + { "PROT_EVIL", ACT_PROT_EVIL, 30, 5000, {100, 0}, + _("対邪悪結界(期間 3*レベル+d25)", "protect evil (dur level*3 + d25)") }, + { "RESIST_ALL", ACT_RESIST_ALL, 30, 5000, {111, 0}, + _("全耐性(期間 20+d20)", "resist elements (dur 20+d20)") }, + { "SPEED", ACT_SPEED, 40, 15000, {250, 0}, + _("加速(期間 20+d20)", "speed (dur 20+d20)") }, + { "XTRA_SPEED", ACT_XTRA_SPEED, 40, 25000, {200, 200}, + _("加速(期間 75+d75)", "speed (dur 75+d75)") }, + { "WRAITH", ACT_WRAITH, 90, 25000, {1000, 0}, + _("幽体化(期間 (レベル/2)+d(レベル/2))", "wraith form (dur level/2 + d(level/2))") }, + { "INVULN", ACT_INVULN, 90, 25000, {1000, 0}, + _("無敵化(期間 8+d8)", "invulnerability (dur 8+d8)") }, + { "HERO", ACT_HERO, 10, 500, {30, 30}, + _("士気高揚", "heroism") }, + { "HERO_SPEED", ACT_HERO_SPEED, 30, 20000, {100, 200}, + _("士気高揚, スピード(期間 50+d50ターン)", "hero and +10 to speed (50)") }, + { "RESIST_ACID", ACT_RESIST_ACID, 20, 2000, {40, 40}, + _("酸への耐性(期間 20+d20)", "resist acid (dur 20+d20)") }, + { "RESIST_FIRE", ACT_RESIST_FIRE, 20, 2000, {40, 40}, + _("火炎への耐性(期間 20+d20)", "resist fire (dur 20+d20)") }, + { "RESIST_COLD", ACT_RESIST_COLD, 20, 2000, {40, 40}, + _("冷気への耐性(期間 20+d20)", "resist cold (dur 20+d20)") }, + { "RESIST_ELEC", ACT_RESIST_ELEC, 20, 2000, {40, 40}, + _("電撃への耐性(期間 20+d20)", "resist elec (dur 20+d20)") }, + { "RESIST_POIS", ACT_RESIST_POIS, 20, 2000, {40, 40}, + _("毒への耐性(期間 20+d20)", "resist poison (dur 20+d20)") }, + + { "LIGHT", ACT_LIGHT, 10, 150, {10, 10}, + _("イルミネーション", "light area (dam 2d15)") }, + { "MAP_LIGHT", ACT_MAP_LIGHT, 30, 500, {50, 50}, + _("魔法の地図と光", "light (dam 2d15) & map area") }, + { "DETECT_ALL", ACT_DETECT_ALL, 30, 1000, {55, 55}, + _("全感知", "detection") }, + { "DETECT_XTRA", ACT_DETECT_XTRA, 50, 12500, {100, 0}, + _("全感知、探索、*鑑定*", "detection, probing and identify true") }, + { "ID_FULL", ACT_ID_FULL, 50, 10000, {75, 0}, + _("*鑑定*", "identify true") }, + { "ID_PLAIN", ACT_ID_PLAIN, 20, 1250, {10, 0}, + _("鑑定", "identify spell") }, + { "RUNE_EXPLO", ACT_RUNE_EXPLO, 40, 4000, {200, 0}, + _("爆発のルーン", "explosive rune") }, + { "RUNE_PROT", ACT_RUNE_PROT, 60, 10000, {400, 0}, + _("守りのルーン", "rune of protection") }, + { "SATIATE", ACT_SATIATE, 10, 2000, {200, 0}, + _("空腹充足", "satisfy hunger") }, + { "DEST_DOOR", ACT_DEST_DOOR, 10, 100, {10, 0}, + _("ドア破壊", "destroy doors") }, + { "STONE_MUD", ACT_STONE_MUD, 20, 1000, {3, 0}, + _("岩石溶解", "stone to mud") }, + { "RECHARGE", ACT_RECHARGE, 30, 1000, {70, 0}, + _("魔力充填", "recharging") }, + { "ALCHEMY", ACT_ALCHEMY, 50, 10000, {500, 0}, + _("錬金術", "alchemy") }, + { "DIM_DOOR", ACT_DIM_DOOR, 50, 10000, {100, 0}, + _("次元の扉", "dimension door") }, + { "TELEPORT", ACT_TELEPORT, 10, 2000, {25, 0}, + _("テレポート", "teleport") }, + { "RECALL", ACT_RECALL, 30, 7500, {200, 0}, + _("帰還の詔", "word of recall") }, + { "JUDGE", ACT_JUDGE, 90, 50000, {20, 20}, + _("体力と引き替えに千里眼と帰還", "a telekinesis (500 lb)") }, + { "TELEKINESIS", ACT_TELEKINESIS, 20, 5500, {25, 25}, + _("物体を引き寄せる(重量25kgまで)", "clairvoyance and recall, draining you") }, + { "DETECT_UNIQUE", ACT_DETECT_UNIQUE, 40, 10000, {200, 0}, + _("この階にいるユニークモンスターを表示", "list of the uniques on the level") }, + { "ESCAPE", ACT_ESCAPE, 10, 3000, {35, 0}, + _("逃走", "a getaway") }, + { "DISP_CURSE_XTRA", ACT_DISP_CURSE_XTRA, 40, 30000, {0, 0}, + _("*解呪*と調査", "dispel curse and probing") }, + { "BRAND_FIRE_BOLTS", ACT_BRAND_FIRE_BOLTS, 40, 20000, {999, 0}, + _("刃先のファイア・ボルト", "fire branding of bolts") }, + { "RECHARGE_XTRA", ACT_RECHARGE_XTRA, 70, 30000, {200, 0}, + _("魔力充填", "recharge item") }, + { "LORE", ACT_LORE, 10, 30000, {0, 0}, + _("危険を伴う鑑定", "perilous identify") }, + { "SHIKOFUMI", ACT_SHIKOFUMI, 10, 10000, {100, 100}, + _("四股踏み", "shiko") }, + { "PHASE_DOOR", ACT_PHASE_DOOR, 10, 1500, {10, 0}, + _("ショート・テレポート", "blink") }, + { "DETECT_ALL_MONS", ACT_DETECT_ALL_MONS, 30, 3000, {150, 0}, + _("全モンスター感知", "detect all monsters") }, + { "ULTIMATE_RESIST", ACT_ULTIMATE_RESIST, 90, 20000, {777, 0}, + _("士気高揚、祝福、究極の耐性", "hero, bless, and ultimate resistance") }, + + { "CAST_OFF", ACT_CAST_OFF, 30, 15000, {100, 0}, + _("脱衣と小宇宙燃焼", "cast it off and cosmic heroism") }, + { "FISHING", ACT_FISHING, 0, 100, {0, 0}, + _("釣りをする", "fishing") }, + { "INROU", ACT_INROU, 40, 15000, {150, 150}, + _("例のアレ", "reveal your identity") }, + { "MURAMASA", ACT_MURAMASA, 0, 0, {-1, 0}, + _("腕力の上昇", "increase STR") }, + { "BLOODY_MOON", ACT_BLOODY_MOON, 0, 0, {3333, 0}, + _("属性変更", "change zokusei") }, + { "CRIMSON", ACT_CRIMSON, 0, 50000, {15, 0}, + _("ファイア!", "fire!") }, + + { "STRAIN_HASTE", ACT_STRAIN_HASTE, 10, 1000, {120, 100}, + _("体力と引き換えに加速", "haste with strain") }, + { "GRAND_CROSS", ACT_GRAND_CROSS, 30, 15000, {250, 200}, + _("グランド・クロス", "grand cross") }, + { "TELEPORT_LEVEL", ACT_TELEPORT_LEVEL, 10, 1500, {100, 200}, + _("テレポート・レベル", "teleort level") }, + { "ARTS_FALLING_STAR", ACT_FALLING_STAR, 20, 5500, {30, 50}, + _("魔剣・流れ星", "blade arts 'falling star'") }, + { NULL, 0, 0, 0, {0, 0}, + "" } +}; + +/*! * @brief ペット入りモンスターボールをソートするための比較関数 * @param u 所持品配列の参照ポインタ * @param v 未使用 diff --git a/src/cmd-activate.h b/src/cmd-activate.h index b7e698afe..96fd46823 100644 --- a/src/cmd-activate.h +++ b/src/cmd-activate.h @@ -3,4 +3,142 @@ extern void do_cmd_activate_aux(INVENTORY_IDX item); extern bool activate_artifact(object_type * o_ptr); extern void get_bloody_moon_flags(object_type *o_ptr); +extern const activation_type activation_info[]; + + +/* Activation effects for random artifacts */ +#define ACT_SUNLIGHT 1 +#define ACT_BO_MISS_1 2 +#define ACT_BA_POIS_1 3 +#define ACT_BO_ELEC_1 4 +#define ACT_BO_ACID_1 5 +#define ACT_BO_COLD_1 6 +#define ACT_BO_FIRE_1 7 +#define ACT_BA_COLD_1 8 +#define ACT_BA_FIRE_1 9 +#define ACT_HYPODYNAMIA_1 10 +#define ACT_BA_COLD_2 11 +#define ACT_BA_ELEC_2 12 +#define ACT_HYPODYNAMIA_2 13 +#define ACT_DRAIN_1 14 +#define ACT_BO_MISS_2 15 +#define ACT_BA_FIRE_3 16 +#define ACT_BA_COLD_3 17 +#define ACT_BA_ELEC_3 18 +#define ACT_WHIRLWIND 19 +#define ACT_DRAIN_2 20 +#define ACT_CALL_CHAOS 21 +#define ACT_ROCKET 22 +#define ACT_DISP_EVIL 23 +#define ACT_BA_MISS_3 24 +#define ACT_DISP_GOOD 25 +#define ACT_BO_MANA 26 +#define ACT_BA_FIRE_2 27 +#define ACT_BA_WATER 28 +#define ACT_BA_STAR 29 +#define ACT_BA_DARK 30 +#define ACT_BA_MANA 31 +#define ACT_PESTICIDE 32 +#define ACT_BLINDING_LIGHT 33 +#define ACT_BIZARRE 34 +#define ACT_CAST_BA_STAR 35 +#define ACT_BLADETURNER 36 +#define ACT_BA_ACID_1 37 +#define ACT_BR_FIRE 38 +#define ACT_BR_COLD 39 +#define ACT_BR_DRAGON 40 +#define ACT_BA_FIRE_4 41 +#define ACT_BA_NUKE_1 42 +/* 42 - 50 unused */ +#define ACT_CONFUSE 51 +#define ACT_SLEEP 52 +#define ACT_QUAKE 53 +#define ACT_TERROR 54 +#define ACT_TELE_AWAY 55 +#define ACT_BANISH_EVIL 56 +#define ACT_GENOCIDE 57 +#define ACT_MASS_GENO 58 +#define ACT_SCARE_AREA 59 +#define ACT_AGGRAVATE 60 +/* 59 - 64 unused */ +#define ACT_CHARM_ANIMAL 65 +#define ACT_CHARM_UNDEAD 66 +#define ACT_CHARM_OTHER 67 +#define ACT_CHARM_ANIMALS 68 +#define ACT_CHARM_OTHERS 69 +#define ACT_SUMMON_ANIMAL 70 +#define ACT_SUMMON_PHANTOM 71 +#define ACT_SUMMON_ELEMENTAL 72 +#define ACT_SUMMON_DEMON 73 +#define ACT_SUMMON_UNDEAD 74 +#define ACT_SUMMON_HOUND 75 +#define ACT_SUMMON_DAWN 76 +#define ACT_SUMMON_OCTOPUS 77 +/* 76 - 80 unused */ +#define ACT_CHOIR_SINGS 80 +#define ACT_CURE_LW 81 +#define ACT_CURE_MW 82 +#define ACT_CURE_POISON 83 +#define ACT_REST_EXP 84 +#define ACT_REST_ALL 85 +#define ACT_CURE_700 86 +#define ACT_CURE_1000 87 +#define ACT_CURING 88 +#define ACT_CURE_MANA_FULL 89 +/* 90 unused */ +#define ACT_ESP 91 +#define ACT_BERSERK 92 +#define ACT_PROT_EVIL 93 +#define ACT_RESIST_ALL 94 +#define ACT_SPEED 95 +#define ACT_XTRA_SPEED 96 +#define ACT_WRAITH 97 +#define ACT_INVULN 98 +#define ACT_HERO 99 +#define ACT_HERO_SPEED 100 +#define ACT_RESIST_ACID 101 +#define ACT_RESIST_FIRE 102 +#define ACT_RESIST_COLD 103 +#define ACT_RESIST_ELEC 104 +#define ACT_RESIST_POIS 105 +/* 106 - 110 unused */ +#define ACT_LIGHT 111 +#define ACT_MAP_LIGHT 112 +#define ACT_DETECT_ALL 113 +#define ACT_DETECT_XTRA 114 +#define ACT_ID_FULL 115 +#define ACT_ID_PLAIN 116 +#define ACT_RUNE_EXPLO 117 +#define ACT_RUNE_PROT 118 +#define ACT_SATIATE 119 +#define ACT_DEST_DOOR 120 +#define ACT_STONE_MUD 121 +#define ACT_RECHARGE 122 +#define ACT_ALCHEMY 123 +#define ACT_DIM_DOOR 124 +#define ACT_TELEPORT 125 +#define ACT_RECALL 126 +#define ACT_JUDGE 127 +#define ACT_TELEKINESIS 128 +#define ACT_DETECT_UNIQUE 129 +#define ACT_ESCAPE 130 +#define ACT_DISP_CURSE_XTRA 131 +#define ACT_BRAND_FIRE_BOLTS 132 +#define ACT_RECHARGE_XTRA 133 +#define ACT_LORE 134 +#define ACT_SHIKOFUMI 135 +#define ACT_PHASE_DOOR 136 +#define ACT_DETECT_ALL_MONS 137 +#define ACT_ULTIMATE_RESIST 138 +/* 127 -> unused */ +#define ACT_FALLING_STAR 246 +#define ACT_STRAIN_HASTE 247 +#define ACT_TELEPORT_LEVEL 248 +#define ACT_GRAND_CROSS 249 +#define ACT_CAST_OFF 250 +#define ACT_FISHING 251 +#define ACT_INROU 252 +#define ACT_MURAMASA 253 +#define ACT_BLOODY_MOON 254 +#define ACT_CRIMSON 255 diff --git a/src/defines.h b/src/defines.h index c99b8d62d..048fe4027 100644 --- a/src/defines.h +++ b/src/defines.h @@ -1174,141 +1174,6 @@ #define EGO_AMU_NAIVETY 237 // MAX 240 -/* Activation effects for random artifacts */ -#define ACT_SUNLIGHT 1 -#define ACT_BO_MISS_1 2 -#define ACT_BA_POIS_1 3 -#define ACT_BO_ELEC_1 4 -#define ACT_BO_ACID_1 5 -#define ACT_BO_COLD_1 6 -#define ACT_BO_FIRE_1 7 -#define ACT_BA_COLD_1 8 -#define ACT_BA_FIRE_1 9 -#define ACT_HYPODYNAMIA_1 10 -#define ACT_BA_COLD_2 11 -#define ACT_BA_ELEC_2 12 -#define ACT_HYPODYNAMIA_2 13 -#define ACT_DRAIN_1 14 -#define ACT_BO_MISS_2 15 -#define ACT_BA_FIRE_3 16 -#define ACT_BA_COLD_3 17 -#define ACT_BA_ELEC_3 18 -#define ACT_WHIRLWIND 19 -#define ACT_DRAIN_2 20 -#define ACT_CALL_CHAOS 21 -#define ACT_ROCKET 22 -#define ACT_DISP_EVIL 23 -#define ACT_BA_MISS_3 24 -#define ACT_DISP_GOOD 25 -#define ACT_BO_MANA 26 -#define ACT_BA_FIRE_2 27 -#define ACT_BA_WATER 28 -#define ACT_BA_STAR 29 -#define ACT_BA_DARK 30 -#define ACT_BA_MANA 31 -#define ACT_PESTICIDE 32 -#define ACT_BLINDING_LIGHT 33 -#define ACT_BIZARRE 34 -#define ACT_CAST_BA_STAR 35 -#define ACT_BLADETURNER 36 -#define ACT_BA_ACID_1 37 -#define ACT_BR_FIRE 38 -#define ACT_BR_COLD 39 -#define ACT_BR_DRAGON 40 -#define ACT_BA_FIRE_4 41 -#define ACT_BA_NUKE_1 42 -/* 42 - 50 unused */ -#define ACT_CONFUSE 51 -#define ACT_SLEEP 52 -#define ACT_QUAKE 53 -#define ACT_TERROR 54 -#define ACT_TELE_AWAY 55 -#define ACT_BANISH_EVIL 56 -#define ACT_GENOCIDE 57 -#define ACT_MASS_GENO 58 -#define ACT_SCARE_AREA 59 -#define ACT_AGGRAVATE 60 -/* 59 - 64 unused */ -#define ACT_CHARM_ANIMAL 65 -#define ACT_CHARM_UNDEAD 66 -#define ACT_CHARM_OTHER 67 -#define ACT_CHARM_ANIMALS 68 -#define ACT_CHARM_OTHERS 69 -#define ACT_SUMMON_ANIMAL 70 -#define ACT_SUMMON_PHANTOM 71 -#define ACT_SUMMON_ELEMENTAL 72 -#define ACT_SUMMON_DEMON 73 -#define ACT_SUMMON_UNDEAD 74 -#define ACT_SUMMON_HOUND 75 -#define ACT_SUMMON_DAWN 76 -#define ACT_SUMMON_OCTOPUS 77 -/* 76 - 80 unused */ -#define ACT_CHOIR_SINGS 80 -#define ACT_CURE_LW 81 -#define ACT_CURE_MW 82 -#define ACT_CURE_POISON 83 -#define ACT_REST_EXP 84 -#define ACT_REST_ALL 85 -#define ACT_CURE_700 86 -#define ACT_CURE_1000 87 -#define ACT_CURING 88 -#define ACT_CURE_MANA_FULL 89 -/* 90 unused */ -#define ACT_ESP 91 -#define ACT_BERSERK 92 -#define ACT_PROT_EVIL 93 -#define ACT_RESIST_ALL 94 -#define ACT_SPEED 95 -#define ACT_XTRA_SPEED 96 -#define ACT_WRAITH 97 -#define ACT_INVULN 98 -#define ACT_HERO 99 -#define ACT_HERO_SPEED 100 -#define ACT_RESIST_ACID 101 -#define ACT_RESIST_FIRE 102 -#define ACT_RESIST_COLD 103 -#define ACT_RESIST_ELEC 104 -#define ACT_RESIST_POIS 105 -/* 106 - 110 unused */ -#define ACT_LIGHT 111 -#define ACT_MAP_LIGHT 112 -#define ACT_DETECT_ALL 113 -#define ACT_DETECT_XTRA 114 -#define ACT_ID_FULL 115 -#define ACT_ID_PLAIN 116 -#define ACT_RUNE_EXPLO 117 -#define ACT_RUNE_PROT 118 -#define ACT_SATIATE 119 -#define ACT_DEST_DOOR 120 -#define ACT_STONE_MUD 121 -#define ACT_RECHARGE 122 -#define ACT_ALCHEMY 123 -#define ACT_DIM_DOOR 124 -#define ACT_TELEPORT 125 -#define ACT_RECALL 126 -#define ACT_JUDGE 127 -#define ACT_TELEKINESIS 128 -#define ACT_DETECT_UNIQUE 129 -#define ACT_ESCAPE 130 -#define ACT_DISP_CURSE_XTRA 131 -#define ACT_BRAND_FIRE_BOLTS 132 -#define ACT_RECHARGE_XTRA 133 -#define ACT_LORE 134 -#define ACT_SHIKOFUMI 135 -#define ACT_PHASE_DOOR 136 -#define ACT_DETECT_ALL_MONS 137 -#define ACT_ULTIMATE_RESIST 138 -/* 127 -> unused */ -#define ACT_FALLING_STAR 246 -#define ACT_STRAIN_HASTE 247 -#define ACT_TELEPORT_LEVEL 248 -#define ACT_GRAND_CROSS 249 -#define ACT_CAST_OFF 250 -#define ACT_FISHING 251 -#define ACT_INROU 252 -#define ACT_MURAMASA 253 -#define ACT_BLOODY_MOON 254 -#define ACT_CRIMSON 255 /*** Object "tval" and "sval" codes ***/ diff --git a/src/externs.h b/src/externs.h index ffff88a9f..6db7febb9 100644 --- a/src/externs.h +++ b/src/externs.h @@ -111,7 +111,6 @@ extern const concptr ident_info[]; extern const mbe_info_type mbe_info[]; extern const byte feature_action_flags[FF_FLAG_MAX]; extern const dragonbreath_type dragonbreath_info[]; -extern const activation_type activation_info[]; extern const option_type option_info[]; extern const option_type cheat_info[CHEAT_MAX]; diff --git a/src/init1.c b/src/init1.c index a105956a3..d4ba605e1 100644 --- a/src/init1.c +++ b/src/init1.c @@ -50,6 +50,7 @@ #include "trap.h" #include "monster.h" #include "artifact.h" +#include "cmd-activate.h" diff --git a/src/object1.c b/src/object1.c index 9de2810dc..c4163a4c4 100644 --- a/src/object1.c +++ b/src/object1.c @@ -13,6 +13,7 @@ #include "angband.h" #include "artifact.h" +#include "cmd-activate.h" #if defined(MACINTOSH) || defined(MACH_O_CARBON) #ifdef verify diff --git a/src/tables.c b/src/tables.c index f80b43fb3..e46071825 100644 --- a/src/tables.c +++ b/src/tables.c @@ -4855,276 +4855,3 @@ const dragonbreath_type dragonbreath_info[] = { { 0, 0, NULL } }; -/*! - * @brief アイテムの発動効果テーブル / - * Define flags, levels, values of activations - */ -const activation_type activation_info[] = -{ - { "SUNLIGHT", ACT_SUNLIGHT, 10, 250, {10, 0}, - _("太陽光線", "beam of sunlight") }, - { "BO_MISS_1", ACT_BO_MISS_1, 10, 250, {2, 0}, - _("マジック・ミサイル(2d6)", "magic missile (2d6)") }, - { "BA_POIS_1", ACT_BA_POIS_1, 10, 300, {4, 0}, - _("悪臭雲(12)", "stinking cloud (12)") }, - { "BO_ELEC_1", ACT_BO_ELEC_1, 20, 250, {5, 0}, - _("サンダー・ボルト(4d8)", "lightning bolt (4d8)") }, - { "BO_ACID_1", ACT_BO_ACID_1, 20, 250, {6, 0}, - _("アシッド・ボルト(5d8)", "acid bolt (5d8)") }, - { "BO_COLD_1", ACT_BO_COLD_1, 20, 250, {7, 0}, - _("アイス・ボルト(6d8)", "frost bolt (6d8)") }, - { "BO_FIRE_1", ACT_BO_FIRE_1, 20, 250, {8, 0}, - _("ファイア・ボルト(9d8)", "fire bolt (9d8)") }, - { "BA_COLD_1", ACT_BA_COLD_1, 30, 750, {6, 0}, - _("アイス・ボール(48)", "ball of cold (48)") }, - { "BA_COLD_2", ACT_BA_COLD_2, 40, 1000, {12, 0}, - _("アイス・ボール(100)", "ball of cold (100)") }, - { "BA_COLD_3", ACT_BA_COLD_3, 70, 2500, {50, 0}, - _("巨大アイス・ボール(400)", "ball of cold (400)") }, - { "BA_FIRE_1", ACT_BA_FIRE_1, 30, 1000, {9, 0}, - _("ファイア・ボール(72)", "ball of fire (72)") }, - { "BA_FIRE_2", ACT_BA_FIRE_2, 40, 1500, {15, 0}, - _("巨大ファイア・ボール(120)", "large fire ball (120)") }, - { "BA_FIRE_3", ACT_BA_FIRE_3, 60, 1750, {40, 0}, - _("巨大ファイア・ボール(300)", "fire ball (300)") }, - { "BA_FIRE_4", ACT_BA_FIRE_4, 40, 1000, {12, 0}, - _("ファイア・ボール(100)", "fire ball (100)") }, - { "BA_ELEC_2", ACT_BA_ELEC_2, 40, 1000, {12, 0}, - _("サンダー・ボール(100)", "ball of lightning (100)") }, - { "BA_ELEC_3", ACT_BA_ELEC_3, 70, 2500, {70, 0}, - _("巨大サンダー・ボール(500)", "ball of lightning (500)") }, - { "BA_ACID_1", ACT_BA_ACID_1, 30, 1000, {12, 0}, - _("アシッド・ボール(100)", "ball of acid (100)") }, - { "BA_NUKE_1", ACT_BA_NUKE_1, 50, 1000, {12, 0}, - _("放射能球(100)", "ball of nuke (100)") }, - { "HYPODYNAMIA_1", ACT_HYPODYNAMIA_1, 30, 500, {12, 0}, - _("窒息攻撃(100)", "a strangling attack (100)") }, - { "HYPODYNAMIA_2", ACT_HYPODYNAMIA_2, 40, 750, {15, 0}, - _("衰弱の矢(120)", "hypodynamic bolt (120)") }, - { "DRAIN_1", ACT_DRAIN_1, 40, 1000, {20, 0}, - _("吸収の矢(3*50)", "drain bolt (3*50)") }, - { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0}, - _("矢(150)", "arrows (150)") }, - { "WHIRLWIND", ACT_WHIRLWIND, 50, 7500, {25, 0}, - _("カマイタチ", "whirlwind attack") }, - { "DRAIN_2", ACT_DRAIN_2, 50, 2500, {40, 0}, - _("吸収の矢(3*100)", "drain bolt (3*100)") }, - { "CALL_CHAOS", ACT_CALL_CHAOS, 70, 5000, {35, 0}, - _("混沌召来", "call chaos") }, - { "ROCKET", ACT_ROCKET, 70, 5000, {20, 0}, - _("ロケット(120+レベル)", "launch rocket (120+level)") }, - { "DISP_EVIL", ACT_DISP_EVIL, 50, 4000, {50, 0}, - _("邪悪退散(x5)", "dispel evil (x5)") }, - { "BA_MISS_3", ACT_BA_MISS_3, 50, 1500, {50, 0}, - _("エレメントのブレス(300)", "elemental breath (300)") }, - { "DISP_GOOD", ACT_DISP_GOOD, 50, 3500, {50, 0}, - _("善良退散(x5)", "dispel good (x5)") }, - { "BO_MANA", ACT_BO_MANA, 40, 1500, {20, 0}, - _("魔法の矢(150)", "a magical arrow (150)") }, - { "BA_WATER", ACT_BA_WATER, 50, 2000, {25, 0}, - _("ウォーター・ボール(200)", "water ball (200)") }, - { "BA_STAR", ACT_BA_STAR, 50, 2200, {25, 0}, - _("巨大スター・ボール(200)", "large star ball (200)") }, - { "BA_DARK", ACT_BA_DARK, 50, 2200, {30, 0}, - _("暗黒の嵐(250)", "darkness storm (250)") }, - { "BA_MANA", ACT_BA_MANA, 70, 2500, {30, 0}, - _("魔力の嵐(250)", "a mana storm (250)") }, - { "PESTICIDE", ACT_PESTICIDE, 10, 500, {10, 0}, - _("害虫の駆除", "dispel small life") }, - { "BLINDING_LIGHT", ACT_BLINDING_LIGHT, 30, 5000, {40, 0}, - _("眩しい光", "blinding light") }, - { "BIZARRE", ACT_BIZARRE, 90, 10000, {50, 0}, - _("信じ難いこと", "bizarre things") }, - { "CAST_BA_STAR", ACT_CAST_BA_STAR, 70, 7500, {100, 0}, - _("スター・ボール・ダスト(150)", "cast star balls (150)") }, - { "BLADETURNER", ACT_BLADETURNER, 80, 20000, {80, 0}, - _("エレメントのブレス(300), 士気高揚、祝福、耐性", "breathe elements (300), hero, bless, and resistance") }, - { "BR_FIRE", ACT_BR_FIRE, 50, 5000, {-1, 0}, - _("火炎のブレス (200)", "fire breath (200)") }, - { "BR_COLD", ACT_BR_COLD, 50, 5000, {-1, 0}, - _("冷気のブレス (200)", "cold breath (200)") }, - { "BR_DRAGON", ACT_BR_DRAGON, 70, 10000, { 30, 0 }, - "" /* built by item_activation_dragon_breath() */ }, - - { "CONFUSE", ACT_CONFUSE, 10, 500, {10, 0}, - _("パニック・モンスター", "confuse monster") }, - { "SLEEP", ACT_SLEEP, 10, 750, {15, 0}, - _("周囲のモンスターを眠らせる", "sleep nearby monsters") }, - { "QUAKE", ACT_QUAKE, 30, 600, {20, 0}, - _("地震", "earthquake") }, - { "TERROR", ACT_TERROR, 20, 2500, {-1, 0}, - _("恐慌", "terror") }, - { "TELE_AWAY", ACT_TELE_AWAY, 20, 2000, {15, 0}, - _("テレポート・アウェイ", "teleport away") }, - { "BANISH_EVIL", ACT_BANISH_EVIL, 40, 2000, {250, 0}, - _("邪悪消滅", "banish evil") }, - { "GENOCIDE", ACT_GENOCIDE, 50, 10000, {500, 0}, - _("抹殺", "genocide") }, - { "MASS_GENO", ACT_MASS_GENO, 50, 10000, {1000, 0}, - _("周辺抹殺", "mass genocide") }, - { "SCARE_AREA", ACT_SCARE_AREA, 20, 2500, {20, 0}, - _("モンスター恐慌", "frighten monsters") }, - { "AGGRAVATE", ACT_AGGRAVATE, 0, 100, {0, 0}, - _("モンスターを怒らせる", "aggravete monsters") }, - - { "CHARM_ANIMAL", ACT_CHARM_ANIMAL, 40, 7500, {200, 0}, - _("動物魅了", "charm animal") }, - { "CHARM_UNDEAD", ACT_CHARM_UNDEAD, 40, 10000, {333, 0}, - _("アンデッド従属", "enslave undead") }, - { "CHARM_OTHER", ACT_CHARM_OTHER, 40, 10000, {400, 0}, - _("モンスター魅了", "charm monster") }, - { "CHARM_ANIMALS", ACT_CHARM_ANIMALS, 40, 12500, {500, 0}, - _("動物友和", "animal friendship") }, - { "CHARM_OTHERS", ACT_CHARM_OTHERS, 40, 17500, {750, 0}, - _("周辺魅了", "mass charm") }, - { "SUMMON_ANIMAL", ACT_SUMMON_ANIMAL, 50, 10000, {200, 300}, - _("動物召喚", "summon animal") }, - { "SUMMON_PHANTOM", ACT_SUMMON_PHANTOM, 50, 12000, {200, 200}, - _("幻霊召喚", "summon phantasmal servant") }, - { "SUMMON_ELEMENTAL", ACT_SUMMON_ELEMENTAL, 50, 15000, {750, 0}, - _("エレメンタル召喚", "summon elemental") }, - { "SUMMON_DEMON", ACT_SUMMON_DEMON, 50, 20000, {666, 0}, - _("悪魔召喚", "summon demon") }, - { "SUMMON_UNDEAD", ACT_SUMMON_UNDEAD, 50, 20000, {666, 0}, - _("アンデッド召喚", "summon undead") }, - { "SUMMON_HOUND", ACT_SUMMON_HOUND, 50, 15000, {300, 0}, - _("ハウンド召喚", "summon hound") }, - { "SUMMON_DAWN", ACT_SUMMON_DAWN, 50, 15000, {500, 0}, - _("暁の師団召喚", "summon the Legion of the Dawn") }, - { "SUMMON_OCTOPUS", ACT_SUMMON_OCTOPUS, 50, 15000, {300, 0}, - _("蛸の大群召喚", "summon octopus") }, - - { "CHOIR_SINGS", ACT_CHOIR_SINGS, 60, 20000, {300, 0}, - _("回復(777)、癒し、士気高揚", "heal 777 hit points, curing and HEROism") }, - { "CURE_LW", ACT_CURE_LW, 10, 500, {10, 0}, - _("恐怖除去/体力回復(30)", "remove fear and heal 30 hp") }, - { "CURE_MW", ACT_CURE_MW, 20, 750, {3, 3}, - _("傷回復(4d8)", "heal 4d8 and wounds") }, - { "CURE_POISON", ACT_CURE_POISON, 10, 1000, {5, 0}, - _("恐怖除去/毒消し", "remove fear and cure poison") }, - { "REST_LIFE", ACT_REST_EXP, 40, 7500, {450, 0}, - _("経験値復活", "restore experience") }, - { "REST_ALL", ACT_REST_ALL, 30, 15000, {750, 0}, - _("全ステータスと経験値復活", "restore stats and experience") }, - { "CURE_700", ACT_CURE_700, 40, 10000, {250, 0}, - _("体力回復(700)", "heal 700 hit points") }, - { "CURE_1000", ACT_CURE_1000, 50, 15000, {888, 0}, - _("体力回復(1000)", "heal 1000 hit points") }, - { "CURING", ACT_CURING, 30, 5000, {100, 0}, - _("癒し", "curing") }, - { "CURE_MANA_FULL", ACT_CURE_MANA_FULL, 60, 20000, {777, 0}, - _("魔力復活", "restore mana") }, - - { "ESP", ACT_ESP, 30, 1500, {100, 0}, - _("テレパシー(期間 25+d30)", "telepathy (dur 25+d30)") }, - { "BERSERK", ACT_BERSERK, 10, 800, {75, 0}, - _("狂戦士化(25+d25ターン)", "berserk (25+d25 turns)") }, - { "PROT_EVIL", ACT_PROT_EVIL, 30, 5000, {100, 0}, - _("対邪悪結界(期間 3*レベル+d25)", "protect evil (dur level*3 + d25)") }, - { "RESIST_ALL", ACT_RESIST_ALL, 30, 5000, {111, 0}, - _("全耐性(期間 20+d20)", "resist elements (dur 20+d20)") }, - { "SPEED", ACT_SPEED, 40, 15000, {250, 0}, - _("加速(期間 20+d20)", "speed (dur 20+d20)") }, - { "XTRA_SPEED", ACT_XTRA_SPEED, 40, 25000, {200, 200}, - _("加速(期間 75+d75)", "speed (dur 75+d75)") }, - { "WRAITH", ACT_WRAITH, 90, 25000, {1000, 0}, - _("幽体化(期間 (レベル/2)+d(レベル/2))", "wraith form (dur level/2 + d(level/2))") }, - { "INVULN", ACT_INVULN, 90, 25000, {1000, 0}, - _("無敵化(期間 8+d8)", "invulnerability (dur 8+d8)") }, - { "HERO", ACT_HERO, 10, 500, {30, 30}, - _("士気高揚", "heroism") }, - { "HERO_SPEED", ACT_HERO_SPEED, 30, 20000, {100, 200}, - _("士気高揚, スピード(期間 50+d50ターン)", "hero and +10 to speed (50)") }, - { "RESIST_ACID", ACT_RESIST_ACID, 20, 2000, {40, 40}, - _("酸への耐性(期間 20+d20)", "resist acid (dur 20+d20)") }, - { "RESIST_FIRE", ACT_RESIST_FIRE, 20, 2000, {40, 40}, - _("火炎への耐性(期間 20+d20)", "resist fire (dur 20+d20)") }, - { "RESIST_COLD", ACT_RESIST_COLD, 20, 2000, {40, 40}, - _("冷気への耐性(期間 20+d20)", "resist cold (dur 20+d20)") }, - { "RESIST_ELEC", ACT_RESIST_ELEC, 20, 2000, {40, 40}, - _("電撃への耐性(期間 20+d20)", "resist elec (dur 20+d20)") }, - { "RESIST_POIS", ACT_RESIST_POIS, 20, 2000, {40, 40}, - _("毒への耐性(期間 20+d20)", "resist poison (dur 20+d20)") }, - - { "LIGHT", ACT_LIGHT, 10, 150, {10, 10}, - _("イルミネーション", "light area (dam 2d15)") }, - { "MAP_LIGHT", ACT_MAP_LIGHT, 30, 500, {50, 50}, - _("魔法の地図と光", "light (dam 2d15) & map area") }, - { "DETECT_ALL", ACT_DETECT_ALL, 30, 1000, {55, 55}, - _("全感知", "detection") }, - { "DETECT_XTRA", ACT_DETECT_XTRA, 50, 12500, {100, 0}, - _("全感知、探索、*鑑定*", "detection, probing and identify true") }, - { "ID_FULL", ACT_ID_FULL, 50, 10000, {75, 0}, - _("*鑑定*", "identify true") }, - { "ID_PLAIN", ACT_ID_PLAIN, 20, 1250, {10, 0}, - _("鑑定", "identify spell") }, - { "RUNE_EXPLO", ACT_RUNE_EXPLO, 40, 4000, {200, 0}, - _("爆発のルーン", "explosive rune") }, - { "RUNE_PROT", ACT_RUNE_PROT, 60, 10000, {400, 0}, - _("守りのルーン", "rune of protection") }, - { "SATIATE", ACT_SATIATE, 10, 2000, {200, 0}, - _("空腹充足", "satisfy hunger") }, - { "DEST_DOOR", ACT_DEST_DOOR, 10, 100, {10, 0}, - _("ドア破壊", "destroy doors") }, - { "STONE_MUD", ACT_STONE_MUD, 20, 1000, {3, 0}, - _("岩石溶解", "stone to mud") }, - { "RECHARGE", ACT_RECHARGE, 30, 1000, {70, 0}, - _("魔力充填", "recharging") }, - { "ALCHEMY", ACT_ALCHEMY, 50, 10000, {500, 0}, - _("錬金術", "alchemy") }, - { "DIM_DOOR", ACT_DIM_DOOR, 50, 10000, {100, 0}, - _("次元の扉", "dimension door") }, - { "TELEPORT", ACT_TELEPORT, 10, 2000, {25, 0}, - _("テレポート", "teleport") }, - { "RECALL", ACT_RECALL, 30, 7500, {200, 0}, - _("帰還の詔", "word of recall") }, - { "JUDGE", ACT_JUDGE, 90, 50000, {20, 20}, - _("体力と引き替えに千里眼と帰還", "a telekinesis (500 lb)") }, - { "TELEKINESIS", ACT_TELEKINESIS, 20, 5500, {25, 25}, - _("物体を引き寄せる(重量25kgまで)", "clairvoyance and recall, draining you") }, - { "DETECT_UNIQUE", ACT_DETECT_UNIQUE, 40, 10000, {200, 0}, - _("この階にいるユニークモンスターを表示", "list of the uniques on the level") }, - { "ESCAPE", ACT_ESCAPE, 10, 3000, {35, 0}, - _("逃走", "a getaway") }, - { "DISP_CURSE_XTRA", ACT_DISP_CURSE_XTRA, 40, 30000, {0, 0}, - _("*解呪*と調査", "dispel curse and probing") }, - { "BRAND_FIRE_BOLTS", ACT_BRAND_FIRE_BOLTS, 40, 20000, {999, 0}, - _("刃先のファイア・ボルト", "fire branding of bolts") }, - { "RECHARGE_XTRA", ACT_RECHARGE_XTRA, 70, 30000, {200, 0}, - _("魔力充填", "recharge item") }, - { "LORE", ACT_LORE, 10, 30000, {0, 0}, - _("危険を伴う鑑定", "perilous identify") }, - { "SHIKOFUMI", ACT_SHIKOFUMI, 10, 10000, {100, 100}, - _("四股踏み", "shiko") }, - { "PHASE_DOOR", ACT_PHASE_DOOR, 10, 1500, {10, 0}, - _("ショート・テレポート", "blink") }, - { "DETECT_ALL_MONS", ACT_DETECT_ALL_MONS, 30, 3000, {150, 0}, - _("全モンスター感知", "detect all monsters") }, - { "ULTIMATE_RESIST", ACT_ULTIMATE_RESIST, 90, 20000, {777, 0}, - _("士気高揚、祝福、究極の耐性", "hero, bless, and ultimate resistance") }, - - { "CAST_OFF", ACT_CAST_OFF, 30, 15000, {100, 0}, - _("脱衣と小宇宙燃焼", "cast it off and cosmic heroism") }, - { "FISHING", ACT_FISHING, 0, 100, {0, 0}, - _("釣りをする", "fishing") }, - { "INROU", ACT_INROU, 40, 15000, {150, 150}, - _("例のアレ", "reveal your identity") }, - { "MURAMASA", ACT_MURAMASA, 0, 0, {-1, 0}, - _("腕力の上昇", "increase STR") }, - { "BLOODY_MOON", ACT_BLOODY_MOON, 0, 0, {3333, 0}, - _("属性変更", "change zokusei") }, - { "CRIMSON", ACT_CRIMSON, 0, 50000, {15, 0}, - _("ファイア!", "fire!") }, - - { "STRAIN_HASTE", ACT_STRAIN_HASTE, 10, 1000, {120, 100}, - _("体力と引き換えに加速", "haste with strain") }, - { "GRAND_CROSS", ACT_GRAND_CROSS, 30, 15000, {250, 200}, - _("グランド・クロス", "grand cross") }, - { "TELEPORT_LEVEL", ACT_TELEPORT_LEVEL, 10, 1500, {100, 200}, - _("テレポート・レベル", "teleort level") }, - { "ARTS_FALLING_STAR", ACT_FALLING_STAR, 20, 5500, {30, 50}, - _("魔剣・流れ星", "blade arts 'falling star'") }, - { NULL, 0, 0, 0, {0, 0}, - "" } -}; -