卡特琳娜

This commit is contained in:
xianyi
2025-09-02 17:04:17 +08:00
parent 77f37a87d4
commit 8a060e4e37
37 changed files with 378 additions and 21 deletions

View File

@@ -0,0 +1,38 @@
%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: 8ce5f81e5cc37f547af6923758602c8c, type: 3}
m_Name: activate_105801
m_EditorClassIdentifier:
id: 105801
trigger: 2
conditions_trigger: []
target: 1
conditions_target: []
filters_target: []
effects: []
status:
- {fileID: 11400000, guid: e536240f3421c48a49c3ef0eb19b1042, type: 2}
value: 0
duration: 0
chain_abilities: []
mana_cost: 0
exhaust: 0
board_fx: {fileID: 0}
caster_fx: {fileID: 0}
target_fx: {fileID: 9125387663047351618, guid: b66600b51774daa49964ead5c6a00c49,
type: 3}
projectile_fx: {fileID: 0}
cast_audio: {fileID: 0}
target_audio: {fileID: 0}
charge_target: 0
title: "\u6D77\u76D7"
desc: "\u4F24\u5BB3+\u7981\u7597"

View File

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

View File

@@ -0,0 +1,40 @@
%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: 8ce5f81e5cc37f547af6923758602c8c, type: 3}
m_Name: activate_105802
m_EditorClassIdentifier:
id: 105802
trigger: 2
conditions_trigger: []
target: 10
conditions_target:
- {fileID: 11400000, guid: 7463bf87d3794e249b7610c9de9c5327, type: 2}
- {fileID: 11400000, guid: ef09540f94d8428408b69fea46ec3334, type: 2}
- {fileID: 11400000, guid: b7f2109afe5834bb2b7c72224a073f60, type: 2}
filters_target: []
effects: []
status: []
value: 0
duration: 0
chain_abilities: []
mana_cost: 0
exhaust: 0
board_fx: {fileID: 0}
caster_fx: {fileID: 0}
target_fx: {fileID: 9125387663047351618, guid: b66600b51774daa49964ead5c6a00c49,
type: 3}
projectile_fx: {fileID: 0}
cast_audio: {fileID: 0}
target_audio: {fileID: 0}
charge_target: 0
title: "\u6D77\u76D7\u7EDF\u5FA1"
desc: "\u4F24\u5BB3+\u7981\u7597"

View File

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

View File

@@ -0,0 +1,39 @@
%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: 8ce5f81e5cc37f547af6923758602c8c, type: 3}
m_Name: activate_105803
m_EditorClassIdentifier:
id: 105803
trigger: 5
conditions_trigger: []
target: 1
conditions_target: []
filters_target: []
effects: []
status:
- {fileID: 11400000, guid: 83592925901bfac42a301332a4829af2, type: 2}
- {fileID: 11400000, guid: e7c01ab4617b9ab428b88fc9c435c6c4, type: 2}
value: 2
duration: 2
chain_abilities: []
mana_cost: 0
exhaust: 0
board_fx: {fileID: 0}
caster_fx: {fileID: 0}
target_fx: {fileID: 9125387663047351618, guid: b66600b51774daa49964ead5c6a00c49,
type: 3}
projectile_fx: {fileID: 0}
cast_audio: {fileID: 0}
target_audio: {fileID: 0}
charge_target: 0
title: +4
desc: "\u4F24\u5BB3+\u7981\u7597"

View File

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

View File

@@ -0,0 +1,42 @@
%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: 8ce5f81e5cc37f547af6923758602c8c, type: 3}
m_Name: activate_105821
m_EditorClassIdentifier:
id: 105821
trigger: 2
conditions_trigger: []
target: 10
conditions_target:
- {fileID: 11400000, guid: 7463bf87d3794e249b7610c9de9c5327, type: 2}
- {fileID: 11400000, guid: ef09540f94d8428408b69fea46ec3334, type: 2}
- {fileID: 11400000, guid: b7f2109afe5834bb2b7c72224a073f60, type: 2}
- {fileID: 11400000, guid: 065da32cbd133734493695579723a718, type: 2}
filters_target: []
effects:
- {fileID: 11400000, guid: 4c4c317ae3dd4cf4982e8d7c7f1043b9, type: 2}
status: []
value: 1
duration: 0
chain_abilities: []
mana_cost: 0
exhaust: 0
board_fx: {fileID: 0}
caster_fx: {fileID: 0}
target_fx: {fileID: 9125387663047351618, guid: b66600b51774daa49964ead5c6a00c49,
type: 3}
projectile_fx: {fileID: 0}
cast_audio: {fileID: 0}
target_audio: {fileID: 0}
charge_target: 0
title: +1
desc: +1

View File

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

View File

@@ -14,8 +14,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
id: 1058 id: 1058
title: "\u5361\u7279\u7433\u5A1C" title: "\u5361\u7279\u7433\u5A1C"
art_full: {fileID: 21300000, guid: d2ec197d4022ca94d8dc1ee2d7eda955, type: 3} art_full_path:
art_board: {fileID: 21300000, guid: c3ac28cd1113c594ebe11a5f70251135, type: 3} art_board_path:
type: 10 type: 10
camp: 0 camp: 0
team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2} team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2}
@@ -23,9 +23,13 @@ MonoBehaviour:
mana: 6 mana: 6
attack: 5 attack: 5
hp: 24 hp: 24
traits: [] traits:
- {fileID: 11400000, guid: 1a5c64fd2344f4fcb94553ed85a6ae64, type: 2}
stats: [] stats: []
abilities: [] abilities:
- {fileID: 11400000, guid: 49274e64677da44fea1e12489a469994, type: 2}
- {fileID: 11400000, guid: 41dffefe45dc24a65a99e897ff39ee46, type: 2}
- {fileID: 11400000, guid: 4fdaaac5b050845dc90697cd53ea1f07, type: 2}
text: "\u5361\u7279\u7433\u5A1C" text: "\u5361\u7279\u7433\u5A1C"
desc: "\u9886\u8896\u2014\u2014\u6D77\u76D7\u3002\u590D\u4EC7\uFF1A\u654C\u65B9\u5361\u724C\u5BF9\u6B64\u724C\u9020\u6210\u4F24\u5BB3\u540E\uFF0C\u5BF9\u5176\u53D1\u52A8\u4E00\u6B21\u653B\u51FB\u6307\u4EE4\u3002\u7EDF\u5FA1\uFF1A\u82E5\u573A\u4E0A\u62E5\u6709\u56DB\u5F20\u6D77\u76D7\u5361\u724C\uFF0C\u5219\u6240\u6709\u6D77\u76D7\u5361\u724C\u653B\u51FB+1\u3002\r\n\uFF084\uFF09\uFF1A\u4E0B\u4E2A\u56DE\u5408\u5185\uFF0C\u5361\u7279\u7433\u5A1C\u653B\u51FB\u529B+2\uFF0C\u5BF9\u65B9\u53EA\u80FD\u4EE5\u5361\u7279\u7433\u5A1C\u4F5C\u4E3A\u653B\u51FB\u548C\u6280\u80FD\u76EE\u6807\u3002" desc: "\u9886\u8896\u2014\u2014\u6D77\u76D7\u3002\u590D\u4EC7\uFF1A\u654C\u65B9\u5361\u724C\u5BF9\u6B64\u724C\u9020\u6210\u4F24\u5BB3\u540E\uFF0C\u5BF9\u5176\u53D1\u52A8\u4E00\u6B21\u653B\u51FB\u6307\u4EE4\u3002\u7EDF\u5FA1\uFF1A\u82E5\u573A\u4E0A\u62E5\u6709\u56DB\u5F20\u6D77\u76D7\u5361\u724C\uFF0C\u5219\u6240\u6709\u6D77\u76D7\u5361\u724C\u653B\u51FB+1\u3002\r\n\uFF084\uFF09\uFF1A\u4E0B\u4E2A\u56DE\u5408\u5185\uFF0C\u5361\u7279\u7433\u5A1C\u653B\u51FB\u529B+2\uFF0C\u5BF9\u65B9\u53EA\u80FD\u4EE5\u5361\u7279\u7433\u5A1C\u4F5C\u4E3A\u653B\u51FB\u548C\u6280\u80FD\u76EE\u6807\u3002"
spawn_fx: {fileID: 9125387663047351618, guid: bac685160af4aff46ae561a51da6f5f4, spawn_fx: {fileID: 9125387663047351618, guid: bac685160af4aff46ae561a51da6f5f4,

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 20
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 30
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 10
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 40
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 5
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -14,6 +14,9 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 0}
has_camp: -1 has_camp: 0
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -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: d028860b966ab8f44908a62e25280a39, type: 3}
m_Name: has_all_trait
m_EditorClassIdentifier:
has_type: 0
has_team: {fileID: 0}
has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 11400000, guid: 1a5c64fd2344f4fcb94553ed85a6ae64, type: 2}
oper: 0

View File

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

View File

@@ -13,5 +13,10 @@ MonoBehaviour:
m_Name: is_artifact m_Name: is_artifact
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 30 has_type: 30
has_team: 0 has_team: {fileID: 0}
has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -15,4 +15,8 @@ MonoBehaviour:
has_type: 0 has_type: 0
has_team: {fileID: 11400000, guid: ed6dfd9dc7797584994eaf1fba66535f, type: 2} has_team: {fileID: 11400000, guid: ed6dfd9dc7797584994eaf1fba66535f, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -13,5 +13,10 @@ MonoBehaviour:
m_Name: is_character m_Name: is_character
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 10 has_type: 10
has_team: 0 has_team: {fileID: 0}
has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2} has_trait: {fileID: 11400000, guid: 9124c4a8561cfd14d812a55b3e885662, type: 2}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -15,4 +15,8 @@ MonoBehaviour:
has_type: 50 has_type: 50
has_team: {fileID: 0} has_team: {fileID: 0}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -15,4 +15,8 @@ MonoBehaviour:
has_type: 0 has_type: 0
has_team: {fileID: 11400000, guid: b80d8061c5bdb2e408e62a08e0e743ca, type: 2} has_team: {fileID: 11400000, guid: b80d8061c5bdb2e408e62a08e0e743ca, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: 0
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -15,4 +15,8 @@ MonoBehaviour:
has_type: 0 has_type: 0
has_team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2} has_team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -13,5 +13,10 @@ MonoBehaviour:
m_Name: is_secret m_Name: is_secret
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 40 has_type: 40
has_team: 0 has_team: {fileID: 0}
has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -13,5 +13,10 @@ MonoBehaviour:
m_Name: is_spell m_Name: is_spell
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 20 has_type: 20
has_team: 0 has_team: {fileID: 0}
has_trait: {fileID: 0}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -13,6 +13,10 @@ MonoBehaviour:
m_Name: is_wolf m_Name: is_wolf
m_EditorClassIdentifier: m_EditorClassIdentifier:
has_type: 0 has_type: 0
has_team: 0 has_team: {fileID: 0}
has_trait: {fileID: 11400000, guid: 9436e14bc49faf74595ac5f19b793ba3, type: 2} has_trait: {fileID: 11400000, guid: 9436e14bc49faf74595ac5f19b793ba3, type: 2}
has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardTrait: {fileID: 0}
oper: 0 oper: 0

View File

@@ -18,4 +18,5 @@ MonoBehaviour:
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0} has_rarity: {fileID: 0}
exclude_rarity: {fileID: 11400000, guid: ff02c02b61217a54fb70114f29f0122d, type: 2} exclude_rarity: {fileID: 11400000, guid: ff02c02b61217a54fb70114f29f0122d, type: 2}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: dcedff0b71bb54b8e998c0713fd12e3e, type: 2} has_team: {fileID: 11400000, guid: dcedff0b71bb54b8e998c0713fd12e3e, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2} has_team: {fileID: 11400000, guid: 6bbb96863ece0314fb318c0fce569afc, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: 8e4b9ddb3f79d4ac9bc510c5bdc9e576, type: 2} has_team: {fileID: 11400000, guid: 8e4b9ddb3f79d4ac9bc510c5bdc9e576, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: 44accef98e769754d9edb8fe6051443a, type: 2} has_team: {fileID: 11400000, guid: 44accef98e769754d9edb8fe6051443a, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: ed6dfd9dc7797584994eaf1fba66535f, type: 2} has_team: {fileID: 11400000, guid: ed6dfd9dc7797584994eaf1fba66535f, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -16,4 +16,7 @@ MonoBehaviour:
has_team: {fileID: 11400000, guid: a85e46b2e94eb463bafb4bd0d7920745, type: 2} has_team: {fileID: 11400000, guid: a85e46b2e94eb463bafb4bd0d7920745, type: 2}
has_trait: {fileID: 0} has_trait: {fileID: 0}
has_camp: -1 has_camp: -1
has_rarity: {fileID: 0}
exclude_rarity: {fileID: 0}
allCardCamp: -1
oper: 0 oper: 0

View File

@@ -0,0 +1,17 @@
%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: 510a78cb12497a646b6e2a8ba36b4dcf, type: 3}
m_Name: pirate
m_EditorClassIdentifier:
id: pirate
title: pirate
icon: {fileID: 0}

View File

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

View File

@@ -19,10 +19,37 @@ namespace TcgEngine
public RarityData has_rarity; public RarityData has_rarity;
public RarityData exclude_rarity; public RarityData exclude_rarity;
[Header("All cards on board are of camp")]
public TraitData allCardTrait;
public ConditionOperatorBool oper; public ConditionOperatorBool oper;
public override bool IsTargetConditionMet(Game data, AbilityData ability, Card caster, Card target) public override bool IsTargetConditionMet(Game data, AbilityData ability, Card caster, Card target)
{ {
// 检查allCardTrait条件
if (allCardTrait != null && caster != null)
{
Player casterPlayer = data.GetPlayer(caster.player_id);
if (casterPlayer != null)
{
// 检查场上所有卡牌
foreach (Card boardCard in casterPlayer.cards_board)
{
if (!boardCard.HasTrait(allCardTrait))
{
return false; // 如果有任何一张卡牌没有指定特性返回false
}
}
if (casterPlayer.cards_board.Count == 0 && casterPlayer.cards_equip.Count == 0)
{
return false;
}
Debug.Log("所有卡牌都具有指定特性 " + allCardTrait.id);
}
}
return CompareBool(IsTrait(target), oper); return CompareBool(IsTrait(target), oper);
} }