Files
mod-playerbots/src
ThePenguinMan96 59af34809c Warlock Ranged Designation/DPS Strategy Cleanup
Hello community,

This PR focuses on 4 things:

Recognizing the Warlock as a "ranged" bot, so they will follow ranged commands and strategies, in GenericWarlockStrategy.h:
uint32 GetType() const override { return CombatStrategy::GetType() | STRATEGY_TYPE_RANGED | STRATEGY_TYPE_DPS; }

Cleanup/deletion of the DpsWarlockStrategy.cpp and .h (no longer used or referenced anywhere)

Fixes soulstone logic so multiple Warlocks don't soulstone the same target, and don't try to soulstone a target that is too far away or out of line of sight (WarlockActions.cpp)

Moved summoning of pets to the main non-combat strategy inittriggers:

// Pet-summoning triggers based on spec
    if (tab == 0)  // Affliction
    {
        triggers.push_back(new TriggerNode("no pet", NextAction::array(0, new NextAction("summon felhunter", 29.0f), nullptr)));
    }
    else if (tab == 1)  // Demonology
    {
        triggers.push_back(new TriggerNode("no pet", NextAction::array(0, new NextAction("summon felguard", 29.0f), nullptr)));
    }
    else if (tab == 2)  // Destruction
    {
        triggers.push_back(new TriggerNode("no pet", NextAction::array(0, new NextAction("summon imp", 29.0f), nullptr)));
    }
2025-07-04 03:32:29 -07:00
..
2025-07-01 14:35:16 -07:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2022-03-12 22:27:09 +01:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2025-06-27 20:00:38 +02:00
2024-08-04 10:23:36 +08:00
2024-08-14 18:37:21 +08:00
2024-08-14 18:37:21 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00
2024-08-04 12:04:06 +02:00
2024-08-04 12:04:06 +02:00
2024-08-04 10:23:36 +08:00
2024-08-04 10:23:36 +08:00