Card爆改!
This commit is contained in:
@@ -9,12 +9,12 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class Ambush : 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"));
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class AmbushStance : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
|
||||
|
||||
@@ -9,7 +9,8 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
public class Backstab : CardLogicBase
|
||||
{
|
||||
private int _sharpnessCount = 0;
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup( targetList,
|
||||
new Cmd_PlayAnimation(user.characterView, "Attack"),
|
||||
@@ -22,7 +23,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
_sharpnessCount = user.combatBuffSubmodule.GetBuff<Buffs.Sharpness>().unitedStackSubmodule.stackAmount;
|
||||
}
|
||||
user.Attack(target, GetFinalDamage(target));
|
||||
user.Attack(target, GetTargetedFinalDamage(target));
|
||||
}),
|
||||
new Cmd_ParamFunction<CharacterBase>(target =>
|
||||
{
|
||||
|
||||
@@ -9,12 +9,12 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class BladeOfFear : CardLogicBase
|
||||
{
|
||||
protected override void SetUpLogicComponents()
|
||||
public override void SetUpLogicComponents()
|
||||
{
|
||||
AddLogicComponent<CardLogicComponent_Attack>();
|
||||
}
|
||||
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
base.PlayEffect(targetList);
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
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(() =>
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class CompoundPoison : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class ExtremePain : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_PlayAnimation(user.characterView, "Attack"),
|
||||
@@ -16,15 +16,15 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
new Cmd_SpawnVFX("VFX_Basic_RedImpact"),
|
||||
new Cmd_ParamFunction<CharacterBase>(target =>
|
||||
{
|
||||
user.Attack(target, GetFinalDamage(target));
|
||||
user.Attack(target, GetTargetedFinalDamage(target));
|
||||
}));
|
||||
|
||||
return new List<CommandBase> { mainGroup };
|
||||
}
|
||||
|
||||
public override int GetFinalDamage(CharacterBase target, List<string> elementalTags = null)
|
||||
public override int GetTargetedFinalDamage(CharacterBase target, List<string> elementalTags = null)
|
||||
{
|
||||
var baseDamage = base.GetFinalDamage(target, elementalTags);
|
||||
var baseDamage = base.GetTargetedFinalDamage(target, elementalTags);
|
||||
var extraDamage = 0;
|
||||
if (target.combatBuffSubmodule.HasBuff<Buffs.Corrosion>())
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class FlashTerror : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.01f, target =>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class KnifeTrick : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = new CommandGroup(ExecutionMode.Sequential,
|
||||
new Cmd_PlayAnimation(user.characterView, "Skill"),
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class Stealth : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
var mainGroup = new CommandGroup(ExecutionMode.Sequential);
|
||||
mainGroup.AddCommand(new Cmd_Function(() =>
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class Torture : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandQueueManager.Instance.AddCommand(user.deckSubmodule.DrawCards(GetAttribute("DrawCount")));
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Continentis.Mods.Basic.Cards.Assassin
|
||||
{
|
||||
public class WoundDeterioration : CardLogicBase
|
||||
{
|
||||
protected override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
public override List<CommandBase> PlayEffect(List<CharacterBase> targetList)
|
||||
{
|
||||
CommandGroup mainGroup = TargetListCommandGroup(targetList,
|
||||
new Cmd_ParamFunction<CharacterBase>(0.05f, target =>
|
||||
|
||||
Reference in New Issue
Block a user