Skip to content

Conversation

@Alessandro-Barbieri
Copy link
Contributor

@Alessandro-Barbieri Alessandro-Barbieri commented Feb 16, 2025

Fixes #341

@Alessandro-Barbieri
Copy link
Contributor Author

Not tested

@Alessandro-Barbieri Alessandro-Barbieri force-pushed the buffs_scanning branch 2 times, most recently from d3d6ffc to 8c849c1 Compare March 30, 2025 02:06
@Alessandro-Barbieri
Copy link
Contributor Author

which style do you prefer between

for ... do
    if a then
        foo
    elseif b then
        bar
        baz
    elseif c then
        foo
        bar
    end
end
for ... do
    if a or c then
        foo
    end
    if b or c then
        bar
    end
    if b then
        baz
    end
end

and between

for ... do
    if ... then
        ...
    elseif ... then
        ...
    end
    if ECS.IsSod do
        if ... then
            ...
        elseif ... then
            ...
        end
    elseif ECS.IsTbc do
        if ... then
            ...
        elseif ... then
            ...
        end
    end
end
for ... do
    if ... then
        ...
        if ECS.IsSod do
            ...
        elseif ECS.IsTbc do
            ...
        end
    elseif ... then
        ...
        if ECS.IsSod do
            ...
        elseif ECS.IsTbc do
            ...
        end
    end
end

@BreakBB
Copy link
Owner

BreakBB commented Apr 14, 2025

which style do you prefer between

In both cases I'd say the first alternative. Kind of depends on the conditionals though.

BrenoLudgero and others added 21 commits November 24, 2025 05:35
* check for more parry abilities

* split enemy miss chance, dodge, parry, dodge and block calculation
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 10 to 11.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](leafo/gh-actions-lua@v10...v11)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [leafo/gh-actions-luarocks](https://github.com/leafo/gh-actions-luarocks) from 4 to 5.
- [Release notes](https://github.com/leafo/gh-actions-luarocks/releases)
- [Commits](leafo/gh-actions-luarocks@v4...v5)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-luarocks
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@Alessandro-Barbieri
Copy link
Contributor Author

idk why luacheck is complaining

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 this pull request may close these issues.

rework buff scanning

3 participants