GACHA_ALL
GACHA_EQUIP, GACHA_EQUIP_ACC, GACHA_ALL GACHA_SKILL, GACHA_SKILL_ACC,
This commit is contained in:
parent
4445b50bcc
commit
64a5071861
|
|
@ -86,18 +86,19 @@ messageinfo 엄청 느린 버그
|
||||||
- 포탈, 필드보스, 부활의 성소, 챕터보스
|
- 포탈, 필드보스, 부활의 성소, 챕터보스
|
||||||
|
|
||||||
상점
|
상점
|
||||||
- 인앱 결제 (서버 및 스토어는 나중에)
|
- 첫 구매 보너스
|
||||||
- 상점 UI
|
- 기타 금액 UI로 이동
|
||||||
- 재화에 따른 구매 분기 처리
|
|
||||||
-- 현금 (바로 구매)
|
|
||||||
-- 광고 (광고 시청 후 아이템 지급 처리)
|
|
||||||
-- 요구하는 재화로 구매
|
|
||||||
-- 보석이 부족한 경우 현금으로 사라고 팝업 노출
|
|
||||||
- 예시 테이블 데이터
|
|
||||||
- 메일 보상 받을 때 상점 아이템인 지 확인
|
|
||||||
- 인앱 구매 플레이팹 연동 등
|
|
||||||
|
|
||||||
상점 작업 완료 후 노션에 적자
|
미션
|
||||||
|
BUY_PRODUCT,
|
||||||
|
BUY_PRODUCT_ALL,
|
||||||
|
BUY_PAID_COUNT_ACC,
|
||||||
|
|
||||||
|
|
||||||
인게임 전투 방식 및 타격감 등 - 갓깨비 키우기
|
|
||||||
|
작업 내역 노션에 남겨두기
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
다른 게임 참조해서 인게임 다듬어 보자.
|
||||||
|
스킬 등 인게임 부족한 부분 보완하자.
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
상점
|
||||||
|
https://www.notion.so/devlucas/1d5e9deec1718087aac3ca496826d2c4#1e0e9deec17180178941fb8075a3c376
|
||||||
|
|
||||||
|
뽑기
|
||||||
|
https://www.notion.so/devlucas/1d2e9deec17180fa90c8f43f99ec16c2#1e0e9deec1718037af0ec3111e76f669
|
||||||
|
|
||||||
|
미션
|
||||||
|
https://www.notion.so/devlucas/1b3e9deec17180428860fb00520bd1d3#1e0e9deec17180b982e3c5d9481de5bc
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0d5a69c32a2f81e4199cb789b6b6d530
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -20,6 +20,7 @@ public class TableChecker : MonoBehaviourSingletonTemplate<TableChecker>
|
||||||
if (!tables[i].Get_LoadComplete())
|
if (!tables[i].Get_LoadComplete())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
table_gachaconfig.Ins.Check_SkillGacha();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,22 @@ public class GachaConfigTableData : TableDataBase
|
||||||
}
|
}
|
||||||
|
|
||||||
public Dictionary<int, int> dic_randomgbag = new Dictionary<int, int>();
|
public Dictionary<int, int> dic_randomgbag = new Dictionary<int, int>();
|
||||||
|
public bool isSkillGacha;
|
||||||
|
|
||||||
|
public void Check_SkillGacha()
|
||||||
|
{
|
||||||
|
isSkillGacha = false;
|
||||||
|
|
||||||
|
var bags = table_gacharandombag.Ins.Get_DataList(n_NormalRandombag, 1);
|
||||||
|
for (int i = 0; i < bags.Count; i++)
|
||||||
|
{
|
||||||
|
if (table_itemlist.Ins.Get_Data(bags[i].n_RewardID).e_ItemType == eItem.Skill)
|
||||||
|
{
|
||||||
|
isSkillGacha = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class table_gachaconfig : table_missionbase
|
public class table_gachaconfig : table_missionbase
|
||||||
|
|
@ -95,6 +111,7 @@ public class table_gachaconfig : table_missionbase
|
||||||
base.Start();
|
base.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Check_SkillGacha() { tableDatas.ForEach(f => f.Check_SkillGacha()); }
|
||||||
public GachaConfigTableData Get_Data_orNull(int id) { return dic_Data.ContainsKey(id) ? dic_Data[id] : null; }
|
public GachaConfigTableData Get_Data_orNull(int id) { return dic_Data.ContainsKey(id) ? dic_Data[id] : null; }
|
||||||
public List<GachaConfigTableData> Get_DataList() { return tableDatas; }
|
public List<GachaConfigTableData> Get_DataList() { return tableDatas; }
|
||||||
}
|
}
|
||||||
|
|
@ -166,6 +166,18 @@ public class btn_gacha : MonoBehaviour
|
||||||
for (int i = 0; i < items.Count; i++)
|
for (int i = 0; i < items.Count; i++)
|
||||||
sdata.Add_Item(items[i].itemid, items[i].amount);
|
sdata.Add_Item(items[i].itemid, items[i].amount);
|
||||||
|
|
||||||
|
sdata.Add_MissionCount(ePurpose.GACHA_ALL, 0, m_Count);
|
||||||
|
if (m_Data.isSkillGacha)
|
||||||
|
{
|
||||||
|
sdata.Add_MissionCount(ePurpose.GACHA_SKILL, 0, m_Count);
|
||||||
|
sdata.Add_MissionCount(ePurpose.GACHA_SKILL_ACC, 0, m_Count);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sdata.Add_MissionCount(ePurpose.GACHA_EQUIP, 0, m_Count);
|
||||||
|
sdata.Add_MissionCount(ePurpose.GACHA_EQUIP_ACC, 0, m_Count);
|
||||||
|
}
|
||||||
|
|
||||||
ObtainItemUI.Ins.Set(items);
|
ObtainItemUI.Ins.Set(items);
|
||||||
NewGameUI.Ins.m_GachaUI.Set_Money();
|
NewGameUI.Ins.m_GachaUI.Set_Money();
|
||||||
NewGameUI.Ins.m_GachaUI.m_gachaBase.Set_UI();
|
NewGameUI.Ins.m_GachaUI.m_gachaBase.Set_UI();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue