Skip to content
Snippets Groups Projects
Commit cd3f07b0 authored by DarkGod's avatar DarkGod
Browse files

Merge branch 'object-preuse-talent' into 'master'

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.

See merge request !629
parents 7a78c6f4 fc10f56f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment