更新
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using Continentis.MainGame.Card;
|
||||
using Continentis.MainGame.Character;
|
||||
using Continentis.MainGame.Commands;
|
||||
using SLSUtilities.General;
|
||||
|
||||
namespace Continentis.Mods.Basic.Cards
|
||||
{
|
||||
/// <summary>
|
||||
/// 筑城(Fortification):
|
||||
/// 能力牌,为使用者提供一个同名的Buff。
|
||||
/// </summary>
|
||||
public class Fortification : CardLogicBase
|
||||
{
|
||||
private const string BUFF_FORTIFICATION_STACK = "Buff_Fortification_Stack";
|
||||
|
||||
public override CommandGroup PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
return SingleCommandGroup(
|
||||
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||
Cmd.Do(() =>
|
||||
{
|
||||
int stacks = GetAttribute(BUFF_FORTIFICATION_STACK);
|
||||
CreateCharacterBuff<Buffs.Fortification>(stacks).Apply(user, user, this);
|
||||
})
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83732e4ebc1f6ec478d386e5dcb18e27
|
||||
Reference in New Issue
Block a user