HERO_TRANSCENDENCE_ACC
HERO_OPTION_CHANGE HERO_OPTION_CHANGE_ACC HERO_OPTION_CHANGE_SLOT_LIMIT
This commit is contained in:
parent
8984328708
commit
8b6769eb1f
|
|
@ -1 +1 @@
|
|||
[{"n_LimitLv": "1", "n_RequireTotalStat": "5", "n_RequireLevel": "3", "n_MaxAbilityPoint": "1", "n_Equip_Upgrade_Limit": "10", "f_Monster_DMG_Multiplier": "0.05", "f_Boss_DMG_Multiplier": "0", "f_ALL_STAT_Multiplier": "0", "n_limitSlotMagic": "0"}, {"n_LimitLv": "2", "n_RequireTotalStat": "10", "n_RequireLevel": "10", "n_MaxAbilityPoint": "2", "n_Equip_Upgrade_Limit": "15", "f_Monster_DMG_Multiplier": "0.1", "f_Boss_DMG_Multiplier": "0.1", "f_ALL_STAT_Multiplier": "0.05", "n_limitSlotMagic": "0"}, {"n_LimitLv": "3", "n_RequireTotalStat": "15", "n_RequireLevel": "20", "n_MaxAbilityPoint": "3", "n_Equip_Upgrade_Limit": "20", "f_Monster_DMG_Multiplier": "0.25", "f_Boss_DMG_Multiplier": "0.1", "f_ALL_STAT_Multiplier": "0.065", "n_limitSlotMagic": "1"}, {"n_LimitLv": "4", "n_RequireTotalStat": "20", "n_RequireLevel": "50", "n_MaxAbilityPoint": "4", "n_Equip_Upgrade_Limit": "25", "f_Monster_DMG_Multiplier": "0.3", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.08", "n_limitSlotMagic": "1"}, {"n_LimitLv": "5", "n_RequireTotalStat": "25", "n_RequireLevel": "100", "n_MaxAbilityPoint": "5", "n_Equip_Upgrade_Limit": "30", "f_Monster_DMG_Multiplier": "0.35", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.1", "n_limitSlotMagic": "2"}, {"n_LimitLv": "6", "n_RequireTotalStat": "30", "n_RequireLevel": "150", "n_MaxAbilityPoint": "6", "n_Equip_Upgrade_Limit": "35", "f_Monster_DMG_Multiplier": "0.4", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.12", "n_limitSlotMagic": "3"}, {"n_LimitLv": "7", "n_RequireTotalStat": "35", "n_RequireLevel": "200", "n_MaxAbilityPoint": "7", "n_Equip_Upgrade_Limit": "40", "f_Monster_DMG_Multiplier": "0.45", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.14", "n_limitSlotMagic": "4"}, {"n_LimitLv": "8", "n_RequireTotalStat": "40", "n_RequireLevel": "250", "n_MaxAbilityPoint": "8", "n_Equip_Upgrade_Limit": "45", "f_Monster_DMG_Multiplier": "0.5", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.16", "n_limitSlotMagic": "5"}, {"n_LimitLv": "9", "n_RequireTotalStat": "45", "n_RequireLevel": "300", "n_MaxAbilityPoint": "9", "n_Equip_Upgrade_Limit": "50", "f_Monster_DMG_Multiplier": "0.55", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.18", "n_limitSlotMagic": "6"}]
|
||||
[{"n_LimitLv": "1", "n_RequireTotalStat": "5", "n_RequireLevel": "3", "n_MaxAbilityPoint": "1", "n_Equip_Upgrade_Limit": "10", "f_Monster_DMG_Multiplier": "0.05", "f_Boss_DMG_Multiplier": "0", "f_ALL_STAT_Multiplier": "0", "n_limitSlotMagic": "0"}, {"n_LimitLv": "2", "n_RequireTotalStat": "10", "n_RequireLevel": "10", "n_MaxAbilityPoint": "2", "n_Equip_Upgrade_Limit": "15", "f_Monster_DMG_Multiplier": "0.1", "f_Boss_DMG_Multiplier": "0.1", "f_ALL_STAT_Multiplier": "0.05", "n_limitSlotMagic": "1"}, {"n_LimitLv": "3", "n_RequireTotalStat": "15", "n_RequireLevel": "20", "n_MaxAbilityPoint": "3", "n_Equip_Upgrade_Limit": "20", "f_Monster_DMG_Multiplier": "0.25", "f_Boss_DMG_Multiplier": "0.1", "f_ALL_STAT_Multiplier": "0.065", "n_limitSlotMagic": "2"}, {"n_LimitLv": "4", "n_RequireTotalStat": "20", "n_RequireLevel": "50", "n_MaxAbilityPoint": "4", "n_Equip_Upgrade_Limit": "25", "f_Monster_DMG_Multiplier": "0.3", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.08", "n_limitSlotMagic": "2"}, {"n_LimitLv": "5", "n_RequireTotalStat": "25", "n_RequireLevel": "100", "n_MaxAbilityPoint": "5", "n_Equip_Upgrade_Limit": "30", "f_Monster_DMG_Multiplier": "0.35", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.1", "n_limitSlotMagic": "3"}, {"n_LimitLv": "6", "n_RequireTotalStat": "30", "n_RequireLevel": "150", "n_MaxAbilityPoint": "6", "n_Equip_Upgrade_Limit": "35", "f_Monster_DMG_Multiplier": "0.4", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.12", "n_limitSlotMagic": "3"}, {"n_LimitLv": "7", "n_RequireTotalStat": "35", "n_RequireLevel": "200", "n_MaxAbilityPoint": "7", "n_Equip_Upgrade_Limit": "40", "f_Monster_DMG_Multiplier": "0.45", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.14", "n_limitSlotMagic": "4"}, {"n_LimitLv": "8", "n_RequireTotalStat": "40", "n_RequireLevel": "250", "n_MaxAbilityPoint": "8", "n_Equip_Upgrade_Limit": "45", "f_Monster_DMG_Multiplier": "0.5", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.16", "n_limitSlotMagic": "5"}, {"n_LimitLv": "9", "n_RequireTotalStat": "45", "n_RequireLevel": "300", "n_MaxAbilityPoint": "9", "n_Equip_Upgrade_Limit": "50", "f_Monster_DMG_Multiplier": "0.55", "f_Boss_DMG_Multiplier": "0.2", "f_ALL_STAT_Multiplier": "0.18", "n_limitSlotMagic": "6"}]
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -727,7 +727,12 @@ public partial class ServerData
|
|||
#endregion
|
||||
#region 초월(한계돌파)
|
||||
public int Get_LimitLv() { return PC.LLv; }
|
||||
public void Add_LimitLv() { ++PC.LLv; PC.LLv.RandomizeCryptoKey(); }
|
||||
public void Add_LimitLv()
|
||||
{
|
||||
++PC.LLv;
|
||||
PC.LLv.RandomizeCryptoKey();
|
||||
Add_MissionCount(ePurpose.HERO_TRANSCENDENCE_ACC);
|
||||
}
|
||||
public List<SD_PCLimitSlotData> Get_LimitSlot(string preset) { return LimitSlot[preset]; }
|
||||
public void Set_LimitSlotID(string preset, int slot, int id, int lv)
|
||||
{
|
||||
|
|
@ -1047,20 +1052,7 @@ public partial class ServerData
|
|||
Mission[key1][key2][0].RandomizeCryptoKey();
|
||||
}
|
||||
}
|
||||
public void Set_MissionCount(int group, int _id, int _v)
|
||||
{
|
||||
var key1 = Get_Key(group);
|
||||
if (Mission.ContainsKey(key1))
|
||||
{
|
||||
var key2 = Get_Key(_id);
|
||||
if (Mission[key1].ContainsKey(key2))
|
||||
{
|
||||
Mission[key1][key2][1] = _v;
|
||||
Mission[key1][key2][1].RandomizeCryptoKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
public void Add_MissionCount(ePurpose purpose, int conditionvalue = 0, int _v = 1)
|
||||
public void Add_MissionCount(ePurpose purpose, int conditionvalue = 0, int _v = 1, bool setValue = false)
|
||||
{
|
||||
if (_v < 1) return;
|
||||
var lst = table_missionlist.Ins.Get_DataList(purpose);
|
||||
|
|
@ -1072,7 +1064,8 @@ public partial class ServerData
|
|||
var key2 = Get_Key(lst[i].n_MissionIndex);
|
||||
if (!Mission.ContainsKey(key1)) Mission.Add(key1, new Dictionary<string, List<ObscuredInt>>());
|
||||
if (!Mission[key1].ContainsKey(key2)) Mission[key1].Add(key2, new List<ObscuredInt> { 0, 0 });
|
||||
Mission[key1][key2][1] += _v;
|
||||
if (setValue) Mission[key1][key2][1] = _v;
|
||||
else Mission[key1][key2][1] += _v;
|
||||
Mission[key1][key2][1].RandomizeCryptoKey();
|
||||
}
|
||||
}
|
||||
|
|
@ -1099,6 +1092,9 @@ public partial class ServerData
|
|||
case ePurpose.CHECK_PLAYTIME_ACC:
|
||||
return Get_Common(eCommon.PlayTime) / 60;
|
||||
|
||||
case ePurpose.HERO_TRANSCENDENCE_ACC:
|
||||
return Get_LimitLv();
|
||||
|
||||
default:
|
||||
var key1 = Get_Key(group);
|
||||
if (Mission.ContainsKey(key1))
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class PCLimitSlotCard : CardBase
|
||||
|
|
@ -64,6 +61,8 @@ public class PCLimitSlotCard : CardBase
|
|||
var itemData = table_randombag.Ins.Get_RandomItemData(Tdata.n_DropIndex, grade);
|
||||
var optionlv = table_enchantgradeconfig.Ins.Get_Lv(grade);
|
||||
sdata.Set_LimitSlotID(preset, m_Slot, itemData.itemid, optionlv);
|
||||
sdata.Add_MissionCount(ePurpose.HERO_OPTION_CHANGE);
|
||||
sdata.Add_MissionCount(ePurpose.HERO_OPTION_CHANGE_ACC);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
using TMPro;
|
||||
using UnityEngine.UI;
|
||||
using static InvBaseItem;
|
||||
|
||||
/// <summary>
|
||||
/// 초월 정보 (전 레벨 -> 다음 레벨)
|
||||
|
|
@ -65,6 +66,15 @@ public class PCLimit_Center : PCLimit_StatInfo
|
|||
|
||||
var moneyid = table_GlobalValue.Ins.Get_Int("n_AbilityMaterialID");
|
||||
sdata.Add_Item(moneyid, m_NextData.n_MaxAbilityPoint - m_CurData.n_MaxAbilityPoint);
|
||||
|
||||
// 오픈 슬롯 체크
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
var lv = sdata.Get_LimitLv();
|
||||
var openlv = table_breakinglimit.Ins.Get_SlotOpenLv(i + 1);
|
||||
if (lv >= openlv)
|
||||
sdata.Add_MissionCount(ePurpose.HERO_OPTION_CHANGE_SLOT_LIMIT, 0, i + 1, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
ToastUI.Ins.Set(264);
|
||||
|
|
|
|||
Loading…
Reference in New Issue