퀸 언데드 진짜 완료

This commit is contained in:
Ino 2025-02-23 13:11:21 +09:00
parent cc4b0fdcbe
commit 73488c775e
8 changed files with 106 additions and 14 deletions

View File

@ -56,7 +56,14 @@ ModelImporter:
mirror: 0 mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000 bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: [] curves: []
events: [] events:
- time: 0.18292733
functionName: BossProjectile2
data:
objectReferenceParameter: {instanceID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
transformMask: [] transformMask: []
maskType: 3 maskType: 3
maskSource: {instanceID: 0} maskSource: {instanceID: 0}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1,73 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1175524540571020502
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8021888228437686570}
- component: {fileID: -5545241364224739659}
- component: {fileID: 8240083998892309707}
m_Layer: 0
m_Name: QueenUndead_Skill1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8021888228437686570
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1175524540571020502}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &-5545241364224739659
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1175524540571020502}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6e5d0473a60828744bcfa5080dba954d, type: 3}
m_Name:
m_EditorClassIdentifier:
ColliderLayer: Actor
m_Pierce: 0
str_HitEffect:
m_ShowTimeOverEffect: 1
FollowTarget: 1
--- !u!65 &8240083998892309707
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1175524540571020502}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 1
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.1, y: 1, z: 0.1}
m_Center: {x: 0, y: 0, z: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 00960a350b887aa4bbbba7bb27e356d0
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -62,26 +62,27 @@ public class Boss_QueenUndead : BossMobActor
Change_MobStatus(eMobStatus.Skill); Change_MobStatus(eMobStatus.Skill);
AnimationPlay("boss_skill1"); AnimationPlay("boss_skill1");
// 차징 중 yield return new WaitForSeconds(1.5f);
yield return new WaitForSeconds(1f);
if (isTarget)
{
m_Target.Buff_or_Debuff(eCC.SilenceCurse, Skill1LifeTime, Skill1Manaburn);
var skilltype = table_skilltypeconfig.Ins.Get_Data_orNull(eSkillExtraType.SilenceCurse);
InGameInfo.Ins.Show_Effect(skilltype.e_SkillEffect, m_Target, skilltype.e_EffectLocation, Skill1LifeTime);
}
Check_Battle(); Check_Battle();
Init(true, false); Init(true, false);
} }
protected override void Set_Skill1Projectile(ProjectileBase pb)
{
var pd = pb.Get_ProjectTileData();
pd.e_SkillExtraType = eSkillExtraType.SilenceCurse;
pd.m_skillTypeConfigTable = table_skilltypeconfig.Ins.Get_Data_orNull(pd.e_SkillExtraType);
pd.m_SkillListTableData = m_SilenceCurse;
}
IEnumerator Co_Skill2() IEnumerator Co_Skill2()
{ {
Change_MobStatus(eMobStatus.Skill); Change_MobStatus(eMobStatus.Skill);
AnimationPlay("boss_skill2charging"); AnimationPlay("boss_skill2charging");
InGameInfo.Ins.Show_Effect("Effect_QueenUndeadCharging", this, eEffectLocation.Bottom, Skill2ChargingTime); InGameInfo.Ins.Show_Effect("Effect_QueenUndeadCharging", this, eEffectLocation.Bottom, Skill2ChargingTime);
yield return new WaitForSeconds(Skill2ChargingTime); yield return new WaitForSeconds(Skill2ChargingTime);
AnimationPlay("boss_skill2attack"); AnimationPlay("boss_skill2attack");
yield return new WaitForSeconds(1.5f); yield return new WaitForSeconds(1.5f);
Check_Battle(); Check_Battle();
Init(false, true); Init(false, true);

View File

@ -3,6 +3,8 @@ using UnityEngine;
public class Projectile_FollowShooter : ProjectileBase public class Projectile_FollowShooter : ProjectileBase
{ {
public bool FollowTarget;
public override void Set(ProjectileData _data) public override void Set(ProjectileData _data)
{ {
base.Set(_data); base.Set(_data);
@ -17,7 +19,7 @@ public class Projectile_FollowShooter : ProjectileBase
{ {
yield return null; yield return null;
m_ProjecTileData.LifeTime -= Time.deltaTime; m_ProjecTileData.LifeTime -= Time.deltaTime;
transform.position = m_ProjecTileData.shooter.Get_position(); transform.position = FollowTarget ? m_ProjecTileData.target.Get_position() : m_ProjecTileData.shooter.Get_position();
} }
Off(true); Off(true);

View File

@ -8,6 +8,8 @@ TagManager:
- Mob - Mob
- Pet - Pet
- Summon - Summon
- DropItem
- Bullet
layers: layers:
- Default - Default
- TransparentFX - TransparentFX
@ -15,7 +17,7 @@ TagManager:
- Actor - Actor
- Water - Water
- UI - UI
- - Map
- -
- -
- -