火狐狸

This commit is contained in:
GL 2025-01-06 16:15:37 +08:00
parent 30f8df6ca7
commit c421560ee8
13 changed files with 429 additions and 9669 deletions

View File

@ -194,5 +194,33 @@
}
}
]
},
{
"temp_id": "M_H_002",
"monster_code": "火萌妖-02",
"skills": [
{
"positioning": "快速射出火球",
"name": "迅捷火球",
"effects": {
"level_1": "攻击CD减少25%",
"level_2": "伤害提升15%",
"level_3": "火球飞行速度增加15%攻击CD增加5%",
"level_4": "伤害提升35%",
"level_5": "火球飞行速度增加30%攻击CD增加5%"
}
},
{
"positioning": "火球能大面积伤害敌人",
"name": "巨型火球",
"effects": {
"level_1": "火球溅射伤害范围增加1格",
"level_2": "伤害提升15%",
"level_3": "对大型敌人额外造成30%伤害射程减少1格",
"level_4": "伤害提升35%",
"level_5": "被火球伤害的敌人会原地眩晕1秒射程减少1格"
}
}
]
}
]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,154 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &900173028918561104
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 900173028918561105}
- component: {fileID: 900173028918561110}
- component: {fileID: 6712527496962803581}
- component: {fileID: 7839896301743908329}
- component: {fileID: 5249129300697215084}
m_Layer: 0
m_Name: hhl_bullet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &900173028918561105
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 900173028918561104}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.15295476, y: 0.15295476, z: 0.15295476}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &900173028918561110
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 900173028918561104}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 5eafdfd3e56391a40b194746e34d7ffb, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!95 &6712527496962803581
Animator:
serializedVersion: 5
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 900173028918561104}
m_Enabled: 1
m_Avatar: {fileID: 0}
m_Controller: {fileID: 9100000, guid: 5dffde534f6887d4c918fd70a99be511, type: 2}
m_CullingMode: 0
m_UpdateMode: 0
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorStateOnDisable: 0
m_WriteDefaultValuesOnDisable: 0
--- !u!58 &7839896301743908329
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 900173028918561104}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 1.0649999
--- !u!114 &5249129300697215084
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 900173028918561104}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 25a4f829952155e48bbe3abf99b78f2e, type: 3}
m_Name:
m_EditorClassIdentifier:
role: {fileID: 0}
attackObj: {fileID: 0}
myBulletType: 0
bulletAttributes: 0
bulletMoveType: 0
BulletDeadTimer: 10
animator: {fileID: 6712527496962803581}
IsMove: 1
Collider2D: {fileID: 7839896301743908329}
effectPres: []
NumberOfBulletAttacks: 1
Target: {fileID: 0}
noLockEnemy: 0
Cansplit: 0
smallBulletPrefab: {fileID: 0}
CanBoom: 1

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2250037929719a741afea1641fffae21
guid: 55d84e932cdfd2d45a8a8440584f37b0
PrefabImporter:
externalObjects: {}
userData:

View File

@ -97,7 +97,7 @@ AnimationClip:
m_HasMotionFloatCurves: 0
m_Events:
- time: 0.5
functionName: DesBullet
functionName: BulletBoom
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0

View File

@ -0,0 +1,133 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-4263251845545258470
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Boom
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: 7400000, guid: 5aec20a7cdfc8b646b5dfa8fcef4c0a6, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &-3815811736211574416
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Stand
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: -2881473900212261071}
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: 7400000, guid: 6ad581711091bf94aafdd2c812658413, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1101 &-2881473900212261071
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: Boom
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: -4263251845545258470}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionOffset: 0
m_ExitTime: 1
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: hhlTest_bullet
serializedVersion: 5
m_AnimatorParameters:
- m_Name: Boom
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: 6275440322749419236}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1107 &6275440322749419236
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -3815811736211574416}
m_Position: {x: 300, y: 20, z: 0}
- serializedVersion: 1
m_State: {fileID: -4263251845545258470}
m_Position: {x: 320, y: 140, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -3815811736211574416}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5dffde534f6887d4c918fd70a99be511
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -189,7 +189,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6070656209494785206}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.055, y: 0.503, z: 0}
m_LocalPosition: {x: -0.076, y: 0.947, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -223,7 +223,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8433650274046349753}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.696, z: 0}
m_LocalPosition: {x: 0, y: 0.8, z: 0}
m_LocalScale: {x: 0.2, y: 0.2, z: 0.16}
m_ConstrainProportionsScale: 0
m_Children: []
@ -361,7 +361,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 90e9cd2fc0a74084fbf1a89015db94a9, type: 3}
m_Name:
m_EditorClassIdentifier:
bulletPrefab: {fileID: 6998733212867311352, guid: 2250037929719a741afea1641fffae21, type: 3}
bulletPrefab: {fileID: 900173028918561104, guid: 55d84e932cdfd2d45a8a8440584f37b0, type: 3}
role: {fileID: 8433650274028726420}
damageTyp: 2
attackCooldown: 1
@ -385,6 +385,7 @@ MonoBehaviour:
RunRange: 3
haveAddDamage: 0
AdddamageType: 1
BoomRange: 1
isAttack: 1
flag: 0
timer: 0
@ -418,7 +419,7 @@ GameObject:
- component: {fileID: 8433650274028726420}
- component: {fileID: -3836672401185760439}
- component: {fileID: 1608620729910401442}
- component: {fileID: 3258498600701209889}
- component: {fileID: 4160285222230592655}
m_Layer: 0
m_Name: hhl
m_TagString: Player
@ -514,7 +515,7 @@ MonoBehaviour:
normalIndex: 0
isHit: 0
myTags: 0
mySkillUp: {fileID: 3258498600701209889}
mySkillUp: {fileID: 4160285222230592655}
IsDead: 0
HaveDieTime: 0
enemyId:
@ -532,6 +533,7 @@ MonoBehaviour:
DefensePerLevel: 0
elementType: 1
defenseType: 0
index: 0
--- !u!61 &-3836672401185760439
BoxCollider2D:
m_ObjectHideFlags: 0
@ -572,7 +574,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
tower: {fileID: 0}
Tag: tower
--- !u!114 &3258498600701209889
--- !u!114 &4160285222230592655
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -581,7 +583,7 @@ MonoBehaviour:
m_GameObject: {fileID: 8433650275485930554}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cf06a056a8f837740a4fca76de3a5ed5, type: 3}
m_Script: {fileID: 11500000, guid: 7daf04d628022bd4aaac8e5b33e8d9b9, type: 3}
m_Name:
m_EditorClassIdentifier:
retbutton: {fileID: 0}

