Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change #400 #401 to Trigger on All Abilities #749

Closed
Onidotmoe opened this issue Jan 30, 2020 · 1 comment · Fixed by #957
Closed

Change #400 #401 to Trigger on All Abilities #749

Onidotmoe opened this issue Jan 30, 2020 · 1 comment · Fixed by #957

Comments

@Onidotmoe
Copy link
Contributor

Will allow mods to change the color of any Ability Icon for any arbitrary reason.

A pull request will come soon

@Onidotmoe
Copy link
Contributor Author

Added pull request #750

Onidotmoe added a commit to Onidotmoe/X2WOTCCommunityHighlander that referenced this issue Jan 31, 2020
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jan 14, 2021
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jan 14, 2021
…ilities

Switched back to EnableMouseAutomaticColor as setting Colors directly would get overriden by default upon mouseover

Changed the structure of X2CommunityCore#400 & X2CommunityCore#749 Completely

Added Highlander Docs

Changed Documentation from inout to in on IsObjective

Make ability icon color override backwards compatible

Since the new event for overriding ability icon colors is fired for
every ability icon, not just objective abilities or abilities with a set
icon color, it may break existing listeners that assume that they are
only receiving abilities that match those criteria.

This change keeps the old event and introduces a new
'OverrideBothAbilityIconColors' event, which ensures maximum
compatibility.

I have also fixed the issue references in the HL-Docs lines: it doesn't
support multiple issue numbers per feature at the moment.
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jan 14, 2021
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jan 14, 2021
Switched back to EnableMouseAutomaticColor as setting Colors directly would get overriden by default upon mouseover

Changed the structure of X2CommunityCore#400 & X2CommunityCore#749 Completely

Added Highlander Docs

Changed Documentation from inout to in on IsObjective

Make ability icon color override backwards compatible

Since the new event for overriding ability icon colors is fired for
every ability icon, not just objective abilities or abilities with a set
icon color, it may break existing listeners that assume that they are
only receiving abilities that match those criteria.

This change keeps the old event and introduces a new
'OverrideBothAbilityIconColors' event, which ensures maximum
compatibility.

I have also fixed the issue references in the HL-Docs lines: it doesn't
support multiple issue numbers per feature at the moment.

Implemented Issue X2CommunityCore#749
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 24, 2021
Switched back to EnableMouseAutomaticColor as setting Colors directly would get overriden by default upon mouseover

Changed the structure of X2CommunityCore#400 & X2CommunityCore#749 Completely

Added Highlander Docs

Changed Documentation from inout to in on IsObjective

Make ability icon color override backwards compatible

Since the new event for overriding ability icon colors is fired for
every ability icon, not just objective abilities or abilities with a set
icon color, it may break existing listeners that assume that they are
only receiving abilities that match those criteria.

This change keeps the old event and introduces a new
'OverrideBothAbilityIconColors' event, which ensures maximum
compatibility.

I have also fixed the issue references in the HL-Docs lines: it doesn't
support multiple issue numbers per feature at the moment.

Implemented Issue X2CommunityCore#749
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 24, 2021
Iridar pushed a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue May 26, 2021
Co-authored-by: Peter Ledbrook <peter@cacoethes.co.uk>
pledbrook pushed a commit that referenced this issue May 28, 2021
The new event `OverrideAbilityIconColorImproved` supersedes the old
`OverrideAbilityIconColor` one and provides mods with the ability to
override both the foreground and background ability icon colors. The
old event will continue to work, but if a listener overrides the
colors using the new event, that will override any listener that uses
the old event.

Resolves #749.
Iridar added a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jul 4, 2021
…Color' (X2CommunityCore#400) and 'OverrideAbilityIconColorImproved' (X2CommunityCore#749) events to prevent a hard hang when using moving melee.
Iridar added a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jul 7, 2021
…lityIconColor' (X2CommunityCore#400) and 'OverrideAbilityIconColorImproved' (X2CommunityCore#749) events to prevent a hard hang when using moving melee."

This reverts commit bcc72b2.
Iridar added a commit to Iridar/X2WOTCCommunityHighlander that referenced this issue Jul 9, 2021
…lityIconColor' (X2CommunityCore#400) and 'OverrideAbilityIconColorImproved' (X2CommunityCore#749) events to prevent a hard hang when using moving melee."

This reverts commit bcc72b2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant