뽑기 작업 중...
This commit is contained in:
parent
5fa439ac5a
commit
f11a222c49
|
|
@ -22,6 +22,22 @@ public class GachaBase : MonoBehaviour
|
|||
|
||||
public void OnClick_Gacha(int count)
|
||||
{
|
||||
|
||||
var sdata = ServerInfo.Ins.m_ServerData;
|
||||
var useTicket = sdata.Check_ItemAmount(table_GlobalValue.Ins.Get_Int("n_GachaTicketID"), count);
|
||||
if (count == 1)
|
||||
{ // 티켓만 사용
|
||||
if (useTicket)
|
||||
{
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // 티켓 혹은 캐시템 사용
|
||||
if (useTicket)
|
||||
{ // 티켓 먼저 사용
|
||||
}
|
||||
else
|
||||
{ // 티켓 없으면 캐시템
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue