AttackResult修改
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
private void OnGetAttacked(AttackResult result)
|
||||
{
|
||||
int stackAmount = unitedStackSubmodule.stackAmount;
|
||||
result.attacker.Attack(attachedCharacter, stackAmount, false, true);
|
||||
result.attacker.Attack(attachedCharacter, stackAmount, null, false, true);
|
||||
}
|
||||
|
||||
private void OnActionStart()
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
|
||||
private void OnAfterPlayCard(CardInstance card, List<CharacterBase> targets)
|
||||
{
|
||||
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, false, true);
|
||||
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, null, false, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
|
||||
private void OnActionStart()
|
||||
{
|
||||
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, false, true);
|
||||
sourceCharacter.Attack(attachedCharacter, unitedStackSubmodule.stackAmount, null, false, true);
|
||||
unitedStackSubmodule.ReduceStack(1);
|
||||
iconSubmodule.Update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user