Card爆改!
This commit is contained in:
@@ -11,12 +11,12 @@ namespace Continentis.Mods.Basic.Cards.Cleric
|
||||
{
|
||||
public class ChainBlessing : CardLogicBase
|
||||
{
|
||||
protected override void SetUpLogicComponents()
|
||||
public override void SetUpLogicComponents()
|
||||
{
|
||||
AddLogicComponent<CardLogicComponent_GenerateCards>();
|
||||
}
|
||||
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential);
|
||||
mainGroup.AddCommand(new Cmd_PlayAnimation(user.characterView, "Skill"));
|
||||
@@ -26,7 +26,7 @@ namespace Continentis.Mods.Basic.Cards.Cleric
|
||||
var powerCards = new List<CardInstance>();
|
||||
foreach (var card in user.deckSubmodule.HandPile)
|
||||
{
|
||||
if (card.cardLogic.contentSubmodule.cardType == MainGame.Card.CardType.Power)
|
||||
if (card.contentSubmodule.cardType == MainGame.Card.CardType.Power)
|
||||
{
|
||||
powerCards.Add(card);
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace Continentis.Mods.Basic.Cards.Cleric
|
||||
var copyCount = GetAttribute("CopyCount");
|
||||
for (int i = 0; i < copyCount; i++)
|
||||
{
|
||||
CardInstance newCard = CardInstance.GenerateCardInstance(randomPowerCard.cardLogic, user, "Hand");
|
||||
CardInstance newCard = CardInstance.GenerateCardInstance(randomPowerCard, user, "Hand");
|
||||
newCard.cardLogic.SetAttribute("StaminaCost", 0);
|
||||
newCard.GenerateHandCardView("Hand");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user