악몽의 시련 - 결과 화면
This commit is contained in:
parent
b25bebe360
commit
2244f42e81
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,14 @@
|
|||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
|
||||
public class DungeonResultBase : BackKeyAdd
|
||||
{
|
||||
public TextMeshProUGUI[] texts; // 0 성공 or 실패, 1 난이도, 2 처치 수
|
||||
public ObtainItemCard[] rewards;
|
||||
|
||||
protected List<ItemSimpleData> list_reward = new List<ItemSimpleData>
|
||||
{ new ItemSimpleData{ itemid = 1 }, new ItemSimpleData{ itemid = 2 } };
|
||||
|
||||
public virtual void Set(bool? win)
|
||||
{
|
||||
base.Set();
|
||||
|
|
|
|||
|
|
@ -3,12 +3,6 @@ using TMPro;
|
|||
|
||||
public class DungeonResult_Maze : DungeonResultBase
|
||||
{
|
||||
public TextMeshProUGUI[] texts; // 0 기존층, 1 최고층
|
||||
public ObtainItemCard[] rewards;
|
||||
|
||||
List<ItemSimpleData> list_reward = new List<ItemSimpleData>
|
||||
{ new ItemSimpleData{ itemid = 1 }, new ItemSimpleData{ itemid = 2 } };
|
||||
|
||||
public override void Set(bool? win)
|
||||
{
|
||||
base.Set(win);
|
||||
|
|
|
|||
|
|
@ -3,12 +3,6 @@ using TMPro;
|
|||
|
||||
public class DungeonResult_Mimic : DungeonResultBase
|
||||
{
|
||||
public TextMeshProUGUI[] texts; // 0 성공 or 실패, 1 난이도, 2 처치 수
|
||||
public ObtainItemCard[] rewards;
|
||||
|
||||
List<ItemSimpleData> list_reward = new List<ItemSimpleData>
|
||||
{ new ItemSimpleData{ itemid = 1 }, new ItemSimpleData{ itemid = 2 } };
|
||||
|
||||
public override void Set(bool? win)
|
||||
{
|
||||
if (DSUtil.CheckNull(win))
|
||||
|
|
|
|||
|
|
@ -1,20 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
|
||||
public class DungeonResult_Nightmare : DungeonResultBase
|
||||
{
|
||||
public TextMeshProUGUI[] texts;
|
||||
|
||||
public override void Set(bool? win)
|
||||
{
|
||||
base.Set(win);
|
||||
|
||||
var BeforeDmg = Math.Truncate(MyValue.MyChoiceMapData.d_NightmareBeforeDmg);
|
||||
var CurDmg = Math.Truncate(DungeonInfo.Ins.m_TotalDamage);
|
||||
texts[0].text = DSUtil.Format("기존 데미지 : {0}\n\n현재 데미지 : {1}",
|
||||
NumberFormatter.FormatNumber(BeforeDmg),
|
||||
NumberFormatter.FormatNumber(CurDmg));
|
||||
texts[0].text = DSUtil.Format(422, NumberFormatter.FormatNumber(BeforeDmg));
|
||||
texts[1].text = DSUtil.Format(423, NumberFormatter.FormatNumber(CurDmg));
|
||||
rewards[0].Set(list_reward[0]);
|
||||
rewards[1].Set(list_reward[1]);
|
||||
|
||||
if (CurDmg > BeforeDmg)
|
||||
ServerInfo.Ins.Save_Rank("Rank_Damage", new List<string> { CurDmg.ToString() });
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@ using TMPro;
|
|||
|
||||
public class DungeonResult_Wave : DungeonResultBase
|
||||
{
|
||||
public TextMeshProUGUI[] texts; // 0 결과
|
||||
|
||||
public override void Set(bool? win)
|
||||
{
|
||||
base.Set(win);
|
||||
|
|
|
|||
Loading…
Reference in New Issue