• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision16d8ce9c0d18472f10f3fc05f512a84335ddc95b (tree)
Time2002-12-14 00:25:01
Authormogami <mogami@0568...>
Commitermogami

Log Message

発動可能なアーティファクト以外のアイテムに発動が無い一般のタイプの鍛冶師の
エッセンスを付けると発動不可能になるバグ修正。

Change Summary

Incremental Difference

--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -5716,7 +5716,7 @@ msg_print("
57165716 return;
57175717 }
57185718
5719- else if ((o_ptr->tval > TV_CAPTURE) && (o_ptr->xtra3))
5719+ if ((o_ptr->tval > TV_CAPTURE) && (o_ptr->xtra3))
57205720 {
57215721 switch (o_ptr->xtra3-1)
57225722 {
@@ -5753,7 +5753,7 @@ msg_print("
57535753 }
57545754
57555755
5756- else if (o_ptr->name2 == EGO_TRUMP)
5756+ if (o_ptr->name2 == EGO_TRUMP)
57575757 {
57585758 teleport_player(100);
57595759 o_ptr->timeout = 50 + randint1(50);
@@ -5766,7 +5766,7 @@ msg_print("
57665766 }
57675767
57685768
5769- else if (o_ptr->name2 == EGO_LITE_ILLUMINATION)
5769+ if (o_ptr->name2 == EGO_LITE_ILLUMINATION)
57705770 {
57715771 if (!o_ptr->xtra4 && ((o_ptr->sval == SV_LITE_TORCH) || (o_ptr->sval == SV_LITE_LANTERN)))
57725772 {
@@ -5788,7 +5788,7 @@ msg_print("
57885788 }
57895789
57905790
5791- else if (o_ptr->name2 == EGO_EARTHQUAKES)
5791+ if (o_ptr->name2 == EGO_EARTHQUAKES)
57925792 {
57935793 earthquake(py, px, 5);
57945794 o_ptr->timeout = 100 + randint1(100);
@@ -5801,7 +5801,7 @@ msg_print("
58015801 }
58025802
58035803
5804- else if (o_ptr->name2 == EGO_JUMP)
5804+ if (o_ptr->name2 == EGO_JUMP)
58055805 {
58065806 teleport_player(10);
58075807 o_ptr->timeout = 10 + randint1(10);
@@ -5815,7 +5815,7 @@ msg_print("
58155815
58165816
58175817 /* Hack -- Dragon Scale Mail can be activated as well */
5818- else if (o_ptr->tval == TV_DRAG_ARMOR)
5818+ if (o_ptr->tval == TV_DRAG_ARMOR)
58195819 {
58205820 /* Get a direction for breathing (or abort) */
58215821 if (!get_aim_dir(&dir)) return;
Show on old repository browser