diff --git a/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset b/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset new file mode 100644 index 0000000..848e444 --- /dev/null +++ b/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset @@ -0,0 +1,22 @@ +%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: b44d66bdcfad03b4eb26798e1aa6dfaa, type: 3} + m_Name: Crows Foresight Ability + m_EditorClassIdentifier: + abilityKey: CrowsForesight + abilityName: Crows Foresight + abilityRadius: 10 + abilityMagnitude: 10 + abilityDuration: 30 + abilityCooldownTime: 10 + abilityApplicationRadius: 20 + prefab: {fileID: 0} diff --git a/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset.meta b/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset.meta new file mode 100644 index 0000000..3874c6f --- /dev/null +++ b/Assets/GameData/Action/Abilities/Crows Foresight Ability.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6b4485e4bc8be814db7fc22a6778fbd5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Character/PlayerAvatar.prefab b/Assets/Prefabs/Character/PlayerAvatar.prefab index b1e87d2..2a8879f 100644 --- a/Assets/Prefabs/Character/PlayerAvatar.prefab +++ b/Assets/Prefabs/Character/PlayerAvatar.prefab @@ -503,7 +503,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5109095020609682098, guid: d3e4ffd5da62ee94e9eccf3ab52ec129, type: 3} propertyPath: GlobalObjectIdHash - value: 3177087589 + value: 3937158934 objectReference: {fileID: 0} - target: {fileID: 5935320730402577130, guid: d3e4ffd5da62ee94e9eccf3ab52ec129, type: 3} propertyPath: m_Name @@ -578,7 +578,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4600110157238723790, guid: 0d2d836e2e83b754fa1a1c4022d6d65d, type: 3} propertyPath: GlobalObjectIdHash - value: 3177087589 + value: 3737985212 objectReference: {fileID: 0} - target: {fileID: 4600110157238723790, guid: 0d2d836e2e83b754fa1a1c4022d6d65d, type: 3} propertyPath: PrefabHashGenerator @@ -1171,6 +1171,7 @@ MonoBehaviour: - {fileID: 11400000, guid: 6c697d5efda1b0147b0c3f4088ee62f9, type: 2} - {fileID: 11400000, guid: 834f18926d3364d40ab9894f716b4e3b, type: 2} - {fileID: 11400000, guid: f58030efba278b040be08a2bb92abb0b, type: 2} + - {fileID: 11400000, guid: 6b4485e4bc8be814db7fc22a6778fbd5, type: 2} abilitiesUI: [] currentAbilityIndicator: {fileID: 92142163933926358} wallIndicator: {fileID: 1257869342993333690} diff --git a/Assets/Scripts/Gameplay/CrowsForesightAbility.cs b/Assets/Scripts/Gameplay/CrowsForesightAbility.cs new file mode 100644 index 0000000..e7e8c53 --- /dev/null +++ b/Assets/Scripts/Gameplay/CrowsForesightAbility.cs @@ -0,0 +1,13 @@ +using System.Collections; +using System.Collections.Generic; +using Unity.BossRoom.Gameplay.GameplayObjects.Character; +using UnityEngine; + +[CreateAssetMenu(menuName = "Abilities/CrowsForesight")] +public class CrowsForesightAbility : Ability +{ + public override void Execute(ServerCharacter character, Vector3 targetPosition, Vector3 targetRotation) + { + throw new System.NotImplementedException(); + } +} diff --git a/Assets/Scripts/Gameplay/CrowsForesightAbility.cs.meta b/Assets/Scripts/Gameplay/CrowsForesightAbility.cs.meta new file mode 100644 index 0000000..01b5349 --- /dev/null +++ b/Assets/Scripts/Gameplay/CrowsForesightAbility.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b44d66bdcfad03b4eb26798e1aa6dfaa +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Gameplay/GameplayObjects/RuntimeDataContainers/GameDataSource.cs b/Assets/Scripts/Gameplay/GameplayObjects/RuntimeDataContainers/GameDataSource.cs index 01d708a..b260519 100644 --- a/Assets/Scripts/Gameplay/GameplayObjects/RuntimeDataContainers/GameDataSource.cs +++ b/Assets/Scripts/Gameplay/GameplayObjects/RuntimeDataContainers/GameDataSource.cs @@ -86,6 +86,7 @@ namespace Unity.BossRoom.Gameplay.GameplayObjects public string FreezeThrowAbilityKey = "FreezeThrow"; public string VectorWallAbilityKey = "VectorWall"; public string TheExecutionerKey = "TheExecutioner"; + public string CrowsForesightKey = "CrowsForesight"; List m_AllActions;