Card爆改!
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Continentis.Mods.Basic
|
||||
{
|
||||
public class DivinePunishment : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
base.PlayEffect(targetList);
|
||||
|
||||
@@ -22,13 +22,13 @@ namespace Continentis.Mods.Basic
|
||||
new Cmd_PlayAnimation(user.characterView, "Attack"),
|
||||
new Cmd_ParamFunction<CharacterBase>(0.2f, target =>
|
||||
{
|
||||
user.Attack(target, GetFinalDamage(target));
|
||||
user.Attack(target, GetTargetedFinalDamage(target));
|
||||
}));
|
||||
|
||||
mainGroup.AddCommand(new Cmd_Function(() =>
|
||||
{
|
||||
CreateCardBuff<Buffs.DivinePunishment>(GetAttribute("DamageStack")).Apply(this, user, this);
|
||||
this.contentSubmodule.dirtyMark = true;
|
||||
CreateCardBuff<Buffs.DivinePunishment>(GetAttribute("DamageStack")).Apply(card, user, this);
|
||||
card.contentSubmodule.dirtyMark = true;
|
||||
}));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
|
||||
Reference in New Issue
Block a user