Pedro Gomes b16bbc3c73 Update Targeting system
- Targetting tags can now hold more than one tag, keeping IsValidTarget, AlliesContains and HasSameTag checks available.
- Added generic target tags for enemies and players
- Optional specific targetting tags if needed for future enhanced targetting
2024-07-25 22:04:25 +01:00

40 lines
1.3 KiB
Plaintext

%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: a5d5cf82dd5c07f438f5809f773372e2, type: 3}
m_Name: MeleeSlashAbility
m_EditorClassIdentifier:
Icon: {fileID: 21300000, guid: 28a02df1369b7fd4eab040459b0cc450, type: 3}
targettingTags:
- {fileID: 11400000, guid: c5b634e64086ffb4496aa6cb5e299c27, type: 2}
- {fileID: 11400000, guid: 6447e0730c0a07841a07ef8637e3e364, type: 2}
- {fileID: 11400000, guid: 3ac5bfbf7e1fbdd4baec1c17bd3d874c, type: 2}
tags:
- {fileID: 11400000, guid: 4e6f036fb4aad9b428694360fcc62f88, type: 2}
- {fileID: 11400000, guid: 8b74e81cfcd772243b988990f4a8a634, type: 2}
- {fileID: 11400000, guid: ff27e4f0bff17a145af826f8ade78c8a, type: 2}
abilityEffects:
- {fileID: 11400000, guid: 10ada31c8e07fc549ba69f40205ee996, type: 2}
castTime: 0.5
manaCost: 0
healthCost: 0
classResourceCost: 0
cooldown: 0
castableWhileMoving: 0
animationType: 2
slashPrefab: {fileID: 8389547513526139286, guid: b92cdb88e09bf1d47bec31bddd62fe50, type: 3}
regenHealthOnHit: 1
regenManaOnHit: 1
healthOnHit: 3
manaOnHit: 2
lifeSpan: 0.2
range: 2