Skip to content

Conversation

Sovietianqi
Copy link

I had to submit this pull request again because the previous two were accidentally closed due to my mistakes. As the Chinese saying goes, 'Third time’s the charm' (or literally 'Things should not be attempted more than three times'). I hope I won’t make the same silly mistake again this time.

@Sovietianqi Sovietianqi changed the title Fix the issue where Ares' "Flash.Duration" cannot override the weapon's repair flash effect. [Minor] Fix the issue where Ares' "Flash.Duration" cannot override the weapon's repair flash effect. Aug 16, 2025
@github-actions github-actions bot added the Minor Documentation is not required label Aug 16, 2025
@@ -214,6 +215,7 @@ class WarheadTypeExt

public:
ExtData(WarheadTypeClass* OwnerObject) : Extension<WarheadTypeClass>(OwnerObject)
, Flash_Duration { 0 }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

, Flash_Duration {}

int nFlashDuration = 7;
if (auto pWH = pArgs->WH)
{
if (auto pWHEXT = WarheadTypeExt::ExtMap.Find(pWH))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Documentation is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants