[Misc] Init bag, hunter spell

This commit is contained in:
Yunfan Li
2024-07-19 16:59:00 +08:00
parent e7fe79d946
commit b4201e1d84
2 changed files with 3 additions and 3 deletions

View File

@@ -1738,7 +1738,7 @@ void PlayerbotFactory::InitBags(bool destroyOld)
bot->DestroyItem(INVENTORY_SLOT_BAG_0, slot, true);
}
if (old_bag) {
return;
continue;
}
Item* newItem = bot->EquipNewItem(dest, newItemId, true);
if (newItem)

View File

@@ -88,10 +88,10 @@ class FreezingTrapTrigger : public HasCcTargetTrigger
FreezingTrapTrigger(PlayerbotAI* botAI) : HasCcTargetTrigger(botAI, "freezing trap") { }
};
class RapidFireTrigger : public BuffTrigger
class RapidFireTrigger : public BoostTrigger
{
public:
RapidFireTrigger(PlayerbotAI* botAI) : BuffTrigger(botAI, "rapid fire") { }
RapidFireTrigger(PlayerbotAI* botAI) : BoostTrigger(botAI, "rapid fire") { }
};
class TrueshotAuraTrigger : public BuffTrigger