Health potion use

This commit is contained in:
KrolMel 2022-12-29 14:25:07 +01:00
parent 7577aa269c
commit 28fa29288c
44 changed files with 1146 additions and 64 deletions

View File

@ -186,7 +186,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 88d05133b4682194e90a88b0f3c16b70, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 3
moveSpeed: 2
enemyName: Crab
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
health: 4

View File

@ -144,7 +144,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 2
speed: 1.7
currentPosition:
GCost: 0
hCost: 0
@ -186,7 +186,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 1.8
moveSpeed: 1.7
enemyName: Mushroom
maxHealth: {fileID: 0}
health: 8

View File

@ -144,7 +144,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 2
speed: 1.6
currentPosition:
GCost: 0
hCost: 0
@ -186,7 +186,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 2
moveSpeed: 1.6
enemyName: EarthSmall
maxHealth: {fileID: 0}
health: 6

View File

@ -16,7 +16,7 @@ MonoBehaviour:
CurrentStep: 0
DialogueSteps:
- Header: ThePlayer(Clone)
WasDisplayed: 1
WasDisplayed: 0
ListOfSentences:
- Sentence: "Te drzwi s\u0105 zamkni\u0119te"
Buttons: []

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: EbonyRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: -6657913739729259365, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 6931735939571646632, guid: bc24f87c709ae2b458d1808f0e59b2aa, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3eea5da46a77d294db89dee99189cd5d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6931735939571646632
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9051542261382863926}
- component: {fileID: 3792074136952344106}
m_Layer: 0
m_Name: EbonyRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9051542261382863926
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6931735939571646632}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.11900762, y: 11.460634, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &3792074136952344106
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6931735939571646632}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -6657913739729259365, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: EmeraldRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: -7652257075970667830, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 8585366321171850528, guid: e6bebb8b7d63fdc48aaea6ed5e47fbc1, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b995206d151a20c42ab37e904a9c2014
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8585366321171850528
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4170842888369046706}
- component: {fileID: 1874141017613048534}
m_Layer: 0
m_Name: EmeraldRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4170842888369046706
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8585366321171850528}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.42335966, y: 14.267623, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1874141017613048534
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8585366321171850528}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -7652257075970667830, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: GoldenRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: -6524714282782223981, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 8357185774081028001, guid: f2ccd14c03a2bd5469dae087392a8323, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 636125c4ce4a6f340870acbecd05c23b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8357185774081028001
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3232482641997081000}
- component: {fileID: 290365752555196443}
m_Layer: 0
m_Name: GoldenRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3232482641997081000
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8357185774081028001}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.014340252, y: 10.109473, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &290365752555196443
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8357185774081028001}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -6524714282782223981, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: QuartzRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: 6759244946866839360, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 7335205385618090110, guid: 14fcd7ab63436604492949d1fd4bc6bf, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4b0dfebf56b2bd34fae27445554126ee
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7335205385618090110
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2517087055369460705}
- component: {fileID: 460948898073876926}
m_Layer: 0
m_Name: QuartzRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2517087055369460705
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7335205385618090110}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.1751965, y: 14.2866535, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &460948898073876926
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7335205385618090110}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: 6759244946866839360, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: RubyRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: -847223144147799035, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 4342831401918966249, guid: 2917e0f72c8f18b47806c56522cbeb0c, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 02a8704037c707043bd2585a05e3855b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4342831401918966249
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1200189326311417230}
- component: {fileID: 4642926502489915659}
m_Layer: 0
m_Name: RubyRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1200189326311417230
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4342831401918966249}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.4225922, y: 12.240882, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &4642926502489915659
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4342831401918966249}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -847223144147799035, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,25 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1c6df47a2440e8a49bef89083164fdc1, type: 3}
m_Name: ScrollOfDarkness
m_EditorClassIdentifier:
id: 0
name: Scroll of Darkness
description: Scroll written in a werid language
level: 0
value: 0
image: {fileID: -3845479819248093833, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 3372166038178475857, guid: 7f90c54472a8fe94f9b70805d288429b, type: 3}
price: 10000
useEffect:
m_PersistentCalls:
m_Calls: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e2b2ed01bfff8e0468e4ef5207b50a60
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3372166038178475857
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6816388368617782066}
- component: {fileID: 1056157034940016281}
m_Layer: 0
m_Name: ScrollOfDarkness
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6816388368617782066
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3372166038178475857}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.1111753, y: 13.309904, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1056157034940016281
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3372166038178475857}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -3845479819248093833, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: SilverRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: 7035944541455254544, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 3527697885031028648, guid: f4c5ae72e7ed9d24a8f45afe7c62719f, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dc7fdbc8450965344914371023ddb0c5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3527697885031028648
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3336133585541626922}
- component: {fileID: 2207347810294698440}
m_Layer: 0
m_Name: SilverRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3336133585541626922
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3527697885031028648}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.10949239, y: 12.945007, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &2207347810294698440
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3527697885031028648}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: 7035944541455254544, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -0,0 +1,31 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0c176e87b3c91641897c23dc27e92a0, type: 3}
m_Name: TopazRing
m_EditorClassIdentifier:
id: 0
name:
description:
level: 0
value: 0
image: {fileID: -8195587494142681365, guid: 866adc2eb813e72438343756fc3b4e01, type: 3}
itemModel: {fileID: 202265579401738656, guid: 116af0fb4d8fe53428ca7f4593fd99ed, type: 3}
price: 0
useEffect:
m_PersistentCalls:
m_Calls: []
StrengthBonus: 0
AgilityBonus: 0
InteligenceBonus: 0
VitalityBonus: 0
isStackable: 0
EquipmentType: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 00d9bdfbb9954bb4996be10855031c67
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &202265579401738656
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8288010967199107962}
- component: {fileID: 7814556871939447877}
m_Layer: 0
m_Name: TopazRing
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8288010967199107962
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 202265579401738656}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1.2416681, y: 11.784151, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &7814556871939447877
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 202265579401738656}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
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: -8195587494142681365, guid: 866adc2eb813e72438343756fc3b4e01, 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

