diff --git a/.Lib9c.Tests/Action/Summon/RuneSummonTest.cs b/.Lib9c.Tests/Action/Summon/RuneSummonTest.cs index 8e98da0d60..12bef63d9a 100644 --- a/.Lib9c.Tests/Action/Summon/RuneSummonTest.cs +++ b/.Lib9c.Tests/Action/Summon/RuneSummonTest.cs @@ -231,7 +231,7 @@ private class ExecuteMemeber : IEnumerable // Fail by exceeding summon limit new object[] { - 20001, 11, 600201, 22, 1, typeof(InvalidSummonCountException), + 20001, 101, 600201, 22, 1, typeof(InvalidSummonCountException), }, new object[] { diff --git a/Lib9c/Action/RuneSummon.cs b/Lib9c/Action/RuneSummon.cs index bc903b826b..8b94893350 100644 --- a/Lib9c/Action/RuneSummon.cs +++ b/Lib9c/Action/RuneSummon.cs @@ -33,7 +33,7 @@ public class RuneSummon : GameAction, IRuneSummonV1 public const string SummonCountKey = "sc"; public int SummonCount; - private const int SummonLimit = 10; + private const int SummonLimit = 100; public const int RuneQuantity = 10; public override IWorld Execute(IActionContext context) @@ -155,9 +155,9 @@ IWorld states ) { // Ten plus one - if (summonCount == 10) + if (summonCount >= 10) { - summonCount += 1; + summonCount += summonCount / 10; } var result = SimulateSummon(runeSheet, summonRow, summonCount, random);