From ac4c8ec8a6f96ddb57ec9880da39b1c004094cac Mon Sep 17 00:00:00 2001 From: Lucy <44952533+Skyliegirl33@users.noreply.github.com> Date: Fri, 20 Jan 2023 23:13:05 +0100 Subject: [PATCH] Add sprint costtype --- src/common/Common.h | 1 + src/world/Action/Action.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/common/Common.h b/src/common/Common.h index 86d639e3..8dca3a4b 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -816,6 +816,7 @@ namespace Sapphire::Common MagicPoints = 3, TacticsPoints = 5, TacticsPoints1 = 6, + Sprint = 18, // WARGauge = 22, // DRKGauge = 25, // AetherflowStack = 30, diff --git a/src/world/Action/Action.cpp b/src/world/Action/Action.cpp index d7394234..5a26c0f6 100644 --- a/src/world/Action/Action.cpp +++ b/src/world/Action/Action.cpp @@ -702,6 +702,7 @@ bool Action::Action::primaryCostCheck( bool subtractCosts ) { case Common::ActionPrimaryCostType::TacticsPoints: case Common::ActionPrimaryCostType::TacticsPoints1: + case Common::ActionPrimaryCostType::Sprint: { auto curTp = m_pSource->getTp();