Skip to content
Snippets Groups Projects

Make using item respect preUseTalent

Merged Otowa Kotori requested to merge otowakotori/t-engine4:object-preuse-talent into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading