Skip to content

Make using item respect preUseTalent

Currently, using item talent will not check talent's on_pre_use.

For example, Threads of Fate can use See the Threads infinite times on a same map, which is contrary to talent description.

This patch will make it check actor:preUseTalent, with force_talent_ignore_ressources=1

The HotkeysIconsDisplay is also modified to check preUseTalent.

This would need some tests to see if it would break any item talents.

Merge request reports