Merge pull request #279 from liyunfan1223/feat_teleport

Feat teleport
This commit is contained in:
Yunfan Li
2024-06-22 16:02:46 +08:00
committed by GitHub
6 changed files with 90 additions and 58 deletions

View File

@@ -36,12 +36,14 @@ void HealPriestStrategy::InitTriggers(std::vector<TriggerNode*>& 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("divine hymn", ACTION_CRITICAL_HEAL + 6),
new NextAction("prayer of healing on party", ACTION_CRITICAL_HEAL + 5),
nullptr)));
triggers.push_back(new TriggerNode(
"party member critical health",

View File

@@ -60,13 +60,15 @@ void HolyHealPriestStrategy::InitTriggers(std::vector<TriggerNode*>& 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("divine hymn", ACTION_CRITICAL_HEAL + 6),
new NextAction("prayer of healing on party", ACTION_CRITICAL_HEAL + 5),
nullptr)));
triggers.push_back(new TriggerNode(
"party member critical health",