五张牌!

This commit is contained in:
SoulliesOfficial
2025-10-30 04:21:28 -04:00
parent 2906206f0c
commit 4c7e5c397b
171 changed files with 2168 additions and 41 deletions

View File

@@ -52,6 +52,19 @@ namespace Continentis.MainGame.Character
owner.ModifyAttribute("Mana", owner.GetAttribute("ManaRecoverPerAction"));
owner.ClampAttribute("Mana", 0, owner.GetAttribute("MaximumMana"));
}, 999));
onActionStart.InsertByPriority("DefenseReset", new EventUnit(() =>
{
if (owner.GetAttribute("KeepBlockOnActionStart") <= 0)
{
owner.SetAttribute("Block", 0);
}
if (owner.GetAttribute("KeepDodgeOnActionStart") <= 0)
{
owner.SetAttribute("Dodge", 0);
}
}, 998));
}
}