OSDN Git Service

#37353 狂戦士化の効果をberserk()にまとめる。
[hengband/hengband.git] / src / cmd-activate.c
index f6b8476..9df9853 100644 (file)
@@ -1167,12 +1167,7 @@ bool activate_artifact(object_type *o_ptr)
 
        case ACT_BERSERK:
        {
-               (void)set_afraid(0);
-               (void)set_shero(randint1(25) + 25, FALSE);
-               /* (void)set_afraid(0);
-               (void)set_hero(randint1(50) + 50, FALSE);
-               (void)set_blessed(randint1(50) + 50, FALSE);
-               o_ptr->timeout = 100 + randint1(100); */
+               (void)berserk(randint1(25) + 25);
                break;
        }