From: iks Date: Sat, 20 Feb 2021 14:36:25 +0000 (+0900) Subject: Add: 3 artifacts from XAngband. #225 X-Git-Tag: vmacos3.0.0-alpha52~361^2~2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=beabc3a2a1370a839e2c5021536ac611253a6686;p=hengbandforosx%2Fhengbandosx.git Add: 3 artifacts from XAngband. #225 --- diff --git a/lib/edit/a_info.txt b/lib/edit/a_info.txt index 812361bfc..c12cb6363 100644 --- a/lib/edit/a_info.txt +++ b/lib/edit/a_info.txt @@ -4299,3 +4299,46 @@ D:$(Books of Samuel 17:49) D:ダビデは手を袋に入れて、その中から一つの石を取り、石投げで投げて、 D:ペリシテびとの額を撃ったので、石はその額に突き入り、うつむきに地に倒れた。 D:(サムエル記上17:49 『聖書 [口語]』日本聖書協会、1955年) + +N:258:『天鹿児弓』 +E:'Ama no kago yumi' +I:19:13:2 +W:40:60:40:100000 +P:0:0d0:21:17:0 +F:DEX | SPEED | HIDE_TYPE | BRAND_FIRE | BRAND_ELEC | +F:RES_FIRE | RES_ELEC | RES_LITE | +F:SEE_INVIS | FREE_ACT | XTRA_MIGHT | SHOW_MODS +D:$It is easy to defeat any enemy when you fire an allow with this bow. +D:この弓は天椎彦が葦原中国に遣わされた時に高天原の神より与えられたもので、 +D:一度矢を放てばたちどころに邪悪な者達を打ち破ることができる。 + +#アイスウィンドサーガより。他にはD&Dやバルダーズゲートなど。 +#wikipediaによると右手 +N:259:『アイシングデス』 +E:'Icingdeath' +I:23:18:2 +W:40:30:130:100000 +P:0:2d5:24:18:0 +F:STR | DEX | BLOWS | HIDE_TYPE | +F:BRAND_COLD | SLAY_EVIL | KILL_DRAGON | +F:SLAY_ORC | SLAY_TROLL | SLAY_GIANT | +F:RES_COLD | RES_FEAR | SH_COLD | +F:FREE_ACT | REGEN | LITE +D:伝説のダークエルフ、ドリッズドの二振りの剣のうちの1つだ。 +D:『トゥインクル』と対を成している。 + +#from Beoline Read +#アイスウィンドサーガより。他にはD&Dやバルダーズゲートなど。 +#wikipediaによると左手 +N:260:『トゥインクル』 +E:'Twinkle' +I:23:18:2 +W:40:30:130:100000 +P:0:2d5:18:12:0 +F:CON | BLOWS | STEALTH | HIDE_TYPE | +F:BRAND_COLD | +F:RES_COLD | RES_BLIND | RES_DARK | RES_NETHER | +F:SUST_STR | SUST_DEX | SUST_CON | +F:SEE_INVIS | HOLD_EXP | WARNING | SLOW_DIGEST | LITE +D:伝説のダークエルフ、ドリッズドの二振りの剣のうちの1つだ。 +D:『アイシングデス』と対を成している。 diff --git a/lib/edit/misc.txt b/lib/edit/misc.txt index ec7af12f3..41454b16e 100644 --- a/lib/edit/misc.txt +++ b/lib/edit/misc.txt @@ -25,7 +25,7 @@ M:V:173 M:F:255 # Maximum number of artifacts in a_info.txt -M:A:258 +M:A:261 # Maximum number of ego-items in e_info.txt M:E:255 diff --git a/src/artifact/fixed-art-types.h b/src/artifact/fixed-art-types.h index c0d150349..794fddbfc 100644 --- a/src/artifact/fixed-art-types.h +++ b/src/artifact/fixed-art-types.h @@ -37,4 +37,6 @@ typedef enum fixed_artifact_type { ART_HEAVENLY_MAIDEN = 233, ART_MILIM = 246, ART_ROBINTON = 251, + ART_ICINGDEATH = 259, + ART_TWINKLE = 260 } fixed_artifact_type; diff --git a/src/player/player-status.c b/src/player/player-status.c index 1f88f50c0..a95ccde96 100644 --- a/src/player/player-status.c +++ b/src/player/player-status.c @@ -2365,6 +2365,11 @@ static ARMOUR_CLASS calc_to_ac(player_type *creature_ptr, bool is_real_value) ac += 10; } + if ((creature_ptr->inventory_list[INVEN_MAIN_HAND].name1 == ART_ICINGDEATH) + && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TWINKLE)) { + ac += 5; + } + if (test_bit(creature_ptr->muta3, MUT3_WART_SKIN)) { ac += 5; } @@ -2606,6 +2611,11 @@ static s16b calc_speed(player_type *creature_ptr) && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TINYTHORN)) { pow += 7; } + + if ((creature_ptr->inventory_list[INVEN_MAIN_HAND].name1 == ART_ICINGDEATH) + && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TWINKLE)) { + pow += 5; + } } count = (int)calc_weight_limit(creature_ptr); @@ -2673,7 +2683,10 @@ s16b calc_double_weapon_penalty(player_type *creature_ptr, INVENTORY_IDX slot) int penalty = 0; if (has_melee_weapon(creature_ptr, INVEN_MAIN_HAND) && has_melee_weapon(creature_ptr, INVEN_SUB_HAND)) { penalty = ((100 - creature_ptr->skill_exp[GINOU_NITOURYU] / 160) - (130 - creature_ptr->inventory_list[slot].weight) / 8); - if ((creature_ptr->inventory_list[INVEN_MAIN_HAND].name1 == ART_QUICKTHORN) && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TINYTHORN)) { + if (((creature_ptr->inventory_list[INVEN_MAIN_HAND].name1 == ART_QUICKTHORN) + && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TINYTHORN)) + || ((creature_ptr->inventory_list[INVEN_MAIN_HAND].name1 == ART_ICINGDEATH) + && (creature_ptr->inventory_list[INVEN_SUB_HAND].name1 == ART_TWINKLE))) { penalty = penalty / 2 - 5; } if (creature_ptr->easy_2weapon) {