View File

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

View File

@ -679,6 +679,7 @@ MonoBehaviour:
- Key: 1
Value: Equipment
displayedValue: {fileID: 6661176406604630801}
displayedTextValue: {fileID: 0}
--- !u!1 &6661176407399442843
GameObject:
m_ObjectHideFlags: 0
@ -767,7 +768,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: type
value: 8
value: 4
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: _number
@ -775,11 +776,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: EquipmentType
value: 6
value: 9
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881892, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Name
value: equipment_slot_potion_ii
value: equipment_slot_ring_iii
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881893, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Pivot.x
@ -917,7 +918,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881892, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Name
value: equipment_slot_necklet
value: equipment_slot_necklace_ii
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881893, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Pivot.x
@ -1055,7 +1056,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881892, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Name
value: equipment_slot_ring
value: equipment_slot_ring_i
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881893, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Pivot.x
@ -1181,7 +1182,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: type
value: 7
value: 4
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: _number
@ -1189,11 +1190,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: EquipmentType
value: 6
value: 9
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881892, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Name
value: equipment_slot_potion_i
value: equipment_slot_ring_ii
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881893, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Pivot.x
@ -1319,7 +1320,7 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: type
value: 5
value: 6
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: _number
@ -1327,11 +1328,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2957687053509197962, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: EquipmentType
value: 7
value: 8
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881892, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Name
value: equipment_slot_bracelet
value: equipment_slot_necklace_i
objectReference: {fileID: 0}
- target: {fileID: 6050866944478881893, guid: 27d62cf80d88f774abdf05e1c1663f1c, type: 3}
propertyPath: m_Pivot.x

View File

