- Replaced custom protection of soul shard by trigger check interval (#1453)

This commit is contained in:
kadeshar
2025-07-23 00:15:22 +02:00
committed by GitHub
parent d6b7693b8b
commit e150b8281b
3 changed files with 8 additions and 19 deletions

View File

@@ -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; }
};