블레이드 댄서 : 죽음의 칼날
This commit is contained in:
parent
5949c4d9e3
commit
9bdafd81e9
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -31,6 +31,7 @@ Transform:
|
|||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 9195674842137819443}
|
||||
- {fileID: 3162623571122373041}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &-8374285309952649209
|
||||
|
|
@ -48,8 +49,131 @@ MonoBehaviour:
|
|||
m_Pierce: 1
|
||||
str_HitEffect:
|
||||
go_dagger: {fileID: 9195674842137819596}
|
||||
go_nextattack: {fileID: 4707030270019757744}
|
||||
speed: 4
|
||||
lifetime: 4
|
||||
--- !u!1001 &3048027562868384122
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 6938334946793910752}
|
||||
m_Modifications:
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7718747532235851722, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
propertyPath: m_Name
|
||||
value: FX_Skull_Dead
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 7718747532235851722, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 1511058499063469963}
|
||||
- targetCorrespondingSourceObject: {fileID: 7718747532235851722, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 1171921374453351936}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 83637f1b4cf95f44d893575ab801e2a6, type: 3}
|
||||
--- !u!4 &3162623571122373041 stripped
|
||||
Transform:
|
||||
m_CorrespondingSourceObject: {fileID: 121352595399270603, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3048027562868384122}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1 &4707030270019757744 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 7718747532235851722, guid: 83637f1b4cf95f44d893575ab801e2a6,
|
||||
type: 3}
|
||||
m_PrefabInstance: {fileID: 3048027562868384122}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &1511058499063469963
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4707030270019757744}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a38a032bc645dd748bf40d9200bf783a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Off_OnlyThisObj_byHit: 0
|
||||
--- !u!65 &1171921374453351936
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4707030270019757744}
|
||||
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: 2.7665012, y: 3.0122895, z: 1.6919131}
|
||||
m_Center: {x: -0.006144643, y: -0.0061447024, z: -0.06765962}
|
||||
--- !u!1001 &7834408084184242529
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -1,33 +1,56 @@
|
|||
using System.Collections;
|
||||
using UnityEngine;
|
||||
|
||||
public class Skill_DeathBlade : ProjectileBase
|
||||
{
|
||||
public GameObject go_dagger;
|
||||
public GameObject go_dagger, go_nextattack;
|
||||
|
||||
[Header("단검 속도")]
|
||||
public float speed = 4f;
|
||||
[Header("단검 유지시간")]
|
||||
public float lifetime = 4f;
|
||||
|
||||
Coroutine CoStrait, CoOff;
|
||||
|
||||
public override void Set(ProjectileData _data)
|
||||
{
|
||||
go_dagger.SetActive(true);
|
||||
go_nextattack.SetActive(false);
|
||||
_data.Speed = speed;
|
||||
_data.LifeTime = lifetime;
|
||||
_data.eStartPos = eProjectileStartPos.ShooterCenter;
|
||||
base.Set(_data);
|
||||
StartCoroutine(Co_Move_Strait(eProjectileStrait.Forward));
|
||||
CoStrait = StartCoroutine(Co_Move_Strait(eProjectileStrait.Forward));
|
||||
CoOff = StartCoroutine(Co_Off(lifetime));
|
||||
|
||||
_data.Action_OnHit = hitter =>
|
||||
{ // 단검을 맞췄을 경우
|
||||
_data.Action_OnHit = null;
|
||||
StopCoroutine(CoStrait);
|
||||
CoStrait = null;
|
||||
StopCoroutine(CoOff);
|
||||
CoOff = null;
|
||||
|
||||
go_dagger.SetActive(false);
|
||||
InGameInfo.Ins.Show_Effect("Effect_Teleport", _data.shooter.Get_position());
|
||||
_data.shooter.Set_Invisible(1.0f, () =>
|
||||
{
|
||||
_data.shooter.Set_Warp(_data.target.Get_PositionBack());
|
||||
_data.shooter.Set_Warp(hitter.Get_PositionBack());
|
||||
_data.shooter.Play_Skill("bd_skill3_next");
|
||||
StartCoroutine(Co_JoyStick(hitter));
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
StartCoroutine(Co_Off(lifetime));
|
||||
IEnumerator Co_JoyStick(Actor hitter)
|
||||
{
|
||||
OptionInfo.Ins.PCMove = false;
|
||||
yield return new WaitForSeconds(0.2f);
|
||||
go_nextattack.SetActive(true);
|
||||
go_nextattack.transform.position = hitter.Get_Center_position();
|
||||
yield return new WaitForSeconds(0.3f);
|
||||
OptionInfo.Ins.PCMove = true;
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
Off(true);
|
||||
}
|
||||
}
|
||||
|
|
@ -201,7 +201,7 @@ public enum eEffect
|
|||
Skill_IceBolt, Skill_Fireball, Skill_FireBolt, Skill_EnergyBall, Skill_Blizzard, Skill_Flower, Skill_Golem, Skill_EarthWorm,
|
||||
Skill_Hurricane, Skill_EatSnack, Skill_ShieldAttack, Skill_JumpAttack, Skill_ManaBurst, Skill_DaggerThrow, Skill_OneHandCombo1,
|
||||
Skill_FatalBlow, Skill_DashSlash, Skill_EnergySlash, Skill_BrutalSlash, Skill_Berserk, Skill_EarthSlam, Skill_Whirlwind,
|
||||
Skill_SweepAttack, Skill_VitalStrike, Skill_DeathBlade,
|
||||
Skill_SweepAttack, Skill_VitalStrike, Skill_DeathBlade,
|
||||
|
||||
Skill_Poison,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue