아이스 골렘 스킬1 작업 중..

This commit is contained in:
Ino 2025-02-20 09:40:21 +09:00
parent a4e61d8509
commit e02b0b30c4
19 changed files with 652 additions and 37 deletions

View File

@ -0,0 +1,134 @@
fileFormatVersion: 2
guid: b29c6c4bb08505740916d8ccc11dfb39
ModelImporter:
serializedVersion: 20200
internalIDToNameTable:
- first:
74: 6607843633043659231
second: Idle
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations:
- serializedVersion: 16
name: Idle
takeName: Anim_Ice_Golem@Idle
internalID: 0
firstFrame: 1
lastFrame: 30
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 1
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,148 @@
fileFormatVersion: 2
guid: c6c3b4fe3e0357446a0b179717c6a997
ModelImporter:
serializedVersion: 22200
internalIDToNameTable:
- first:
74: 1689807959075121391
second: Attack
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations:
- serializedVersion: 16
name: Attack
takeName: Anim_Ice_Golem@Attack
internalID: 0
firstFrame: 211
lastFrame: 225
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events:
- time: 0
functionName: BossProjectile2
data:
objectReferenceParameter: {instanceID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 211
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 0
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 0
remapMaterialsIfMaterialImportModeIsNone: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,33 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-6991486973509011003
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: boss_skill1attack
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 1865732982576055831}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 1689807959075121391, guid: c6c3b4fe3e0357446a0b179717c6a997,
type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
@ -183,6 +211,12 @@ AnimatorStateMachine:
- serializedVersion: 1
m_State: {fileID: 110293690}
m_Position: {x: 370, y: -60, z: 0}
- serializedVersion: 1
m_State: {fileID: 4099891859865883857}
m_Position: {x: 100, y: -190, z: 0}
- serializedVersion: 1
m_State: {fileID: -6991486973509011003}
m_Position: {x: 100, y: -130, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
@ -212,6 +246,55 @@ AnimatorStateMachine:
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 0}
--- !u!1101 &1865732982576055831
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 110209958}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 0.5714283
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1102 &4099891859865883857
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: boss_skill1start
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 6607843633043659231, guid: b29c6c4bb08505740916d8ccc11dfb39,
type: 3}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &7080822483303777790
AnimatorStateTransition:
m_ObjectHideFlags: 1

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1,161 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2275002850514248236
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7700533061093772912}
- component: {fileID: -5702343879196299615}
- component: {fileID: 4895187996423559227}
m_Layer: 0
m_Name: IceGolem_Skill1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7700533061093772912
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2275002850514248236}
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:
- {fileID: 564125343353962842}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &-5702343879196299615
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2275002850514248236}
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: 8, y: 5, z: 8}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &4895187996423559227
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2275002850514248236}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e5d2fd9d460da6a4d87b4be83a4cdc32, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Pierce: 1
str_HitEffect:
m_ShowTimeOverEffect: 0
--- !u!1001 &6681940284236726819
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7700533061093772912}
m_Modifications:
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8635364930398396966, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
propertyPath: m_Name
value: FX_BlueStar_Shock
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e8772bb2a10e02e44b887ab8224a23b4, type: 3}
--- !u!4 &564125343353962842 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6588529086600381305, guid: e8772bb2a10e02e44b887ab8224a23b4,
type: 3}
m_PrefabInstance: {fileID: 6681940284236726819}
m_PrefabAsset: {fileID: 0}

View File

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

View File

@ -55,8 +55,7 @@ public class Actor : MyCoroutine
set
{
_isstop = value;
if (IsSubRole(eSubRol.Boss))
Debug.Log("IsStop 변경 " + value);
//if (IsSubRole(eSubRol.Boss)) Debug.Log("IsStop 변경 " + value);
}
}
public bool m_IsLockTarget { get; set; }
@ -1627,18 +1626,18 @@ public class Actor : MyCoroutine
#endregion
#region
public virtual void Jump(float jumpTime, Action after = null)
public virtual void Jump(float jumpTime, float height = 1f, float jumpspeed1 = 5f, float jumpspeed2 = 2f, Action after = null)
{
StartCoroutine(Co_Jump(jumpTime, after));
StartCoroutine(Co_Jump(jumpTime, height, jumpspeed1, jumpspeed2, after));
}
IEnumerator Co_Jump(float jumpTime, Action after = null)
IEnumerator Co_Jump(float jumpTime, float height = 1f, float jumpspeed1 = 5f, float jumpspeed2 = 2f, Action after = null)
{
StopMove_Imm(false);
m_NavMeshAgent.enabled = false;
Vector3 v3_ori = new Vector3(transform.position.x, transform.position.y, transform.position.z);
Vector3 v3_target = new Vector3(transform.position.x, transform.position.y + 1f, transform.position.z);
float t = 0f, speed = 5f;
Vector3 v3_target = new Vector3(transform.position.x, transform.position.y + height, transform.position.z);
float t = 0f, speed = jumpspeed1;
while (t < 1f)
{
yield return null;
@ -1652,7 +1651,7 @@ public class Actor : MyCoroutine
while (t < 1f)
{
yield return null;
t += Time.deltaTime * speed * 2f;
t += Time.deltaTime * speed * jumpspeed2;
transform.position = Vector3.Lerp(v3_target, v3_ori, t);
}

View File

@ -1,8 +1,43 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Boss_IceGolem : BossMobActor
{
[Header("스킬1 쿨타임")]
public float Skill1CoolTime = 8f;
[Header("스킬1 타겟 위치와의 거리")]
public float Skill1TargetRange = 2f;
[Header("스킬1 달려가는 속도")]
public float Skill1Speed = 5f;
[Header("스킬1 데미지")]
public float Skill1Dmg = 3.5f;
float m_skill1cooltime;
BossCCData skill1CCdata = new BossCCData { m_eSkillExtraType1 = eSkillExtraType.Stun, m_LifeTime1 = 2f };
protected override void Update()
{
base.Update();
if (IsDead()) return;
//if (CanUseSkill1)
{
if (m_skill1cooltime > 0f) m_skill1cooltime -= Time.deltaTime;
if (m_skill1cooltime <= 0f)
{
m_skill1cooltime = Skill1CoolTime;
Run_byUseSkill(Skill1TargetRange, Skill1Speed, success =>
{
AnimationPlay("boss_skill1start");
Jump(0.5f, 3f, 2f, 5f, () =>
{
AnimationPlay("boss_skill1attack");
Change_MobStatus(eMobStatus.Attack);
});
});
}
}
}
protected override float Get_Skill1Dmg() { return Skill1Dmg; }
protected override Vector3 Get_Skill1Pos() { return Get_Center_position(); }
}

View File

@ -1,5 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Boss_LusifActor : BossMobActor
@ -69,22 +67,5 @@ public class Boss_LusifActor : BossMobActor
}
}
public override void Projectile(string s)
{
if (ProjectileInfo.ProjectileInfoOn)
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile1, this, m_Target, 1f, tf_Attack.position,
m_MonsterTableData.f_ProjectileLifeTime1);
}
void BossProjectile2(string s)
{
if (ProjectileInfo.ProjectileInfoOn)
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile2, this, m_Target, Skill2Dmg, Get_CenterPositionFoward(),
m_MonsterTableData.f_ProjectileLifeTime2);
}
void BossProjectile3(string s)
{
if (ProjectileInfo.ProjectileInfoOn)
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile3, this, m_Target, 1f, Get_CenterPositionFoward(),
m_MonsterTableData.f_ProjectileLifeTime3);
}
protected override float Get_Skill2Dmg() { return Skill2Dmg; }
}

View File

@ -1,6 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static UnityEngine.GraphicsBuffer;
public class BossMobActor : MobActor
{
@ -85,4 +87,64 @@ public class BossMobActor : MobActor
base.On_NavMeshAgent();
Init();
}
protected virtual float Get_Skill1Dmg() { return 1f; }
protected virtual Vector3 Get_Skill1Pos() { return Get_CenterPositionFoward(); }
protected virtual BossCCData Get_Skill1CCData() { return null; }
protected virtual void BossProjectile2(string s)
{
if (ProjectileInfo.ProjectileInfoOn)
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile2, this, m_Target, Get_Skill1Dmg(), Get_Skill1Pos(),
m_MonsterTableData.f_ProjectileLifeTime2,
pb =>
{
var ccData = Get_Skill1CCData();
if (!DSUtil.CheckNull(ccData))
{
var pd = pb.Get_ProjectTileData();
pd.list_eSkillExtraType = ccData.list_eSkillExtraType;
}
});
}
protected virtual float Get_Skill2Dmg() { return 1f; }
protected virtual Vector3 Get_Skill2Pos() { return Get_CenterPositionFoward(); }
protected virtual void BossProjectile3(string s)
{
if (ProjectileInfo.ProjectileInfoOn)
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile3, this, m_Target, Get_Skill2Dmg(), Get_Skill2Pos(),
m_MonsterTableData.f_ProjectileLifeTime3);
}
protected void Run_byUseSkill(float range, float speed, Action<bool> moveend)
{
StartCoroutine(Co_Run_byUseSkill(range, speed, moveend));
}
IEnumerator Co_Run_byUseSkill(float range, float speed, Action<bool> moveend)
{
if (!DSUtil.CheckNull(m_Target))
{
Change_MobStatus(eMobStatus.Skill);
transform.LookAt(m_Target.transform);
AnimationPlay(MyValue.Get_AnimName(eAnim.Run));
m_NavMeshAgent.stoppingDistance = 0.1f;
var direction = (Get_position() - m_Target.Get_position()).normalized;
var targetPos = m_Target.Get_position() + direction * range;
Set_Path(Get_TeleportPostion(m_Target, range));
while (!Complete_Destination())
{
m_NavMeshAgent.speed = speed;
yield return null;
}
m_NavMeshAgent.stoppingDistance = m_NavStopDistance;
m_NavMeshAgent.speed = Get_MoveSpeed();
moveend(true);
}
else
moveend(false);
}
}

View File

@ -45,7 +45,7 @@ public class BullRushMobActor : MobActor
yield return new WaitForSeconds(1f);
ProjectileInfo.Ins.Shoot_Projectile(m_MonsterTableData.s_Porjectile1, this, m_Target, 1f, Get_CenterPositionFoward(),
m_MonsterTableData.f_ProjectileLifeTime1, 1f, pb => { (pb as Projectile_Stop).Set_FollowShooter(); });
m_MonsterTableData.f_ProjectileLifeTime1, pb => { (pb as Projectile_Stop).Set_FollowShooter(); });
// 돌진 실행
float dashDistance = 10f;

View File

@ -245,7 +245,7 @@ public class MyActor : Actor
{
var startpos = Get_CenterPositionFoward();
var lifeTime = table_effectlist.Ins.Get_Data(s).f_ProjectileLifeTime;
ProjectileInfo.Ins.Shoot_Projectile(s, this, m_Target, 1f, startpos, lifeTime, 1,
ProjectileInfo.Ins.Shoot_Projectile(s, this, m_Target, 1f, startpos, lifeTime,
pb =>
{
// -60 ~ 60 사이로 각도를 균등 분배

View File

@ -30,7 +30,7 @@ public class Skill_PhantomFrenzy : ProjectileBase
Actor target = m_ProjecTileData.target;
float t = 0f;
shooter.AnimationPlay("idle");
shooter.AnimationPlay(MyValue.Get_AnimName(eAnim.Idle));
shooter.AnimationPlay(attackAnimationName);
while (attackTimes > 0)
{
@ -39,7 +39,7 @@ public class Skill_PhantomFrenzy : ProjectileBase
if (t >= 1f)
{
shooter.AnimationPlay("idle");
shooter.AnimationPlay(MyValue.Get_AnimName(eAnim.Idle));
shooter.AnimationPlay(attackAnimationName);
t = 0f;
InGameInfo.Ins.Show_Effect("Effect_Skill_PhantomFrenzy", target.Get_PositionBack());

View File

@ -10,7 +10,7 @@ public class Skill_ShadowSlash : ProjectileBase
base.Set(_data);
OptionInfo.Ins.PCMove = false;
_data.shooter.Set_CurAnim(eAnim.Skill);
_data.shooter.Jump(2.1f, () =>
_data.shooter.Jump(2.1f, 1f, 5f, 2f, () =>
{
go_effect.gameObject.SetActive(true);
go_effect.Set(_data);

View File

@ -77,7 +77,7 @@ public class ProjectileInfo : MonoBehaviour
projectileDataPool.Push(pd);
}
public void Shoot_Projectile(string projectile, Actor shooter, Actor target, float adddmgrate = 1f, Vector3? startpos = null, float liftTime = 4f, float skilldmg = 1f, Action<ProjectileBase> act = null)
public void Shoot_Projectile(string projectile, Actor shooter, Actor target, float adddmgrate = 1f, Vector3? startpos = null, float liftTime = 4f, Action<ProjectileBase> act = null)
{
Get_Projectile(projectile, proj =>
{

View File

@ -237,6 +237,11 @@ public class CCData
public double CCReduceTime;// { get { return _CCReduceTime; } set { _CCReduceTime = value; _CCReduceTime.RandomizeCryptoKey(); } }
public float CC1Sec;
}
public class BossCCData
{
public List<eSkillExtraType> list_eSkillExtraType = new List<eSkillExtraType>();
public List<float> list_LifeTime = new List<float>();
}
public class CountLevelData
{