Skip to content

Fixed bDoubleRate should stack additively with Double Attack#3384

Draft
MrKeiKun wants to merge 1 commit intoHerculesWS:masterfrom
MrKeiKun:fix-1660-doublerate-stack
Draft

Fixed bDoubleRate should stack additively with Double Attack#3384
MrKeiKun wants to merge 1 commit intoHerculesWS:masterfrom
MrKeiKun:fix-1660-doublerate-stack

Conversation

@MrKeiKun
Copy link
Contributor

@MrKeiKun MrKeiKun commented Sep 1, 2025

Pull Request Prelude

Changes Proposed

Issues addressed: #1660

…r level.

Signed-off-by: Lorenzo Buitizon <the.keikun@gmail.com>
|| (sc != NULL && sc->data[SC_KAGEMUSYA] != NULL && sd->weapontype1 != W_FIST) // Need confirmation
) {
// Success chance is not added, the higher one is used [Skotlex]
if (rnd() % 100 < (5 * skill_lv > sd->bonus.double_rate ? 5 * skill_lv : sc != NULL && sc->data[SC_KAGEMUSYA] != NULL ? sc->data[SC_KAGEMUSYA]->val1 * 3 : sd->bonus.double_rate))
Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't this already have a higher chance (the one based on skill level) when sd->bonus.double_rate is lower which it usually is for Sidewinder Card?

hitpercbonus += skill_lv;
}
// Success chance is not added, the higher one is used [Skotlex]
if (rnd() % 100 < min(100, 5 * skill_lv + sd->bonus.double_rate + (sc != NULL && sc->data[SC_KAGEMUSYA] != NULL ? sc->data[SC_KAGEMUSYA]->val1 * 3 : 0)))
Copy link
Contributor

Choose a reason for hiding this comment

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

This would mean that one has a higher chance to cause Double Attack with Sidewinder Card equipped o-o

@MrKeiKun MrKeiKun marked this pull request as draft September 13, 2025 20:53
@MrKeiKun
Copy link
Contributor Author

i'll move this to WIP, i haven't dug out the official mechanics for this.

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.

2 participants