mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-18 17:44:36 +00:00
fixing multiple 'unused variable' warnings (#1224)
This commit is contained in:
@@ -35,98 +35,98 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
static ActionNode* holy_nova(PlayerbotAI* ai)
|
||||
static ActionNode* holy_nova([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("holy nova",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* power_word_shield(PlayerbotAI* ai)
|
||||
static ActionNode* power_word_shield([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("power word: shield",
|
||||
/*P*/ NULL,
|
||||
/*A*/ NextAction::array(0, new NextAction("renew", 50.0f), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* power_word_shield_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* power_word_shield_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("power word: shield on party",
|
||||
/*P*/ NULL,
|
||||
/*A*/ NextAction::array(0, new NextAction("renew on party", 50.0f), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* renew(PlayerbotAI* ai)
|
||||
static ActionNode* renew([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("renew",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* renew_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* renew_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("renew on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* greater_heal(PlayerbotAI* ai)
|
||||
static ActionNode* greater_heal([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("greater heal",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NextAction::array(0, new NextAction("heal"), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* greater_heal_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* greater_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("greater heal on party",
|
||||
/*P*/ NULL,
|
||||
/*A*/ NextAction::array(0, new NextAction("heal on party"), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* heal(PlayerbotAI* ai)
|
||||
static ActionNode* heal([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("heal",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NextAction::array(0, new NextAction("lesser heal"), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* heal_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("heal on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NextAction::array(0, new NextAction("lesser heal on party"), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* lesser_heal(PlayerbotAI* ai)
|
||||
static ActionNode* lesser_heal([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("lesser heal",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* lesser_heal_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* lesser_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("lesser heal on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* flash_heal(PlayerbotAI* ai)
|
||||
static ActionNode* flash_heal([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("flash heal",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* flash_heal_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* flash_heal_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("flash heal on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* circle_of_healing(PlayerbotAI* ai)
|
||||
static ActionNode* circle_of_healing([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("circle of healing on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
@@ -134,14 +134,14 @@ private:
|
||||
/*A*/ NULL,
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* prayer_of_fortitude_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* prayer_of_fortitude_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("prayer of fortitude on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
/*A*/ NextAction::array(0, new NextAction("power word: fortitude on party"), NULL),
|
||||
/*C*/ NULL);
|
||||
}
|
||||
static ActionNode* prayer_of_spirit_on_party(PlayerbotAI* ai)
|
||||
static ActionNode* prayer_of_spirit_on_party([[maybe_unused]] PlayerbotAI* botAI)
|
||||
{
|
||||
return new ActionNode("prayer of spirit on party",
|
||||
/*P*/ NextAction::array(0, new NextAction("remove shadowform"), NULL),
|
||||
|
||||
Reference in New Issue
Block a user