Skip to content

Commit 5ec860e

Browse files
authored
Battleground Fixes (#231)
* Travel Form set to Emergency when Druid has flag and not in combat Synced for Vanilla, TBC and WOTLK * Ghost Wolf set to Emergency when Shaman has flag and not in combat Synced for Vanilla, TBC and WOTLK * Refactor Horde Starting position in AV (Vanilla) Horde bots were waiting stucked on the gate in Vanilla Refactored position
1 parent 9f1477d commit 5ec860e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

playerbot/strategy/actions/BattleGroundTactics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Position const AB_WAITING_POS_HORDE = { 702.884f, 703.045f, -16.115f, 0.77f };
4242
Position const AB_WAITING_POS_ALLIANCE = { 1286.054f, 1282.500f, -15.697f, 3.95f };
4343
Position const AV_WAITING_POS_ALLIANCE = { 793.627f, -493.814f, 99.689f, 3.09f };
4444
#ifdef MANGOSBOT_ZERO
45-
Position const AV_WAITING_POS_HORDE = { -871.196f, -558.407f, 57.239f, 2.14f };
45+
Position const AV_WAITING_POS_HORDE = { -863.640f, -569.008f, 57.570f, 2.14f };
4646
#else
4747
Position const AV_WAITING_POS_HORDE = { -1381.865f, -544.872f, 54.773f, 0.76f };
4848
#endif

playerbot/strategy/druid/DruidStrategy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void DruidPvpStrategy::InitNonCombatTriggers(std::list<TriggerNode*>& triggers)
133133

134134
triggers.push_back(new TriggerNode(
135135
"player has flag",
136-
NextAction::array(0, new NextAction("travel form", ACTION_HIGH), NULL)));
136+
NextAction::array(0, new NextAction("travel form", ACTION_EMERGENCY), NULL)));
137137
}
138138

139139
void DruidPvpStrategy::InitReactionTriggers(std::list<TriggerNode*>& triggers)
@@ -958,7 +958,7 @@ void DruidPvpStrategy::InitNonCombatTriggers(std::list<TriggerNode*>& triggers)
958958

959959
triggers.push_back(new TriggerNode(
960960
"player has flag",
961-
NextAction::array(0, new NextAction("travel form", ACTION_HIGH), NULL)));
961+
NextAction::array(0, new NextAction("travel form", ACTION_EMERGENCY), NULL)));
962962
}
963963

964964
void DruidPvpStrategy::InitReactionTriggers(std::list<TriggerNode*>& triggers)

playerbot/strategy/shaman/ShamanStrategy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ void ShamanPvpStrategy::InitNonCombatTriggers(std::list<TriggerNode*>& triggers)
570570

571571
triggers.push_back(new TriggerNode(
572572
"player has flag",
573-
NextAction::array(0, new NextAction("ghost wolf", ACTION_HIGH), NULL)));
573+
NextAction::array(0, new NextAction("ghost wolf", ACTION_EMERGENCY), NULL)));
574574
}
575575

576576
void ShamanPvpStrategy::InitReactionTriggers(std::list<TriggerNode*>& triggers)
@@ -1076,7 +1076,7 @@ void ShamanPvpStrategy::InitNonCombatTriggers(std::list<TriggerNode*>& triggers)
10761076

10771077
triggers.push_back(new TriggerNode(
10781078
"player has flag",
1079-
NextAction::array(0, new NextAction("ghost wolf", ACTION_HIGH), NULL)));
1079+
NextAction::array(0, new NextAction("ghost wolf", ACTION_EMERGENCY), NULL)));
10801080
}
10811081

10821082
void ShamanPvpStrategy::InitReactionTriggers(std::list<TriggerNode*>& triggers)

0 commit comments

Comments
 (0)