待辦事項 #20324

ユニークESP

啟用日期: 2010-01-17 02:11 最後更新: 2020-12-20 21:46

回報者:
(匿名)
負責人:
類型:
狀態:
關閉
元件:
(無)
優先權:
1 - 最低
嚴重程度:
5 - 中
處理結果:
Accepted
檔案:

細節

せっかくユニークESPが実装されているみたいなので、ランダムアーティファクトに付加されるようにしてみてはどうか
(もし過去に結論が出ていたらすみません)

diff --git a/src/artifact.c b/src/artifact.c
index 88d9e37..8c49fba 100644
--- a/src/artifact.c
+++ b/src/artifact.c
@@ -953,6 +953,12 @@ static void random_misc(object_type * o_ptr)
                        int idx[3];
                        int n = randint1(3);
 
+                       if (one_in_(WEIRD_LUCK))
+                       {
+                               add_flag(o_ptr->art_flags, TR_ESP_UNIQUE);
+                               break;
+                       }
+
                        idx[0] = randint1(8);
 
                        idx[1] = randint1(7);

Ticket History (3/4 Histories)

2010-01-17 02:11 Updated by: None
  • New Ticket "ユニークESP" created
2012-11-10 08:41 Updated by: deskull
評語

ランダムアーティファクトと弱いESPの対象に追加してみました。バランス調整は2.1.0の間に行います。

2012-12-11 19:59 Updated by: deskull
  • 狀態 Update from 開啟 to 關閉
  • Ticket Close date is changed to 2012-12-11 19:59
評語

現状特に問題なさそうなので完了扱いにします。

2020-12-20 21:46 Updated by: deskull

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入