mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-03-15 13:25:09 +00:00
- Replaced custom protection of soul shard by trigger check interval (#1453)
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
class OutOfSoulShardsTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
OutOfSoulShardsTrigger(PlayerbotAI* botAI) : Trigger(botAI, "no soul shard") {}
|
||||
OutOfSoulShardsTrigger(PlayerbotAI* botAI) : Trigger(botAI, "no soul shard", 2) {}
|
||||
bool IsActive() override { return AI_VALUE2(uint32, "item count", "soul shard") == 0; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user