@ -14041,7 +14041,9 @@ MonoBehaviour:
- ChestName: Prize Chest
ChestPrefab: {fileID: 5754902894522036729, guid: 3c4c4514921bad449bbfab46d86ee881, type: 3}
Position: {x: 0, y: 38, z: 10}
Content: []
Content:
- Key: 0
Value: {fileID: 11400000, guid: e2b2ed01bfff8e0468e4ef5207b50a60, type: 2}
convertedData: []
--- !u!1 &431601323
GameObject:

View File

@ -443,7 +443,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 4
moveSpeed: 2.5
enemyName: bat1
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
health: 3
@ -481,7 +481,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 4
speed: 2.5
currentPosition:
GCost: 0
hCost: 0
@ -1063,7 +1063,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 2.5
speed: 2.2
currentPosition:
GCost: 0
hCost: 0
@ -1084,7 +1084,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 2.5
moveSpeed: 2.2
enemyName: Skeleton
maxHealth: {fileID: 0}
health: 7
@ -1345,7 +1345,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 4
moveSpeed: 2.5
enemyName: bat3
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
health: 3
@ -1383,7 +1383,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 4
speed: 2.5
currentPosition:
GCost: 0
hCost: 0
@ -2628,7 +2628,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 4
moveSpeed: 2.5
enemyName: bat0
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
health: 3
@ -2713,7 +2713,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 4
speed: 2.5
currentPosition:
GCost: 0
hCost: 0
@ -38291,8 +38291,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 68076407}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 68076409}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
@ -38303,8 +38303,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 641696208}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 641696209}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
@ -38315,8 +38315,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 682072036}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 682072033}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
@ -39622,7 +39622,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 3dd65ecdb4b7459489f8c03a18ccff46, type: 3}
m_Name:
m_EditorClassIdentifier:
moveSpeed: 4
moveSpeed: 2.5
enemyName: bat2
maxHealth: {fileID: 11400000, guid: 1a234827b90bfc24da563fbd5ffb412a, type: 2}
health: 3
@ -39661,7 +39661,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d622984048644f87804ad1a3f20aa23a, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 4
speed: 2.5
currentPosition:
GCost: 0
hCost: 0
@ -148868,8 +148868,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 68076407}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 68076409}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
@ -148880,8 +148880,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 641696208}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 641696209}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:
@ -148892,8 +148892,8 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 682072036}
m_TargetAssemblyTypeName: FollowingEnemy, Assembly-CSharp
- m_Target: {fileID: 682072033}
m_TargetAssemblyTypeName: FollowingPatrollingEnemy, Assembly-CSharp
m_MethodName: SaveCheckpoint
m_Mode: 1
m_Arguments:

View File

@ -38353,6 +38353,12 @@ MonoBehaviour:
Content:
- Key: 0
Value: {fileID: 11400000, guid: 54f1e69d5ede2d74eb4f3f95cdb7e20a, type: 2}
- Key: 7
Value: {fileID: 11400000, guid: 5018db07efd330846ab41d3ed70a3c08, type: 2}
- Key: 13
Value: {fileID: 11400000, guid: b366ff81d4bcf0d4f9633bbbf7ea17df, type: 2}
- Key: 19
Value: {fileID: 11400000, guid: 5cc7ba6926eaba9458a2713287847799, type: 2}
convertedData: []
--- !u!1 &2063226728
GameObject:

View File

@ -23,37 +23,76 @@ class PotionEffectsManager : ItemEffectsManager
public override void UseItemEffect(ItemSlot itemSlot, PanelTypeEnum originPanel)
{
// origin panel is passed for script to be able to recognize from witch list remove object etc...
DetectPotionType();
// origin panel is passed for script to be able to recognize from which list to remove the object etc...
DetectPotionType(itemSlot);
// use other actions binded to item 2
// use other action binded to item 2
itemSlot.Item?.InvokeEffectAction();
// remove potion from slot in specific panel...
// remove potion from a slot in specific panel...
var panelUiManager = DetectOriginPanel(originPanel);
panelUiManager.RemoveByPosition(itemSlot.Number);
panelUiManager.UpdateList(); // refresh view
}
public void DetectPotionType()
public void DetectPotionType(ItemSlot itemSlot)
{
// detect potion and use mached action
var item = itemSlot.Item;
// detect potion and use matched action
if (item.name == "Full Health Potion")
{
HealthBigPotion();
}
else if(item.name == "Medium Health Potion")
{
HealthMediumPotion();
}
else if(item.name == "Small Health Potion")
{
HealthSmallPotion();
}
// if( ... )
// Health....Potion();
}
// use below function in one above - depending on the condition
public void HealthBigPotion()
{
var playerMaxHealth = PlayerPrefs.GetFloat("maxHealth");
var playerCurrentHealth = PlayerPrefs.GetFloat("health");
playerCurrentHealth = playerMaxHealth;
PlayerPrefs.SetFloat("health", playerCurrentHealth);
}
public void HealthMediumPotion()
{
var playerMaxHealth = PlayerPrefs.GetFloat("maxHealth");
var playerCurrentHealth = PlayerPrefs.GetFloat("health");
if(playerCurrentHealth < playerMaxHealth / 2)
{
playerCurrentHealth = playerCurrentHealth + playerMaxHealth / 2;
}
else
{
playerCurrentHealth = playerMaxHealth;
}
PlayerPrefs.SetFloat("health", playerCurrentHealth);
}
public void HealthSmallPotion()
{
{
var playerMaxHealth = PlayerPrefs.GetFloat("maxHealth");
var playerCurrentHealth = PlayerPrefs.GetFloat("health");
if(playerCurrentHealth < playerMaxHealth*3/4)
{
playerCurrentHealth = playerCurrentHealth + playerMaxHealth / 4;
}
else
{
playerCurrentHealth = playerMaxHealth;
}
PlayerPrefs.SetFloat("health", playerCurrentHealth);
}
// Add and invoke you own functions
// Add and invoke your own functions
}

View File

@ -31,21 +31,21 @@ public class EquipmentPanelController : DraggablePanelController
_panelContent.transform.Find("equipment_slot_armor").GetComponent<EquipmentSlot>()._PanelController = this;
_panelContent.transform.Find("equipment_slot_weapon").GetComponent<EquipmentSlot>()._PanelController = this;
_panelContent.transform.Find("equipment_slot_boots").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_bracelet").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklet").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_potion_i").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_potion_ii").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_i").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklace_i").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklace_ii").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_ii").GetComponent<EquipmentSlot>()._PanelController = this;
_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_iii").GetComponent<EquipmentSlot>()._PanelController = this;
ChildBoxList.Add(SetupDragAndDropToSlot(_panelContent.transform.Find("equipment_slot_helmet").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelContent.transform.Find("equipment_slot_armor").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelContent.transform.Find("equipment_slot_weapon").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelContent.transform.Find("equipment_slot_boots").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_bracelet").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklet").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_potion_i").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_potion_ii").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_i").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklace_i").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_necklace_ii").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_ii").GetComponent<EquipmentSlot>()));
ChildBoxList.Add(SetupDragAndDropToSlot(_panelAdditionalSlotsContent.transform.Find("equipment_slot_ring_iii").GetComponent<EquipmentSlot>()));
}

View File

@ -7,7 +7,7 @@ public enum EquipmentPanelSlotsTypeEnum
BootsSlot,
RingSlot,
BraceletSlot,
NeckletSlot,
NecklaceSlot,
PotionSlotSt,
PotionSlotNd
}

View File

@ -9,7 +9,7 @@ public enum EquipmentTypeEnum
Weapon,
Potion,
Bracelet,
Necklet,
Necklace,
Ring,
Other
}