mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix compile error in windows platform
This commit is contained in:
@@ -13,6 +13,7 @@ public:
|
|||||||
virtual void InitTriggers(std::vector<TriggerNode*> &triggers) override;
|
virtual void InitTriggers(std::vector<TriggerNode*> &triggers) override;
|
||||||
virtual std::string const getName() override { return "melee"; }
|
virtual std::string const getName() override { return "melee"; }
|
||||||
virtual NextAction** getDefaultActions() override;
|
virtual NextAction** getDefaultActions() override;
|
||||||
|
uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -18,7 +18,7 @@ class DpsRogueStrategy : public MeleeCombatStrategy
|
|||||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||||
std::string const getName() override { return "dps"; }
|
std::string const getName() override { return "dps"; }
|
||||||
NextAction** getDefaultActions() override;
|
NextAction** getDefaultActions() override;
|
||||||
virtual int GetType() { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
|
uint32 GetType() const override { return MeleeCombatStrategy::GetType() | STRATEGY_TYPE_DPS; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class StealthedRogueStrategy : public Strategy
|
class StealthedRogueStrategy : public Strategy
|
||||||
|
|||||||
Reference in New Issue
Block a user