이전 판을 밀기한 상태로 총통 승리할 경우, 밀기로 증가한 배수가 적용 안됨
This commit is contained in:
parent
61b46829f9
commit
6548bf0e45
|
|
@ -1,4 +1,5 @@
|
|||
using CodeJay.Enum;
|
||||
using NUnit.Framework;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
|
@ -353,6 +354,7 @@ public partial class GamePanel : MonoBehaviour
|
|||
public void ResetScortMultiplyType()
|
||||
{
|
||||
_hashScoreMultiplyTypes.Clear();
|
||||
if (Player_Milgi > 0) AddMultiplyType(EScoreMutiplyType.ClickedFromResultPopup);
|
||||
}
|
||||
|
||||
public void UpdateAIGold()
|
||||
|
|
|
|||
|
|
@ -174,8 +174,21 @@ public class ResultPopup : PopupBase
|
|||
|
||||
}
|
||||
else
|
||||
{
|
||||
_resultTotalGold = GamePanel.Instance.Stake * fixedScore;
|
||||
{ // 총통으로 승리 시
|
||||
int multiply = 1;
|
||||
var multipleType = GamePanel.Instance.GetAndUpdateScoreMultiplyType(gameResult);
|
||||
|
||||
if (multipleType != null)
|
||||
{
|
||||
for (int i = 0; i < multipleType.Count; i++)
|
||||
{
|
||||
var val = CodeJay.CodeJayUtility.Utility.GetScoreMultiplyValue(multipleType[i]);
|
||||
multiply *= val;
|
||||
list_xinfo.Find(f => f.type == multipleType[i]).mul = val;
|
||||
}
|
||||
}
|
||||
|
||||
_resultTotalGold = GamePanel.Instance.Stake * fixedScore * multiply;
|
||||
t_Cal.text = $"{fixedScore}점 \n= 총 {fixedScore}점\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue