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

sub_6FCFEDD0 #139

Closed
silvermane-HU opened this issue Jan 26, 2024 · 0 comments
Closed

sub_6FCFEDD0 #139

silvermane-HU opened this issue Jan 26, 2024 · 0 comments

Comments

@silvermane-HU
Copy link

int32_t __fastcall sub_6FCFEDD0(D2GameStrc* pGame, D2UnitStrc* pUnit, D2UnitStrc* pTarget, int32_t nTimeout, int32_t nSkillId, int32_t nSkillLevel)
{
   ...
    const int32_t nRange = SKILLS_GetProgressiveSkillMissileId(pUnit, nSkillId);
    if (nRange <= 0)
    {
        return 1;
    }

    D2MissileStrc missileParams = {};
    missileParams.nMissile = nRange;
    missileParams.nRange = nTimeout;```

Naming for nRange seems out of place
@Lectem Lectem closed this as completed in d0e62df Jan 27, 2024
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

No branches or pull requests

1 participant