66 changed files with 9572 additions and 4969 deletions
@ -0,0 +1,8 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 2012e5f2bf0df4644a375897ccd58511 |
||||
|
folderAsset: yes |
||||
|
DefaultImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,235 @@ |
|||||
|
%YAML 1.1 |
||||
|
%TAG !u! tag:unity3d.com,2011: |
||||
|
--- !u!1 &3816684761213746185 |
||||
|
GameObject: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
serializedVersion: 6 |
||||
|
m_Component: |
||||
|
- component: {fileID: 2995427838376938474} |
||||
|
- component: {fileID: 2922064839723551121} |
||||
|
- component: {fileID: 5258838770671873617} |
||||
|
- component: {fileID: 1922686951541042781} |
||||
|
- component: {fileID: 7612464784854422368} |
||||
|
- component: {fileID: 5378885876384344123} |
||||
|
m_Layer: 11 |
||||
|
m_Name: Rook |
||||
|
m_TagString: Untagged |
||||
|
m_Icon: {fileID: 0} |
||||
|
m_NavMeshLayer: 0 |
||||
|
m_StaticEditorFlags: 0 |
||||
|
m_IsActive: 1 |
||||
|
--- !u!4 &2995427838376938474 |
||||
|
Transform: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
serializedVersion: 2 |
||||
|
m_LocalRotation: {x: 0.7372774, y: 0, z: 0, w: 0.67559016} |
||||
|
m_LocalPosition: {x: 25.978, y: 0, z: 6.2617064} |
||||
|
m_LocalScale: {x: 0.9, y: 0.9, z: 4} |
||||
|
m_ConstrainProportionsScale: 0 |
||||
|
m_Children: |
||||
|
- {fileID: 7639605263962581257} |
||||
|
m_Father: {fileID: 0} |
||||
|
m_LocalEulerAnglesHint: {x: 95, y: 0, z: 0} |
||||
|
--- !u!33 &2922064839723551121 |
||||
|
MeshFilter: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
m_Mesh: {fileID: -5468021829708598221, guid: ae332737a5755ee499c32f566d3a2913, type: 3} |
||||
|
--- !u!23 &5258838770671873617 |
||||
|
MeshRenderer: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
m_Enabled: 0 |
||||
|
m_CastShadows: 1 |
||||
|
m_ReceiveShadows: 1 |
||||
|
m_DynamicOccludee: 1 |
||||
|
m_StaticShadowCaster: 0 |
||||
|
m_MotionVectors: 1 |
||||
|
m_LightProbeUsage: 1 |
||||
|
m_ReflectionProbeUsage: 1 |
||||
|
m_RayTracingMode: 2 |
||||
|
m_RayTraceProcedural: 0 |
||||
|
m_RenderingLayerMask: 1 |
||||
|
m_RendererPriority: 0 |
||||
|
m_Materials: |
||||
|
- {fileID: 2100000, guid: 700d970fc944e8642b81ab9388a14903, type: 2} |
||||
|
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: 3 |
||||
|
m_MinimumChartSize: 4 |
||||
|
m_AutoUVMaxDistance: 0.5 |
||||
|
m_AutoUVMaxAngle: 89 |
||||
|
m_LightmapParameters: {fileID: 0} |
||||
|
m_SortingLayerID: 0 |
||||
|
m_SortingLayer: 0 |
||||
|
m_SortingOrder: 0 |
||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||
|
--- !u!114 &1922686951541042781 |
||||
|
MonoBehaviour: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
m_Enabled: 1 |
||||
|
m_EditorHideFlags: 0 |
||||
|
m_Script: {fileID: 11500000, guid: b93e606dce1c400408bd059eaaa399b2, type: 3} |
||||
|
m_Name: |
||||
|
m_EditorClassIdentifier: |
||||
|
templateEnemyState: {fileID: 11400000, guid: b991b3f0500bd0c439d1a956c497c4cb, type: 2} |
||||
|
EnemyState: {fileID: 0} |
||||
|
positionX: 3 |
||||
|
positionY: 4 |
||||
|
pasth: [] |
||||
|
oppositePasth: [] |
||||
|
moveType: 0 |
||||
|
rangePool: [] |
||||
|
enemyType: 1 |
||||
|
enemyScript: 0 |
||||
|
lineAim: {fileID: 0} |
||||
|
canLineAppre: 0 |
||||
|
enemyUIBar: {fileID: 0} |
||||
|
canMove: 0 |
||||
|
planAction: 0 |
||||
|
--- !u!114 &7612464784854422368 |
||||
|
MonoBehaviour: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
m_Enabled: 1 |
||||
|
m_EditorHideFlags: 0 |
||||
|
m_Script: {fileID: 11500000, guid: cf819d57070dbab4a95ad54cedacd2fa, type: 3} |
||||
|
m_Name: |
||||
|
m_EditorClassIdentifier: |
||||
|
rewardList: [] |
||||
|
blockType: 1 |
||||
|
--- !u!64 &5378885876384344123 |
||||
|
MeshCollider: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 3816684761213746185} |
||||
|
m_Material: {fileID: 0} |
||||
|
m_IncludeLayers: |
||||
|
serializedVersion: 2 |
||||
|
m_Bits: 0 |
||||
|
m_ExcludeLayers: |
||||
|
serializedVersion: 2 |
||||
|
m_Bits: 0 |
||||
|
m_LayerOverridePriority: 0 |
||||
|
m_IsTrigger: 0 |
||||
|
m_ProvidesContacts: 0 |
||||
|
m_Enabled: 1 |
||||
|
serializedVersion: 5 |
||||
|
m_Convex: 1 |
||||
|
m_CookingOptions: 30 |
||||
|
m_Mesh: {fileID: -5468021829708598221, guid: ae332737a5755ee499c32f566d3a2913, type: 3} |
||||
|
--- !u!1 &8315940694777054494 |
||||
|
GameObject: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
serializedVersion: 6 |
||||
|
m_Component: |
||||
|
- component: {fileID: 7639605263962581257} |
||||
|
- component: {fileID: 7830549152506238025} |
||||
|
- component: {fileID: 1711151685249081723} |
||||
|
m_Layer: 11 |
||||
|
m_Name: Rook (4) |
||||
|
m_TagString: Untagged |
||||
|
m_Icon: {fileID: 0} |
||||
|
m_NavMeshLayer: 0 |
||||
|
m_StaticEditorFlags: 0 |
||||
|
m_IsActive: 1 |
||||
|
--- !u!4 &7639605263962581257 |
||||
|
Transform: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 8315940694777054494} |
||||
|
serializedVersion: 2 |
||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |
||||
|
m_LocalPosition: {x: 0, y: -0, z: -0.1} |
||||
|
m_LocalScale: {x: 1, y: 1, z: 0.5} |
||||
|
m_ConstrainProportionsScale: 0 |
||||
|
m_Children: [] |
||||
|
m_Father: {fileID: 2995427838376938474} |
||||
|
m_LocalEulerAnglesHint: {x: 95, y: 0, z: 0} |
||||
|
--- !u!33 &7830549152506238025 |
||||
|
MeshFilter: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 8315940694777054494} |
||||
|
m_Mesh: {fileID: -5468021829708598221, guid: ae332737a5755ee499c32f566d3a2913, type: 3} |
||||
|
--- !u!23 &1711151685249081723 |
||||
|
MeshRenderer: |
||||
|
m_ObjectHideFlags: 0 |
||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||
|
m_PrefabInstance: {fileID: 0} |
||||
|
m_PrefabAsset: {fileID: 0} |
||||
|
m_GameObject: {fileID: 8315940694777054494} |
||||
|
m_Enabled: 1 |
||||
|
m_CastShadows: 1 |
||||
|
m_ReceiveShadows: 1 |
||||
|
m_DynamicOccludee: 1 |
||||
|
m_StaticShadowCaster: 0 |
||||
|
m_MotionVectors: 1 |
||||
|
m_LightProbeUsage: 1 |
||||
|
m_ReflectionProbeUsage: 1 |
||||
|
m_RayTracingMode: 2 |
||||
|
m_RayTraceProcedural: 0 |
||||
|
m_RenderingLayerMask: 1 |
||||
|
m_RendererPriority: 0 |
||||
|
m_Materials: |
||||
|
- {fileID: 2100000, guid: 700d970fc944e8642b81ab9388a14903, type: 2} |
||||
|
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: 3 |
||||
|
m_MinimumChartSize: 4 |
||||
|
m_AutoUVMaxDistance: 0.5 |
||||
|
m_AutoUVMaxAngle: 89 |
||||
|
m_LightmapParameters: {fileID: 0} |
||||
|
m_SortingLayerID: 0 |
||||
|
m_SortingLayer: 0 |
||||
|
m_SortingOrder: 0 |
||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||
@ -0,0 +1,7 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 6256581593a57044dbcf121b7915d0ed |
||||
|
PrefabImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
File diff suppressed because it is too large
@ -0,0 +1,7 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: ddcb59bfe66215e48b401ab086893b6d |
||||
|
PrefabImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
File diff suppressed because it is too large
@ -0,0 +1,7 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: faed8b26a4858c34290ecb341e8eeacd |
||||
|
PrefabImporter: |
||||
|
externalObjects: {} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
File diff suppressed because it is too large
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_BonePile : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
} |
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¹Ç"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
value++; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¹Ç"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_BonePile(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: b9fa2b5938aeaea479a4d443adbe2443 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,40 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_FireSeed : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "»ð"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "»ð"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_FireSeed(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: b5327af1363f2b247a79fadb38e39347 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_coma : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ȏ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ȏ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_coma(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 46627517d03f75743bd76c403aed534a |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_corrode : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
} |
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¸¯"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¸¯"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_corrode(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: e4f116bbf222d6d469b6d31ee8a97dd8 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_disarm : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "½É"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "½É"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_disarm(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: a2b1c202a082b7343b924d914fa2ef9d |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_flashPoint : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÉÁ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÉÁ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_flashPoint(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 06a91f525c9c50f41818c884ebf98274 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,35 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_levelSeep : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÃÔ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "ÃÔ"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_levelSeep(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 6e398e9c24f213f42b03baace116eca5 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_parasitism : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
Usermanager.Instance.buffSettleList.Add(AbnormalCondition.parasitism); |
||||
|
} |
||||
|
|
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¼Ä"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "¼Ä"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_parasitism(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 6b6d68bbf3ee2b643919f8037c3b7e3e |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,37 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
using UnityEngine.UI; |
||||
|
|
||||
|
public class Buff_sleep : Buff |
||||
|
{ |
||||
|
public override void Settle() |
||||
|
{ |
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
public override void UIShow(GameObject buff, string key) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "Ãß"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = Usermanager.playerAbnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
|
||||
|
public override void SettleEnemy(EnemyNode enemyNode) |
||||
|
{ |
||||
|
|
||||
|
base.Settle(); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public override void EnemyUIShow(GameObject buff, string key, EnemyNode enemyNode) |
||||
|
{ |
||||
|
buff.transform.GetChild(0).GetComponent<Text>().text = "Ãß"; |
||||
|
buff.transform.GetChild(1).GetComponent<Text>().text = enemyNode.EnemyState.abnormalCondition[key].value.ToString(); |
||||
|
} |
||||
|
public override Buff NewBuff(int value) |
||||
|
{ |
||||
|
Buff buff = new Buff_sleep(); |
||||
|
buff.value = value; |
||||
|
return buff; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 58c475be4033fa14191bfddc9d515bb6 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,30 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
|
||||
|
public class UpperCondition |
||||
|
{ |
||||
|
//큼삽瓊��벧-
|
||||
|
public const string angerUpperDamage = "101"; |
||||
|
|
||||
|
//솽미삿돤빱뜀藤樓-
|
||||
|
public const string shieldUpperValue = "102"; |
||||
|
|
||||
|
//솽미(쀼북역迦꼇딜빱뜀)-
|
||||
|
public const string firm = "103"; |
||||
|
//속탬-
|
||||
|
public const string addDrawCard = "104"; |
||||
|
|
||||
|
//속醵-
|
||||
|
public const string upperSpeed = "105"; |
||||
|
|
||||
|
//�貫
|
||||
|
public const string flashPoint = "106"; |
||||
|
|
||||
|
//므벙
|
||||
|
public const string bonePile = "107"; |
||||
|
|
||||
|
//릭苛
|
||||
|
public const string corrode = "108"; |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: e32b265596b21344f90f40b2afa15b18 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,40 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
|
||||
|
public class BuffDataManager : Singleton<BuffDataManager> |
||||
|
{ |
||||
|
public Dictionary<string, Buff> abnormalCondition = new Dictionary<string, Buff>();//Ò쳣״̬
|
||||
|
|
||||
|
|
||||
|
|
||||
|
private void OnEnable() |
||||
|
{ |
||||
|
abnormalCondition.Add("4", new Buff_Posion()); |
||||
|
abnormalCondition.Add("5", new Buff_Weak ()); |
||||
|
abnormalCondition.Add("6", new Buff_coma()); |
||||
|
abnormalCondition.Add("7", new Buff_disarm()); |
||||
|
abnormalCondition.Add("8", new Buff_sleep()); |
||||
|
abnormalCondition.Add("12", new Buff_DownAnger()); |
||||
|
abnormalCondition.Add("14", new Buff_DownShield()); |
||||
|
abnormalCondition.Add("17", new Buff_MinusDrawCard()); |
||||
|
abnormalCondition.Add("18", new Buff_BanDrawCard()); |
||||
|
abnormalCondition.Add("19", new Buff_Vulnerable()); |
||||
|
abnormalCondition.Add("21", new Buff_DownStepRange()); |
||||
|
abnormalCondition.Add("22", new Buff_BanStepRange()); |
||||
|
abnormalCondition.Add("23", new Buff_FireSeed()); |
||||
|
abnormalCondition.Add("24", new Buff_levelSeep()); |
||||
|
abnormalCondition.Add("25", new Buff_parasitism()); |
||||
|
|
||||
|
abnormalCondition.Add("101", new Buff_UpperAnger()); |
||||
|
abnormalCondition.Add("102", new Buff_UpperShield()); |
||||
|
abnormalCondition.Add("103", new Buff_Firm()); |
||||
|
abnormalCondition.Add("104", new Buff_DrawCardNumber()); |
||||
|
abnormalCondition.Add("105", new Buff_UpperStepRange()); |
||||
|
abnormalCondition.Add("106", new Buff_flashPoint()); |
||||
|
abnormalCondition.Add("107", new Buff_BonePile()); |
||||
|
abnormalCondition.Add("108", new Buff_corrode()); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: c28ae8ba09b9adf4b9a96101b540142f |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,61 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
|
||||
|
public class MapUnitySettleManager : Singleton<MapUnitySettleManager> |
||||
|
{ |
||||
|
public void PlayerMudGridSettle(int value) |
||||
|
{ |
||||
|
if(GameManager .Instance .playerOn .whoColour == MapUnity.WhoColour.enemyColour ) |
||||
|
{ |
||||
|
Usermanager.Instance.AddPlayerAbnormalCondition_downSpeed(value); |
||||
|
} |
||||
|
else if (GameManager.Instance.playerOn.whoColour == MapUnity.WhoColour.playerColour) |
||||
|
{ |
||||
|
Usermanager.Instance.AddPlayerAbnormalCondition_upperSpeed(value); |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
public void EnemyRedGridSettle (EnemyNode enemyNode , int value) |
||||
|
{ |
||||
|
if (enemyNode.GetMapGrid().whoColour == MapUnity.WhoColour.playerColour) |
||||
|
{ |
||||
|
AddEnemyFireSeed(enemyNode, value); |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
#region 给敌方施加Buff方法
|
||||
|
|
||||
|
//给敌方施加火种
|
||||
|
public void AddEnemyFireSeed(EnemyNode enemyNode, int value) |
||||
|
{ |
||||
|
enemyNode.sufferAbnormalCondition(AbnormalCondition.fireSeed, value); |
||||
|
if (enemyNode.EnemyState.abnormalCondition[AbnormalCondition.fireSeed].value >= 10) |
||||
|
{ |
||||
|
enemyNode.sufferDamage(Usermanager .Instance . DamageCalculation(15)); |
||||
|
enemyNode.EnemyState.abnormalCondition[AbnormalCondition.fireSeed].value -= 10; |
||||
|
enemyNode.enemyUIBar.RefreshEnemyBuffIcon(); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
#endregion
|
||||
|
|
||||
|
public void MapGridsSettle() |
||||
|
{ |
||||
|
PlayerMudGridSettle(1); |
||||
|
|
||||
|
if (EnemyManager.Instance.enemySpeedSortingList.Count > 0) |
||||
|
{ |
||||
|
for (int i = 0; i < EnemyManager.Instance.enemySpeedSortingList.Count; i++) |
||||
|
{ |
||||
|
if (EnemyManager.Instance.enemySpeedSortingList[i] != null) |
||||
|
{ |
||||
|
EnemyRedGridSettle(EnemyManager.Instance.enemySpeedSortingList[i], 3); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: 4fc97c2ed99c8104e89a3c496f4cf33b |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
@ -0,0 +1,8 @@ |
|||||
|
using System.Collections; |
||||
|
using System.Collections.Generic; |
||||
|
using UnityEngine; |
||||
|
|
||||
|
public class ScenceManager : Singleton <ScenceManager> |
||||
|
{ |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,11 @@ |
|||||
|
fileFormatVersion: 2 |
||||
|
guid: c4e609945f10ddd4289c176395cebad5 |
||||
|
MonoImporter: |
||||
|
externalObjects: {} |
||||
|
serializedVersion: 2 |
||||
|
defaultReferences: [] |
||||
|
executionOrder: 0 |
||||
|
icon: {instanceID: 0} |
||||
|
userData: |
||||
|
assetBundleName: |
||||
|
assetBundleVariant: |
||||
Binary file not shown.
Loading…
Reference in new issue