Fix 'attacks' abilities not checked.

the 'attacks' abilities don't work without that.
This commit is contained in:
newfrenchy83 2022-10-17 14:57:16 +02:00 committed by Steve Cotton
parent 30e86e2cbb
commit f60f921e64

View file

@ -1762,7 +1762,7 @@ public:
private:
const std::set<std::string> checking_tags_{"damage", "chance_to_hit", "berserk", "swarm", "drains", "heal_on_hit", "plague", "slow", "petrifies", "firststrike", "poison"};
const std::set<std::string> checking_tags_{"attacks", "damage", "chance_to_hit", "berserk", "swarm", "drains", "heal_on_hit", "plague", "slow", "petrifies", "firststrike", "poison"};
/**
* Check if an ability is active.
* @param ability The type (tag name) of the ability