Sanctuary, Reuse => Reuseable
This commit is contained in:
@@ -21,6 +21,7 @@ MonoBehaviour:
|
|||||||
keywords:
|
keywords:
|
||||||
- TargetAllies
|
- TargetAllies
|
||||||
- TargetSelf
|
- TargetSelf
|
||||||
|
- Reuseable
|
||||||
cardSprite: {fileID: 21300000, guid: c7e0489a5e85e65499fcacddb7c1391e, type: 3}
|
cardSprite: {fileID: 21300000, guid: c7e0489a5e85e65499fcacddb7c1391e, type: 3}
|
||||||
cardLayoutTags: []
|
cardLayoutTags: []
|
||||||
functionText: Card_Basic_Sanctuary_FunctionText
|
functionText: Card_Basic_Sanctuary_FunctionText
|
||||||
|
|||||||
@@ -13,12 +13,13 @@ MonoBehaviour:
|
|||||||
m_Name: CardData_Basic_BodyAsShield
|
m_Name: CardData_Basic_BodyAsShield
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
modName: Basic
|
modName: Basic
|
||||||
|
categoryName:
|
||||||
className: BodyAsShield
|
className: BodyAsShield
|
||||||
displayName: Card_Basic_BodyAsShield_DisplayName
|
displayName: Card_Basic_BodyAsShield_DisplayName
|
||||||
cardRarity: 10
|
cardRarity: 10
|
||||||
cardType: 10
|
cardType: 10
|
||||||
keywords:
|
keywords:
|
||||||
- Reuse
|
- Reuseable
|
||||||
- TargetAllies
|
- TargetAllies
|
||||||
cardSprite: {fileID: 21300000, guid: 08151241767bc164da8ba328a76a9ced, type: 3}
|
cardSprite: {fileID: 21300000, guid: 08151241767bc164da8ba328a76a9ced, type: 3}
|
||||||
cardLayoutTags: []
|
cardLayoutTags: []
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
|
using Continentis.MainGame;
|
||||||
using Continentis.MainGame.Card;
|
using Continentis.MainGame.Card;
|
||||||
using Continentis.MainGame.Character;
|
using Continentis.MainGame.Character;
|
||||||
|
using Continentis.MainGame.Commands;
|
||||||
using SLSFramework.General;
|
using SLSFramework.General;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
@@ -11,7 +13,13 @@ namespace Continentis.Mods.Basic.Cards.Cleric
|
|||||||
{
|
{
|
||||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
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>((target) =>
|
||||||
|
target.combatBuffSubmodule.Dispel(BuffDispelLevel.Basic, user)
|
||||||
|
));
|
||||||
|
|
||||||
|
return new List<CommandBase> { mainGroup };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,5 +116,17 @@ MonoBehaviour:
|
|||||||
description: Keyword_Blessing_Description
|
description: Keyword_Blessing_Description
|
||||||
index: 16
|
index: 16
|
||||||
isKeyDuplicated: 0
|
isKeyDuplicated: 0
|
||||||
|
- Key: Purify
|
||||||
|
Value:
|
||||||
|
name: Keyword_Purify
|
||||||
|
description: Keyword_Purify_Description
|
||||||
|
index: 17
|
||||||
|
isKeyDuplicated: 0
|
||||||
|
- Key: Reuseable
|
||||||
|
Value:
|
||||||
|
name: Keyword_Reuseable
|
||||||
|
description: Keyword_Reuseable_Description
|
||||||
|
index: 18
|
||||||
|
isKeyDuplicated: 0
|
||||||
dividerPosProp: 0.2
|
dividerPosProp: 0.2
|
||||||
keywordToAdd: Blessing
|
keywordToAdd: Reuseable
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai
|
Key,English,Simplified Chinese,Traditional Chinese,Japanese,Korean,Vietnamese,Thai
|
||||||
Card_Basic_LessRestoration_DisplayName,Less Restoration,次级恢复术,,,,,
|
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("Heal")点生命值,并施加弱驱散。,,,,,
|
Card_Basic_LessRestoration_FunctionText,"$Keyword(""Exhaustible""): $Attribute(""ExhaustibleCount""), Heal $Attribute(""HealAmount"") and basic dispel target.",$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n$Keyword("Purify")并治疗目标$Attribute("Heal")点生命值。,,,,,
|
||||||
Card_Basic_PrayerOfHealing_DisplayName,Prayer Of Healing,治疗祷言,,,,,
|
Card_Basic_PrayerOfHealing_DisplayName,Prayer Of Healing,治疗祷言,,,,,
|
||||||
Card_Basic_PrayerOfHealing_FunctionText,TODO,$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗所有友方目标$Attribute("Heal")点生命值。,,,,,
|
Card_Basic_PrayerOfHealing_FunctionText,TODO,$Keyword("Exhaustible"): $Attribute("ExhaustibleCount")\n治疗所有友方目标$Attribute("Heal")点生命值。,,,,,
|
||||||
Card_Basic_BlessedHolyWater_DisplayName,Blessed Holy Water,祝福圣水,,,,,
|
Card_Basic_BlessedHolyWater_DisplayName,Blessed Holy Water,祝福圣水,,,,,
|
||||||
Card_Basic_BlessedHolyWater_FunctionText,TODO,将1张“圣水”加入公共牌组。,,,,,
|
Card_Basic_BlessedHolyWater_FunctionText,TODO,将1张“圣水”加入公共牌组。,,,,,
|
||||||
Card_Basic_Sanctuary_DisplayName,Sanctuary,庇护术,,,,,
|
Card_Basic_Sanctuary_DisplayName,Sanctuary,庇护术,,,,,
|
||||||
Card_Basic_Sanctuary_FunctionText,TODO,,,,,,
|
Card_Basic_Sanctuary_FunctionText,TODO,$Keyword("Purify")一名友方目标。\n$Keyword("Reuseable")。,,,,,
|
||||||
Card_Basic_ShieldOfDevotion_DisplayName,Shield Of Devotion,虔诚护盾,,,,,
|
Card_Basic_ShieldOfDevotion_DisplayName,Shield Of Devotion,虔诚护盾,,,,,
|
||||||
Card_Basic_ShieldOfDevotion_FunctionText,TODO,,,,,,
|
Card_Basic_ShieldOfDevotion_FunctionText,TODO,,,,,,
|
||||||
Card_Basic_FreedomOfMovement_DisplayName,Freedom Of Movement,行动自如,,,,,
|
Card_Basic_FreedomOfMovement_DisplayName,Freedom Of Movement,行动自如,,,,,
|
||||||
|
|||||||
|
Can't render this file because it contains an unexpected character in line 3 and column 170.
|
@@ -29,3 +29,7 @@ Keyword_Exhaustible,Exhaustible,消耗性,,,,,
|
|||||||
Keyword_Exhaustible_Description,"After play this card for certain times, exhaust it.",在你打出这张牌一定次数之后,消耗它。,,,,,
|
Keyword_Exhaustible_Description,"After play this card for certain times, exhaust it.",在你打出这张牌一定次数之后,消耗它。,,,,,
|
||||||
Keyword_Blessing,Blessing,赐福,,,,,
|
Keyword_Blessing,Blessing,赐福,,,,,
|
||||||
Keyword_Blessing_Description,This card is able to target allies.,可以对队友使用这张卡牌。,,,,,
|
Keyword_Blessing_Description,This card is able to target allies.,可以对队友使用这张卡牌。,,,,,
|
||||||
|
Keyword_Purify,Purify,净化,,,,,
|
||||||
|
Keyword_Purify_Description,Remove debuffs.,驱散负面效果。,,,,,
|
||||||
|
Keyword_Reuseable,Reuseable,复用,,,,,
|
||||||
|
Keyword_Reuseable_Description,This card will not be discarded after use.,这张卡在使用之后不会被丢弃。,,,,,
|
||||||
|
|||||||
|
@@ -266,7 +266,7 @@ namespace Continentis.MainGame.Card
|
|||||||
|
|
||||||
if (user is PlayerHero playerHero)
|
if (user is PlayerHero playerHero)
|
||||||
{
|
{
|
||||||
if(!HasKeyword("Reuse"))
|
if(!HasKeyword("Reuseable"))
|
||||||
{
|
{
|
||||||
CommandQueueManager.Instance.AddCommand(playerHero.deckSubmodule.DiscardCard(cardInstance, false));
|
CommandQueueManager.Instance.AddCommand(playerHero.deckSubmodule.DiscardCard(cardInstance, false));
|
||||||
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
|
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user