From bbbcfb45948f9b7d37f8ce93c851fe2d1c910e36 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 10 Jun 2024 18:46:46 +0800 Subject: [PATCH] [Class spell] Prayer of healing cast trigger --- src/strategy/priest/HealPriestStrategy.cpp | 5 +++-- src/strategy/priest/HolyPriestStrategy.cpp | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/strategy/priest/HealPriestStrategy.cpp b/src/strategy/priest/HealPriestStrategy.cpp index b4da45ea..744d451d 100644 --- a/src/strategy/priest/HealPriestStrategy.cpp +++ b/src/strategy/priest/HealPriestStrategy.cpp @@ -36,12 +36,13 @@ void HealPriestStrategy::InitTriggers(std::vector& triggers) NextAction::array(0, new NextAction("circle of healing", ACTION_MEDIUM_HEAL + 8), new NextAction("power word: shield on almost full health below", ACTION_MEDIUM_HEAL + 7), - new NextAction("prayer of healing on party", ACTION_MEDIUM_HEAL + 6), NULL))); triggers.push_back(new TriggerNode( "medium group heal occasion", - NextAction::array(0, new NextAction("divine hymn", ACTION_CRITICAL_HEAL + 5), NULL))); + NextAction::array(0, + new NextAction("prayer of healing on party", ACTION_CRITICAL_HEAL + 6), + new NextAction("divine hymn", ACTION_CRITICAL_HEAL + 5), nullptr))); triggers.push_back(new TriggerNode( "party member critical health", diff --git a/src/strategy/priest/HolyPriestStrategy.cpp b/src/strategy/priest/HolyPriestStrategy.cpp index a9e64204..50430929 100644 --- a/src/strategy/priest/HolyPriestStrategy.cpp +++ b/src/strategy/priest/HolyPriestStrategy.cpp @@ -60,13 +60,14 @@ void HolyHealPriestStrategy::InitTriggers(std::vector& triggers) triggers.push_back(new TriggerNode( "group heal occasion", NextAction::array(0, - new NextAction("circle of healing", ACTION_MEDIUM_HEAL + 8), - new NextAction("prayer of healing on party", ACTION_MEDIUM_HEAL + 6), + new NextAction("circle of healing", ACTION_MEDIUM_HEAL + 8), NULL))); triggers.push_back(new TriggerNode( "medium group heal occasion", - NextAction::array(0, new NextAction("divine hymn", ACTION_CRITICAL_HEAL + 5), NULL))); + NextAction::array(0, + new NextAction("prayer of healing on party", ACTION_CRITICAL_HEAL + 6), + new NextAction("divine hymn", ACTION_CRITICAL_HEAL + 5), nullptr))); triggers.push_back(new TriggerNode( "party member critical health",