뽑기권 4종으로
This commit is contained in:
parent
f11a222c49
commit
497e5a5939
|
|
@ -74,7 +74,6 @@ messageinfo 엄청 느린 버그
|
||||||
- 바로가기 (컨텐츠 다 되면 하자)
|
- 바로가기 (컨텐츠 다 되면 하자)
|
||||||
- 컨텐츠가 없어서 적용안된 미션 있음 (출석, 농장 단계 등)
|
- 컨텐츠가 없어서 적용안된 미션 있음 (출석, 농장 단계 등)
|
||||||
|
|
||||||
상점
|
|
||||||
아이템 획득 UI
|
아이템 획득 UI
|
||||||
시즌패스
|
시즌패스
|
||||||
랭킹버튼 -> 랭킹 연결
|
랭킹버튼 -> 랭킹 연결
|
||||||
|
|
@ -86,6 +85,7 @@ messageinfo 엄청 느린 버그
|
||||||
맵 배치 (3,4,5)
|
맵 배치 (3,4,5)
|
||||||
- 포탈, 필드보스, 부활의 성소, 챕터보스
|
- 포탈, 필드보스, 부활의 성소, 챕터보스
|
||||||
|
|
||||||
|
상점
|
||||||
|
|
||||||
뽑기
|
뽑기
|
||||||
- 무기, 방어구, 장신구, 스킬
|
- 무기, 방어구, 장신구, 스킬
|
||||||
|
|
@ -94,4 +94,9 @@ messageinfo 엄청 느린 버그
|
||||||
- 50회마다 전설 등급 확정
|
- 50회마다 전설 등급 확정
|
||||||
- 10회마다 영웅 등급 확정
|
- 10회마다 영웅 등급 확정
|
||||||
- 서버 데이터 및 뽑기
|
- 서버 데이터 및 뽑기
|
||||||
- 테이블(GachaRandombag)
|
|
||||||
|
- 뽑기권 0개면 캐시만 노출
|
||||||
|
- 뽑기권 부족하면 뽑을 수 있는 뽑기권 + 캐시 노출
|
||||||
|
- 뽑기권 사용 가능하면 뽑기권만 노출
|
||||||
|
|
||||||
|
- 뽑기권은 탭마다 있음
|
||||||
|
|
@ -1 +1 @@
|
||||||
[{"n_ID": "10001", "n_Title": "290", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_NormalRandombag": "30001", "n_Extra10_Randombag": "40001", "n_Extra50_Randombag": "50001", "n_PickupReward": "20001"}, {"n_ID": "10002", "n_Title": "292", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_NormalRandombag": "30002", "n_Extra10_Randombag": "40002", "n_Extra50_Randombag": "50002", "n_PickupReward": "20002"}, {"n_ID": "10003", "n_Title": "293", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_NormalRandombag": "30003", "n_Extra10_Randombag": "40003", "n_Extra50_Randombag": "50003", "n_PickupReward": "20003"}, {"n_ID": "10004", "n_Title": "209", "s_Banner": "", "n_GachaPrice": "1000", "n_GachaGoodsID": "1", "n_NormalRandombag": "30004", "n_Extra10_Randombag": "40004", "n_Extra50_Randombag": "50004", "n_PickupReward": "20004"}]
|
[{"n_ID": "10001", "n_Title": "290", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_GachaTicketID": "401", "n_NormalRandombag": "30001", "n_Extra10_Randombag": "40001", "n_PickupReward": "20001"}, {"n_ID": "10002", "n_Title": "292", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_GachaTicketID": "402", "n_NormalRandombag": "30002", "n_Extra10_Randombag": "40002", "n_PickupReward": "20002"}, {"n_ID": "10003", "n_Title": "293", "s_Banner": "", "n_GachaPrice": "500", "n_GachaGoodsID": "1", "n_GachaTicketID": "403", "n_NormalRandombag": "30003", "n_Extra10_Randombag": "40003", "n_PickupReward": "20003"}, {"n_ID": "10004", "n_Title": "209", "s_Banner": "", "n_GachaPrice": "1000", "n_GachaGoodsID": "1", "n_GachaTicketID": "404", "n_NormalRandombag": "30004", "n_Extra10_Randombag": "40004", "n_PickupReward": "20004"}]
|
||||||
|
|
@ -1 +1 @@
|
||||||
[{"s_ID": "n_CashItemID", "n_Value": "1", "exception": "캐쉬 아이템 id"}, {"s_ID": "ATK", "n_Value": "1", "exception": "sss"}, {"s_ID": "HP", "n_Value": "100", "exception": "sss"}, {"s_ID": "DEF", "n_Value": "1", "exception": "sss"}, {"s_ID": "M_DEF", "n_Value": "1", "exception": "sss"}, {"s_ID": "ATK_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "HP_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "DEF_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "M_DEF_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "MP", "n_Value": "30", "exception": "sss"}, {"s_ID": "MP_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "ATK_FIXED", "n_Value": "0", "exception": ""}, {"s_ID": "ATK_FIXED_DECREASE", "n_Value": "0", "exception": ""}, {"s_ID": "CRI", "n_Value": "0.1", "exception": ""}, {"s_ID": "CRI_DMG_Multiplier", "n_Value": "10", "exception": ""}, {"s_ID": "M_CRI", "n_Value": "100", "exception": ""}, {"s_ID": "M_CRI_DMG_Multiplier", "n_Value": "0.1", "exception": ""}, {"s_ID": "SKILL_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "COOLTIME_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "HERO_ATK_SPD", "n_Value": "0.75", "exception": ""}, {"s_ID": "ATK_SPD_Multiplier", "n_Value": "1", "exception": ""}, {"s_ID": "HERO_MOVE_SPD", "n_Value": "3", "exception": ""}, {"s_ID": "MOVE_SPD_Multiplier", "n_Value": "1", "exception": ""}, {"s_ID": "HP_REGEN", "n_Value": "1", "exception": ""}, {"s_ID": "MP_REGEN", "n_Value": "3", "exception": ""}, {"s_ID": "HP_REGEN_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "MP_REGEN_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "PIERCING_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "DMG_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "GOLD_INCREASE", "n_Value": "0", "exception": ""}, {"s_ID": "GOLD_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "EXP_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "ITEM_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "EnchantOpenLv1", "n_Value": "0", "exception": ""}, {"s_ID": "EnchantOpenLv2", "n_Value": "10", "exception": ""}, {"s_ID": "EnchantOpenLv3", "n_Value": "20", "exception": ""}, {"s_ID": "Defense_Coefficient", "n_Value": "6", "exception": ""}, {"s_ID": "f_PC_FindEnemyRange", "n_Value": "6", "exception": ""}, {"s_ID": "f_Pet_FindEnemyRange", "n_Value": "5", "exception": ""}, {"s_ID": "f_AvoidCoolTime", "n_Value": "5", "exception": ""}, {"s_ID": "f_KnockbackTime", "n_Value": "0.02", "exception": ""}, {"s_ID": "f_SkillTeamRange", "n_Value": "15", "exception": ""}, {"s_ID": "n_AbilityMaterialID", "n_Value": "444", "exception": ""}, {"s_ID": "n_JobMaterialID", "n_Value": "445", "exception": ""}, {"s_ID": "AWAKEN_GOODS_UPGRADE", "n_Value": "450", "exception": ""}, {"s_ID": "AWAKEN_GOODS_STR", "n_Value": "451", "exception": ""}, {"s_ID": "AWAKEN_GOODS_DEX", "n_Value": "452", "exception": ""}, {"s_ID": "AWAKEN_GOODS_INT", "n_Value": "453", "exception": ""}, {"s_ID": "AWAKEN_GOODS_LUK", "n_Value": "454", "exception": ""}, {"s_ID": "n_BreakingLimitSlotMaterialID", "n_Value": "461", "exception": ""}, {"s_ID": "n_FirstEquipPet", "n_Value": "50002", "exception": ""}, {"s_ID": "n_PetReinforceMaterialID", "n_Value": "441", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID1", "n_Value": "340001", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID2", "n_Value": "340002", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID3", "n_Value": "340003", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv1", "n_Value": "10", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv2", "n_Value": "20", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv3", "n_Value": "40", "exception": ""}, {"s_ID": "n_EssenceMileageID", "n_Value": "471", "exception": ""}, {"s_ID": "n_EssenceRandomBagID", "n_Value": "9800001", "exception": ""}, {"s_ID": "n_RelicMaxStar", "n_Value": "5", "exception": ""}, {"s_ID": "n_RelicReinforceMaterialID", "n_Value": "472", "exception": ""}, {"s_ID": "n_FarmSeedID", "n_Value": "456", "exception": ""}, {"s_ID": "n_FarmPlantingSeedAmount", "n_Value": "5", "exception": ""}, {"s_ID": "n_FirstClassID", "n_Value": "10501", "exception": "최초 시작 직업"}, {"s_ID": "MazeMapCount", "n_Value": "2", "exception": "미궁 맵 개수"}, {"s_ID": "GoldDropRandomRange", "n_Value": "0.1", "exception": "몬스터 드랍 골드양 범위"}, {"s_ID": "n_GachaTicketID", "n_Value": "401", "exception": "뽑기권 아이템 id"}]
|
[{"s_ID": "n_CashItemID", "n_Value": "1", "exception": "캐쉬 아이템 id"}, {"s_ID": "ATK", "n_Value": "1", "exception": "sss"}, {"s_ID": "HP", "n_Value": "100", "exception": "sss"}, {"s_ID": "DEF", "n_Value": "1", "exception": "sss"}, {"s_ID": "M_DEF", "n_Value": "1", "exception": "sss"}, {"s_ID": "ATK_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "HP_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "DEF_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "M_DEF_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "MP", "n_Value": "30", "exception": "sss"}, {"s_ID": "MP_Multiplier", "n_Value": "0", "exception": "sss"}, {"s_ID": "ATK_FIXED", "n_Value": "0", "exception": ""}, {"s_ID": "ATK_FIXED_DECREASE", "n_Value": "0", "exception": ""}, {"s_ID": "CRI", "n_Value": "0.1", "exception": ""}, {"s_ID": "CRI_DMG_Multiplier", "n_Value": "10", "exception": ""}, {"s_ID": "M_CRI", "n_Value": "100", "exception": ""}, {"s_ID": "M_CRI_DMG_Multiplier", "n_Value": "0.1", "exception": ""}, {"s_ID": "SKILL_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "COOLTIME_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "HERO_ATK_SPD", "n_Value": "0.75", "exception": ""}, {"s_ID": "ATK_SPD_Multiplier", "n_Value": "1", "exception": ""}, {"s_ID": "HERO_MOVE_SPD", "n_Value": "3", "exception": ""}, {"s_ID": "MOVE_SPD_Multiplier", "n_Value": "1", "exception": ""}, {"s_ID": "HP_REGEN", "n_Value": "1", "exception": ""}, {"s_ID": "MP_REGEN", "n_Value": "3", "exception": ""}, {"s_ID": "HP_REGEN_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "MP_REGEN_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "PIERCING_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "DMG_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "GOLD_INCREASE", "n_Value": "0", "exception": ""}, {"s_ID": "GOLD_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "EXP_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "ITEM_Multiplier", "n_Value": "0", "exception": ""}, {"s_ID": "EnchantOpenLv1", "n_Value": "0", "exception": ""}, {"s_ID": "EnchantOpenLv2", "n_Value": "10", "exception": ""}, {"s_ID": "EnchantOpenLv3", "n_Value": "20", "exception": ""}, {"s_ID": "Defense_Coefficient", "n_Value": "6", "exception": ""}, {"s_ID": "f_PC_FindEnemyRange", "n_Value": "6", "exception": ""}, {"s_ID": "f_Pet_FindEnemyRange", "n_Value": "5", "exception": ""}, {"s_ID": "f_AvoidCoolTime", "n_Value": "5", "exception": ""}, {"s_ID": "f_KnockbackTime", "n_Value": "0.02", "exception": ""}, {"s_ID": "f_SkillTeamRange", "n_Value": "15", "exception": ""}, {"s_ID": "n_AbilityMaterialID", "n_Value": "444", "exception": ""}, {"s_ID": "n_JobMaterialID", "n_Value": "445", "exception": ""}, {"s_ID": "AWAKEN_GOODS_UPGRADE", "n_Value": "450", "exception": ""}, {"s_ID": "AWAKEN_GOODS_STR", "n_Value": "451", "exception": ""}, {"s_ID": "AWAKEN_GOODS_DEX", "n_Value": "452", "exception": ""}, {"s_ID": "AWAKEN_GOODS_INT", "n_Value": "453", "exception": ""}, {"s_ID": "AWAKEN_GOODS_LUK", "n_Value": "454", "exception": ""}, {"s_ID": "n_BreakingLimitSlotMaterialID", "n_Value": "461", "exception": ""}, {"s_ID": "n_FirstEquipPet", "n_Value": "50002", "exception": ""}, {"s_ID": "n_PetReinforceMaterialID", "n_Value": "441", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID1", "n_Value": "340001", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID2", "n_Value": "340002", "exception": ""}, {"s_ID": "n_PetReinforcePriceOptionID3", "n_Value": "340003", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv1", "n_Value": "10", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv2", "n_Value": "20", "exception": ""}, {"s_ID": "n_PetSkillAwaken_Lv3", "n_Value": "40", "exception": ""}, {"s_ID": "n_EssenceMileageID", "n_Value": "471", "exception": ""}, {"s_ID": "n_EssenceRandomBagID", "n_Value": "9800001", "exception": ""}, {"s_ID": "n_RelicMaxStar", "n_Value": "5", "exception": ""}, {"s_ID": "n_RelicReinforceMaterialID", "n_Value": "472", "exception": ""}, {"s_ID": "n_FarmSeedID", "n_Value": "456", "exception": ""}, {"s_ID": "n_FarmPlantingSeedAmount", "n_Value": "5", "exception": ""}, {"s_ID": "n_FirstClassID", "n_Value": "10501", "exception": "최초 시작 직업"}, {"s_ID": "MazeMapCount", "n_Value": "2", "exception": "미궁 맵 개수"}, {"s_ID": "GoldDropRandomRange", "n_Value": "0.1", "exception": "몬스터 드랍 골드양 범위"}]
|
||||||
Binary file not shown.
|
|
@ -30,6 +30,13 @@ public class GachaConfigTableData : TableDataBase
|
||||||
set { _GachaGoodsID = value; _GachaGoodsID.RandomizeCryptoKey(); }
|
set { _GachaGoodsID = value; _GachaGoodsID.RandomizeCryptoKey(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected ObscuredInt _GachaTicketID;
|
||||||
|
public int n_GachaTicketID
|
||||||
|
{
|
||||||
|
get { return _GachaTicketID; }
|
||||||
|
set { _GachaTicketID = value; _GachaTicketID.RandomizeCryptoKey(); }
|
||||||
|
}
|
||||||
|
|
||||||
protected ObscuredInt _NormalRandombag;
|
protected ObscuredInt _NormalRandombag;
|
||||||
public int n_NormalRandombag
|
public int n_NormalRandombag
|
||||||
{
|
{
|
||||||
|
|
@ -44,13 +51,6 @@ public class GachaConfigTableData : TableDataBase
|
||||||
set { _Extra10_Randombag = value; _Extra10_Randombag.RandomizeCryptoKey(); }
|
set { _Extra10_Randombag = value; _Extra10_Randombag.RandomizeCryptoKey(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ObscuredInt _Extra50_Randombag;
|
|
||||||
public int n_Extra50_Randombag
|
|
||||||
{
|
|
||||||
get { return _Extra50_Randombag; }
|
|
||||||
set { _Extra50_Randombag = value; _Extra50_Randombag.RandomizeCryptoKey(); }
|
|
||||||
}
|
|
||||||
|
|
||||||
protected ObscuredInt _PickupReward;
|
protected ObscuredInt _PickupReward;
|
||||||
public int n_PickupReward
|
public int n_PickupReward
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -16,14 +16,14 @@ public class GachaBase : MonoBehaviour
|
||||||
|
|
||||||
m_Data = table_gachaconfig.Ins.Get_Data_orNull(gacha);
|
m_Data = table_gachaconfig.Ins.Get_Data_orNull(gacha);
|
||||||
moneyForms[0].Set(m_Data.n_GachaGoodsID, m_Data.n_GachaPrice * 10);
|
moneyForms[0].Set(m_Data.n_GachaGoodsID, m_Data.n_GachaPrice * 10);
|
||||||
moneyForms[1].Set(table_GlobalValue.Ins.Get_Int("n_GachaTicketID"), 10);
|
moneyForms[1].Set(m_Data.n_GachaTicketID, 10);
|
||||||
moneyForms[2].Set(table_GlobalValue.Ins.Get_Int("n_GachaTicketID"), 1);
|
moneyForms[2].Set(m_Data.n_GachaTicketID, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClick_Gacha(int count)
|
public void OnClick_Gacha(int count)
|
||||||
{
|
{
|
||||||
var sdata = ServerInfo.Ins.m_ServerData;
|
var sdata = ServerInfo.Ins.m_ServerData;
|
||||||
var useTicket = sdata.Check_ItemAmount(table_GlobalValue.Ins.Get_Int("n_GachaTicketID"), count);
|
var useTicket = sdata.Check_ItemAmount(m_Data.n_GachaTicketID, count);
|
||||||
if (count == 1)
|
if (count == 1)
|
||||||
{ // 티켓만 사용
|
{ // 티켓만 사용
|
||||||
if (useTicket)
|
if (useTicket)
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ public class GachaUI : BotMenuBase
|
||||||
}
|
}
|
||||||
m_Tab.Set(list_tabData);
|
m_Tab.Set(list_tabData);
|
||||||
OnClick_Tab();
|
OnClick_Tab();
|
||||||
Set_Money(table_GlobalValue.Ins.Get_Int("n_CashItemID"), table_GlobalValue.Ins.Get_Int("n_GachaTicketID"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnClick_Tab()
|
private void OnClick_Tab()
|
||||||
|
|
@ -33,6 +32,7 @@ public class GachaUI : BotMenuBase
|
||||||
for (int i = 0; i < gachaBases.Length; i++)
|
for (int i = 0; i < gachaBases.Length; i++)
|
||||||
gachaBases[i].gameObject.SetActive(false);
|
gachaBases[i].gameObject.SetActive(false);
|
||||||
gachaBases[index].Set(dic_tab[index]);
|
gachaBases[index].Set(dic_tab[index]);
|
||||||
|
Set_Money(table_GlobalValue.Ins.Get_Int("n_CashItemID"), table_gachaconfig.Ins.Get_Data_orNull(dic_tab[index]).n_GachaTicketID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClick_Rate()
|
public void OnClick_Rate()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue