PrayerOfHealing

This commit is contained in:
FrazeRIP
2025-11-12 00:01:35 -06:00
parent 9b45f372c3
commit 375f8eaf08
11 changed files with 64 additions and 21 deletions

View File

@@ -15,6 +15,7 @@ MonoBehaviour:
inEditorModFolder: Basic
keywordDataIDList:
- KeywordData_Basic_Buff
- KeywordData_Basic_Buff_Assassin
- KeywordData_Basic_Default
cardDataIDList:
- CardData_Basic_Rouse

View File

@@ -45,7 +45,7 @@ MonoBehaviour:
Value: 3
index: 3
isKeyDuplicated: 0
- Key: HealAmount
- Key: Heal
Value: 6
index: 4
isKeyDuplicated: 0

View File

@@ -45,7 +45,7 @@ MonoBehaviour:
Value: 3
index: 3
isKeyDuplicated: 0
- Key: HealAmount
- Key: Heal
Value: 4
index: 4
isKeyDuplicated: 0

View File

@@ -15,7 +15,7 @@ namespace Continentis.Mods.Basic.Cards.Cleric
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.1f, target =>
{
target.Heal(GetAttribute("HealAmount"));
target.Heal(GetAttribute("Heal"));
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user);
}));

View File

@@ -2,6 +2,7 @@
using Continentis.MainGame.Card;
using Continentis.MainGame.Character;
using Continentis.MainGame.Commands;
using SLSFramework.General;
using System.Collections.Generic;
@@ -11,7 +12,14 @@ namespace Continentis.Mods.Basic.Cards.Cleric
{
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
{
return base.PlayEffect(targetList);
CommandGroup mainGroup = TargetListCommandGroup(targetList,
new Cmd_PlayAnimation(user.characterView, "Skill"),
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
{
target.Heal(GetAttribute("Heal"));
}));
return new List<CommandBase> { mainGroup };
}
}
}

View File

@@ -32,29 +32,17 @@ MonoBehaviour:
description: Keyword_Basic_Heavy_Description
index: 2
isKeyDuplicated: 0
- Key: Basic_WoundDeterioration
Value:
name: Keyword_Basic_WoundDeterioration
description: Keyword_Basic_WoundDeterioration_Description
index: 3
isKeyDuplicated: 0
- Key: Basic_Corrosion
Value:
name: Keyword_Basic_Corrosion
description: Keyword_Basic_Corrosion_Description
index: 4
index: 3
isKeyDuplicated: 0
- Key: Basic_Sharpness
Value:
name: Keyword_Basic_Sharpness
description: Keyword_Basic_Sharpness_Description
index: 5
isKeyDuplicated: 0
- Key: Basic_KnifeTrick
Value:
name: Keyword_Basic_KnifeTrick
description: Keyword_Basic_KnifeTrick_Description
index: 6
index: 4
isKeyDuplicated: 0
dividerPosProp: 0.2
keywordToAdd: Basic_KnifeTrick

View File

@@ -0,0 +1,30 @@
%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: 3f37d7342fd3cbf4a9b837fca74655cc, type: 3}
m_Name: KeywordData_Basic_Buff_Assassin
m_EditorClassIdentifier:
interpretedKeywords:
dictionaryList:
- Key: Basic_WoundDeterioration
Value:
name: Keyword_Basic_WoundDeterioration
description: Keyword_Basic_WoundDeterioration_Description
index: 0
isKeyDuplicated: 0
- Key: Basic_KnifeTrick
Value:
name: Keyword_Basic_KnifeTrick
description: Keyword_Basic_KnifeTrick_Description
index: 1
isKeyDuplicated: 0
dividerPosProp: 0.2
keywordToAdd: Basic_KnifeTrick

View File

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

View File

@@ -110,5 +110,11 @@ MonoBehaviour:
description: Keyword_Exhaustible_Description
index: 15
isKeyDuplicated: 0
- Key: Blessing
Value:
name: Keyword_Blessing
description: Keyword_Blessing_Description
index: 16
isKeyDuplicated: 0
dividerPosProp: 0.2
keywordToAdd: Exhaustible
keywordToAdd: Blessing

View File

@@ -1,8 +1,8 @@
Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai
Card_Basic_LessRestoration_DisplayName,Less Restoration,次级恢复术,,,,,
Card_Basic_LessRestoration_FunctionText,"$Keyword(""Exhaustible""): $Attribute(""ExhaustibleCount""), Heal $Attribute(""HealAmount"") and basic dispel target.",$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗目标$Attribute("HealAmount")点生命值,并施加弱驱散。,,,,,
Card_Basic_LessRestoration_FunctionText,"$Keyword(""Exhaustible""): $Attribute(""ExhaustibleCount""), Heal $Attribute(""HealAmount"") and basic dispel target.",$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗目标$Attribute("Heal")点生命值,并施加弱驱散。,,,,,
Card_Basic_PrayerOfHealing_DisplayName,Prayer Of Healing,治疗祷言,,,,,
Card_Basic_PrayerOfHealing_FunctionText,TODO,$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗所有友方目标$Attribute("HealAmount")点生命值。,,,,,
Card_Basic_PrayerOfHealing_FunctionText,TODO,$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗所有友方目标$Attribute("Heal")点生命值。,,,,,
Card_Basic_BlessedHolyWater_DisplayName,Blessed Holy Water,祝福圣水,,,,,
Card_Basic_BlessedHolyWater_FunctionText,TODO,,,,,,
Card_Basic_Sanctuary_DisplayName,Sanctuary,庇护术,,,,,
Can't render this file because it contains an unexpected character in line 3 and column 170.

View File

@@ -27,3 +27,5 @@ Keyword_Ethereal,Ethereal,虚无,,,,,
Keyword_Ethereal_Description,"After you finish your action, if this card is in your hand pile, exhaust it.",你的行动结束时,如果这张卡牌在你的手牌堆中,消耗它。,,,,,
Keyword_Exhaustible,Exhaustible,消耗性,,,,,
Keyword_Exhaustible_Description,"After play this card for certain times, exhaust it.",在你打出这张牌一定次数之后,消耗它。,,,,,
Keyword_Blessing,Blessing,赐福,,,,,
Keyword_Blessing_Description,This card is able to target allies.,可以对队友使用这张卡牌。,,,,,
1 Key English Simplified Chinese Traditional Chinese Japanese Korean Vietnamese Thai
27 Keyword_Ethereal_Description After you finish your action, if this card is in your hand pile, exhaust it. 你的行动结束时,如果这张卡牌在你的手牌堆中,消耗它。
28 Keyword_Exhaustible Exhaustible 消耗性
29 Keyword_Exhaustible_Description After play this card for certain times, exhaust it. 在你打出这张牌一定次数之后,消耗它。
30 Keyword_Blessing Blessing 赐福
31 Keyword_Blessing_Description This card is able to target allies. 可以对队友使用这张卡牌。