upd: sync local changes
Fix enemy turn hanging when a lethal hit frees the target widget: UpdateInfo skips freed widgets, animations finish early and restore the attacker only while it is alive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ba2c08b1dc
commit
00aa70e302
21 files changed
+122
-34
No files matched your search
@@ -12,8 +12,10 @@ namespace Cthangover.FFBattle.Actions
|
||||
/// </summary>
|
||||
public class FFDefenceExecutor : ActionBase
|
||||
{
|
||||
/// <summary>Hub registry key for this executor.</summary>
|
||||
public override string ID => "FFDefenceExecutor";
|
||||
|
||||
/// <summary>Adds the action's "Defence" value (default 4) to the target's defence shield.</summary>
|
||||
public override ChangedAttributes Execute(ActionCharacter action, Character user, Character target)
|
||||
{
|
||||
if (target == null || user == null || !CheckRequiredAndUsePoint(action, user))
|
||||
|
||||
Reference in new issue
Block a user