mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Misc] Init bag, hunter spell
This commit is contained in:
@@ -1738,7 +1738,7 @@ void PlayerbotFactory::InitBags(bool destroyOld)
|
|||||||
bot->DestroyItem(INVENTORY_SLOT_BAG_0, slot, true);
|
bot->DestroyItem(INVENTORY_SLOT_BAG_0, slot, true);
|
||||||
}
|
}
|
||||||
if (old_bag) {
|
if (old_bag) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
Item* newItem = bot->EquipNewItem(dest, newItemId, true);
|
Item* newItem = bot->EquipNewItem(dest, newItemId, true);
|
||||||
if (newItem)
|
if (newItem)
|
||||||
|
|||||||
@@ -88,10 +88,10 @@ class FreezingTrapTrigger : public HasCcTargetTrigger
|
|||||||
FreezingTrapTrigger(PlayerbotAI* botAI) : HasCcTargetTrigger(botAI, "freezing trap") { }
|
FreezingTrapTrigger(PlayerbotAI* botAI) : HasCcTargetTrigger(botAI, "freezing trap") { }
|
||||||
};
|
};
|
||||||
|
|
||||||
class RapidFireTrigger : public BuffTrigger
|
class RapidFireTrigger : public BoostTrigger
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RapidFireTrigger(PlayerbotAI* botAI) : BuffTrigger(botAI, "rapid fire") { }
|
RapidFireTrigger(PlayerbotAI* botAI) : BoostTrigger(botAI, "rapid fire") { }
|
||||||
};
|
};
|
||||||
|
|
||||||
class TrueshotAuraTrigger : public BuffTrigger
|
class TrueshotAuraTrigger : public BuffTrigger
|
||||||
|
|||||||
Reference in New Issue
Block a user