From b6068046accbc7f6076d38bf601f61a277578314 Mon Sep 17 00:00:00 2001 From: collett Date: Sun, 15 Mar 2020 18:59:07 +0900 Subject: [PATCH] implement drk blood and darkside, some war fixes as well --- src/common/Common.h | 7 +- .../action/war/ActionInnerRelease7389.cpp | 38 ---------- src/world/Action/Action.cpp | 62 +++++++++++++++- src/world/Action/ActionLutData.cpp | 34 +++++---- src/world/Actor/Player.cpp | 73 ++++++++++++++++++- src/world/Actor/Player.h | 9 +++ src/world/Math/CalcStats.cpp | 33 ++++++++- 7 files changed, 196 insertions(+), 60 deletions(-) delete mode 100644 src/scripts/action/war/ActionInnerRelease7389.cpp diff --git a/src/common/Common.h b/src/common/Common.h index 5dde56a3..8feeab1c 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -583,7 +583,7 @@ namespace Sapphire::Common TacticsPoints = 5, StatusEffect = 10, WARGauge = 22, -// DRKGauge = 25, + DRKGauge = 25, // AetherflowStack = 30, // Status = 32, PLDGauge = 41, @@ -1079,6 +1079,7 @@ namespace Sapphire::Common GainJobResource = 8, SelfHeal = 16, DamageFallOff = 32, + GainJobTimer = 64, }; enum ActionBonusEffectRequirement : uint8_t @@ -1185,9 +1186,9 @@ namespace Sapphire::Common struct { uint8_t blood; - uint16_t darksideTimeRemaining; + uint16_t darksideTimer; uint8_t darkArts; - uint16_t shadowTimeRemaining; + uint16_t shadowTimer; } drk; struct { diff --git a/src/scripts/action/war/ActionInnerRelease7389.cpp b/src/scripts/action/war/ActionInnerRelease7389.cpp deleted file mode 100644 index 9f142c42..00000000 --- a/src/scripts/action/war/ActionInnerRelease7389.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include