SpiritGuardian CounterAttack has bug
This commit is contained in:
@@ -83,7 +83,7 @@ namespace Continentis.MainGame.Card
|
||||
}
|
||||
else
|
||||
{
|
||||
if (HasKeyword("TargetAllies"))
|
||||
if (HasKeyword("TargetAllies") || HasKeyword("Blessing"))
|
||||
{
|
||||
valid.AddRange(user.fraction is Fraction.Ally or Fraction.Player
|
||||
? characters.Where(character => character.fraction is Fraction.Ally or Fraction.Player)
|
||||
|
||||
@@ -38,11 +38,7 @@ namespace Continentis.MainGame.Character
|
||||
throw new System.NotImplementedException("请使用类型约束更强的OnBuffApply方法");
|
||||
}
|
||||
|
||||
public virtual bool OnBuffApply(out CharacterCombatBuffBase existingBuff)
|
||||
{
|
||||
throw new System.NotImplementedException(); //需要在子类中实现
|
||||
}
|
||||
|
||||
public abstract bool OnBuffApply(out CharacterCombatBuffBase existingBuff);
|
||||
public override void OnAfterFirstApply()
|
||||
{
|
||||
statusSubmodule?.AddStatus();
|
||||
|
||||
Reference in New Issue
Block a user