diff --git a/Assets/Ino_nerdnavis.txt b/Assets/Ino_nerdnavis.txt index d92774ff1..3b1ffdd73 100644 --- a/Assets/Ino_nerdnavis.txt +++ b/Assets/Ino_nerdnavis.txt @@ -39,16 +39,14 @@ classconfig 에 의해 정해짐 몬스터 골드, 아이템 드랍 messageinfo 엄청 느린 버그 +펫 왜 공격 안하냐 (펫 전투기획 나오면 설정) +화살의 경우 화살 궤적 추가하자 어드레서블 다운로드 눈속임 5그룹이라면 0~1 갈 때 0.2까지 쭉 올리고, 1~2 갈 때 0.4까지 쭉 올리고... 1까지 올리면 되지 않을까? 100%에서 다 되면 넘어가면 되지 -화살의 경우 화살 궤적 추가하자 전직 후 mypcui 갱신 +몬스터 사망 후 컬라이더 끄기 -몬스터 공격 projectile 이름은 테이블에 있는 걸로 사용 - -추가 컨텐츠 (미믹 던전) - - 결과 화면 (승리 보상 지급) - - 기본 공격 시 주변에 몹이 있다면 몹을 바라보게 - - 펫 왜 공격 안하냐 +미믹 던전 + - 결과 화면 (승리 보상 지급) diff --git a/Assets/ResWork/Table/Export/DungeonMapConfig.json b/Assets/ResWork/Table/Export/DungeonMapConfig.json index 6b4adb0b3..fdff37634 100644 --- a/Assets/ResWork/Table/Export/DungeonMapConfig.json +++ b/Assets/ResWork/Table/Export/DungeonMapConfig.json @@ -1 +1 @@ -[{"e_DungeonType": "맵 종류", "n_MapLv": "맵 Lv", "n_MobCount": "등장 몬스터 수", "n_SpawnID": "AppearTable", "n_MobID": "MonsterListTable", "f_MakeGap": "생성 주기", "f_Time": "제한 시간(초)"}, {"e_DungeonType": "d1_Mimic", "n_MapLv": "1", "n_MobCount": "50", "n_SpawnID": "1", "n_MobID": "1001", "f_MakeGap": "0.5", "f_Time": "30"}, {"e_DungeonType": "d1_Mimic", "n_MapLv": "2", "n_MobCount": "60", "n_SpawnID": "2", "n_MobID": "1001", "f_MakeGap": "0.4", "f_Time": "30"}, {"e_DungeonType": "d2_Maze", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1002", "f_MakeGap": "0", "f_Time": "90"}, {"e_DungeonType": "d3_Nightmare", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1003", "f_MakeGap": "0", "f_Time": "90"}, {"e_DungeonType": "d4_Wave", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1004", "f_MakeGap": "0", "f_Time": "1800"}] \ No newline at end of file +[{"e_DungeonType": "맵 종류", "n_MapLv": "맵 Lv", "n_MobCount": "등장 몬스터 수", "n_SpawnID": "AppearTable", "n_MobID": "MonsterListTable", "f_MakeGap": "생성 주기", "f_Time": "제한 시간(초)"}, {"e_DungeonType": "d1_Mimic", "n_MapLv": "1", "n_MobCount": "50", "n_SpawnID": "1", "n_MobID": "1001", "f_MakeGap": "0.4", "f_Time": "30"}, {"e_DungeonType": "d1_Mimic", "n_MapLv": "2", "n_MobCount": "60", "n_SpawnID": "2", "n_MobID": "1001", "f_MakeGap": "0.4", "f_Time": "30"}, {"e_DungeonType": "d2_Maze", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1002", "f_MakeGap": "0", "f_Time": "90"}, {"e_DungeonType": "d3_Nightmare", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1003", "f_MakeGap": "0", "f_Time": "90"}, {"e_DungeonType": "d4_Wave", "n_MapLv": "1", "n_MobCount": "0", "n_SpawnID": "1", "n_MobID": "1004", "f_MakeGap": "0", "f_Time": "1800"}] \ No newline at end of file diff --git a/Assets/ResWork/Table/butler.xlsm b/Assets/ResWork/Table/butler.xlsm index 3934eff0d..f9ea5146e 100644 Binary files a/Assets/ResWork/Table/butler.xlsm and b/Assets/ResWork/Table/butler.xlsm differ diff --git a/Assets/Script/Character/Actor.cs b/Assets/Script/Character/Actor.cs index 4c683919e..2e89c51d0 100644 --- a/Assets/Script/Character/Actor.cs +++ b/Assets/Script/Character/Actor.cs @@ -217,7 +217,7 @@ public class Actor : MyCoroutine return false; } - protected virtual void Set_Target(bool _usemagic = false) { } + public virtual void Set_Target(bool forcefind = false) { } public virtual void Set(bool isEnemy, Actor owner, ServerData sdata, int _id, bool _stop, bool _ui = false) { if (IsRole(eRole.PC)) ObjSize = GetComponent().bounds.size; diff --git a/Assets/Script/Character/MyActor.cs b/Assets/Script/Character/MyActor.cs index 7a3d109fd..cd842af25 100644 --- a/Assets/Script/Character/MyActor.cs +++ b/Assets/Script/Character/MyActor.cs @@ -5,7 +5,7 @@ public class MyActor : Actor protected float f_FindEnemyRange; protected Actor OwnerActor; - protected override void Set_Target(bool forcefind = false) + public override void Set_Target(bool forcefind = false) { if (!DSUtil.CheckNull(m_Target)) { diff --git a/Assets/Script/UI/Ingame/BattleUI.cs b/Assets/Script/UI/Ingame/BattleUI.cs index 6a84220c0..8baf46f4e 100644 --- a/Assets/Script/UI/Ingame/BattleUI.cs +++ b/Assets/Script/UI/Ingame/BattleUI.cs @@ -78,10 +78,12 @@ public class BattleUI : MonoBehaviour public void OnClick_Attack() { - if (!DSUtil.CheckNull(MyValue.MyPC)) + var pc = MyValue.MyPC; + if (!DSUtil.CheckNull(pc)) { - MyValue.MyPC.Check_Target(); - MyValue.MyPC.Play_Attack(0, (float)MyValue.MyPC.Get_StatInfo().Get_Stat(eStat.FinalAttackSpeed)); + if (DSUtil.CheckNull(pc.Get_Target()) || pc.Get_Target().IsDead()) + pc.Set_Target(); + pc.Play_Attack(0, (float)pc.Get_StatInfo().Get_Stat(eStat.FinalAttackSpeed)); } } diff --git a/Assets/Script/UI/Ingame/Dungeon/DungeonResult_Mimic.cs b/Assets/Script/UI/Ingame/Dungeon/DungeonResult_Mimic.cs index b2206bdbe..c73e3f08b 100644 --- a/Assets/Script/UI/Ingame/Dungeon/DungeonResult_Mimic.cs +++ b/Assets/Script/UI/Ingame/Dungeon/DungeonResult_Mimic.cs @@ -12,6 +12,7 @@ public class DungeonResult_Mimic : DungeonResultBase // 입장권 차감 var mapData = MyValue.MyChoiceMapData.Get_MapData(); + var dungeonData = MyValue.MyChoiceMapData.Get_DungeonMapData_orNull(); sdata.Use_Item(mapData.n_TicketID, 1); // 결과 표시 @@ -22,7 +23,8 @@ public class DungeonResult_Mimic : DungeonResultBase if (win) { // TODO 정인호 : 승리 시 보상 지급 - sdata.Add_DungeonLv(eDungeon.d1_Mimic); + if (sdata.Get_DungeonLv(eDungeon.d1_Mimic) < dungeonData.n_MapLv) + sdata.Add_DungeonLv(eDungeon.d1_Mimic); } ServerInfo.Ins.Write(null);