• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Révisionbeb36860b9e6a8bfdc84799d5718f801b111e44d (tree)
l'heure2017-07-23 06:18:47
AuteurHabu <habu@user...>
CommiterHabu

Message de Log

(2.2.0.44) if文のブレースつけ忘れ修正

本来種族が幽霊ではない時に限り地獄耐性によるダメージ軽減を行う
(幽霊は地獄属性でHPが回復するためダメージ軽減が必要ないため)
のを意図したコードだと思われるが、ブレースのつけ忘れにより
6/(1d4+7) の分母の部分だけ幽霊にも適用されてしまっていたのを修正

Change Summary

Modification

--- a/src/defines.h
+++ b/src/defines.h
@@ -53,7 +53,7 @@
5353 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
5454 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
5555 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
56-#define FAKE_VER_EXTRA 43 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 44 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858
5959 /*!
--- a/src/spells1.c
+++ b/src/spells1.c
@@ -5465,7 +5465,9 @@ static bool project_p(int who, cptr who_name, int r, int y, int x, int dam, int
54655465 if (p_ptr->resist_neth)
54665466 {
54675467 if (!prace_is_(RACE_SPECTRE))
5468+ {
54685469 dam *= 6; dam /= (randint1(4) + 7);
5470+ }
54695471 }
54705472 else if (!CHECK_MULTISHADOW()) drain_exp(200 + (p_ptr->exp / 100), 200 + (p_ptr->exp / 1000), 75);
54715473