View File

@ -74,7 +74,7 @@ SpriteRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: dcb3a731cfcc70c4ab418922d45ec4a4, type: 3}
m_Color: {r: 1, g: 0.9795611, b: 0, a: 1}
m_Color: {r: 1, g: 0.9795611, b: 0, a: 0}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
@ -189,7 +189,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6070656209494785206}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.098, z: 0}
m_LocalPosition: {x: 0, y: 0.243, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -223,8 +223,8 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8433650274046349753}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.4, z: 0}
m_LocalScale: {x: 0.18, y: 0.18, z: 0.16}
m_LocalPosition: {x: 0, y: 0.6, z: 0}
m_LocalScale: {x: 0.16, y: 0.16, z: 0.16}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8433650275485930555}
@ -532,6 +532,7 @@ MonoBehaviour:
DefensePerLevel: 0
elementType: 0
defenseType: 0
index: 0
--- !u!61 &-3836672401185760439
BoxCollider2D:
m_ObjectHideFlags: 0

View File

@ -95,6 +95,12 @@ AnimatorController:
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: Attack
m_Type: 9
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
@ -176,7 +182,7 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 1
m_HasExitTime: 1
@ -191,10 +197,7 @@ AnimatorStateTransition:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 6
m_ConditionEvent: State
m_EventTreshold: 0
m_Conditions: []
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 7843331930165930537}
m_Solo: 0
@ -203,8 +206,8 @@ AnimatorStateTransition:
serializedVersion: 3
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0.60526323
m_HasExitTime: 0
m_ExitTime: 1
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
@ -217,9 +220,9 @@ AnimatorStateTransition:
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 6
m_ConditionEvent: State
m_EventTreshold: 1
- m_ConditionMode: 1
m_ConditionEvent: Attack
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1338929093084704312}
m_Solo: 0

@ -1 +1 @@
Subproject commit 2cb47878a05f096844c5436e57aff38c8c5d85cf
Subproject commit 3393f14b32615d8f319dea6bf9d09875aec65dce

View File

@ -0,0 +1,65 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
public class hhl_SkillUp : SkillUp
{
/// <summary>
///攻击CD减少25%
/// </summary>
public override void Skill_1_1()
{
base.AttackCooldown -= 0.25f;
}
/// <summary>
/// 火球飞行速度增加15%攻击CD增加5%
/// </summary>
public override void Skill_1_3()
{
base.speedOfBullets += 0.15f;
base.AttackCooldown += 0.05f;
}
/// <summary>
/// 火球飞行速度增加30%攻击CD增加5%"
/// </summary>
public override void Skill_1_5()
{
base.speedOfBullets+=0.3f;
base.AttackCooldown += 0.05f;
}
/// <summary>
/// 火球溅射伤害范围增加1格
/// </summary>
public override void Skill_2_1()
{
attack.BoomRange += 0.5f;
}
/// <summary>
/// 对大型敌人额外造成30%伤害射程减少1格
/// </summary>
public override void Skill_2_3()
{
DamageOfBig += 0.3f;
AttackRange = -1;
attack.SetAttackRange();
}
/// <summary>
/// 被火球伤害的敌人会原地眩晕1秒射程减少1格
/// </summary>
public override void Skill_2_5()
{
base.AttackRange = -1;
attack.SetAttackRange();
// 创建一个眩晕 Buff持续1秒20%概率)
Action<Role> decelerationBuff = CreateDecelerationBuff(1f, 1f);
// 将 Buff 添加到玩家的 storageBuff 列表中
role.AddBuff(role.storageBuff, decelerationBuff);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7daf04d628022bd4aaac8e5b33e8d9b9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: