mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Utgarde Keep strat cleanup
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "UtgardeKeepActions.h"
|
||||
#include "UtgardeKeepStrategy.h"
|
||||
|
||||
bool AttackFrostTombAction::isUseful() { return !botAI->IsHeal(bot); }
|
||||
bool AttackFrostTombAction::Execute(Event event)
|
||||
{
|
||||
Unit* frostTomb = nullptr;
|
||||
|
||||
@@ -12,6 +12,7 @@ class AttackFrostTombAction : public AttackAction
|
||||
public:
|
||||
AttackFrostTombAction(PlayerbotAI* ai) : AttackAction(ai, "attack frost tomb") {}
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
class AttackDalronnAction : public AttackAction
|
||||
@@ -32,16 +33,16 @@ class IngvarDodgeSmashAction : public MovementAction
|
||||
{
|
||||
public:
|
||||
IngvarDodgeSmashAction(PlayerbotAI* ai) : MovementAction(ai, "ingvar dodge smash") {}
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
class IngvarSmashReturnAction : public MovementAction
|
||||
{
|
||||
public:
|
||||
IngvarSmashReturnAction(PlayerbotAI* ai) : MovementAction(ai, "ingvar smash return") {}
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _PLAYERRBOT_WOTLKDUNGEONUKMULTIPLIERS_H
|
||||
#define _PLAYERRBOT_WOTLKDUNGEONUKMULTIPLIERS_H
|
||||
#ifndef _PLAYERBOT_WOTLKDUNGEONUKMULTIPLIERS_H
|
||||
#define _PLAYERBOT_WOTLKDUNGEONUKMULTIPLIERS_H
|
||||
|
||||
#include "Multiplier.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _PLAYERBOT_WOTLKDUNGEONUKSTRATEGY_H_
|
||||
#define _PLAYERBOT_WOTLKDUNGEONUKSTRATEGY_H_
|
||||
#ifndef _PLAYERBOT_WOTLKDUNGEONUKSTRATEGY_H
|
||||
#define _PLAYERBOT_WOTLKDUNGEONUKSTRATEGY_H
|
||||
|
||||
#include "Multiplier.h"
|
||||
#include "AiObjectContext.h"
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
#ifndef _PLAYERBOT_WOTLKDUNGEONUKTRIGGERS_H
|
||||
#define _PLAYERBOT_WOTLKDUNGEONUKTRIGGERS_H
|
||||
|
||||
#include "EventMap.h"
|
||||
#include "Trigger.h"
|
||||
#include "PlayerbotAIConfig.h"
|
||||
#include "GenericTriggers.h"
|
||||
#include "DungeonStrategyUtils.h"
|
||||
|
||||
// Taken from:
|
||||
// src/server/scripts/Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
|
||||
enum Spells
|
||||
enum UtgardeKeepIDs
|
||||
{
|
||||
SPELL_SUMMON_VALKYR = 42912,
|
||||
SPELL_RESURRECTION_BEAM = 42857,
|
||||
@@ -32,7 +29,6 @@ enum Spells
|
||||
SPELL_DARK_SMASH = 42723,
|
||||
SPELL_SHADOW_AXE = 42749,
|
||||
|
||||
// Added
|
||||
DEBUFF_FROST_TOMB = 48400,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user