topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 80 forks source link

[release] Mob tp skills that cause sleep incorrectly cause sleep before damage instead of after #2663

Closed SirGouki closed 3 years ago

SirGouki commented 3 years ago

Additional Information (Steps to reproduce/Expected behavior) : Not sure how many of these are effected but I'm working on it. To easily reproduce, fight a mob with one of these skills (like an ochu), after locking them into only being able to use that skill (ochu = Sweet Breath). When the sleep finally sticks, the damage caused by the skill will immediately wake up the targets that were hit. It's simply a problem of functions being called in the wrong order. I opened this for tracking purposes.

SirGouki commented 3 years ago

Fixed Sweet Breath. Working on looking through all the affected skills.

ShiyoKozuki commented 3 years ago

https://ffxiclopedia.fandom.com/wiki/Kartstrahl

SirGouki commented 3 years ago

Not sure what you're getting at with that link.

SirGouki commented 3 years ago

testing kartstrahl, pinecone bomb, and cyclone wing.

ShiyoKozuki commented 3 years ago

It's supposed to damage then sleep, it currently is bugged like sweet breath. I'm sure pinebomb bomb and cyclone wing are the same.

TeoTwawki commented 3 years ago

2664

Note this won't work for older servers using the old core. Your only choice is to get updated. There IS NO script only fix for you if you are on the old core. Period.

SirGouki commented 3 years ago

All testing is done, all 4 mentioned mob abilities are now functioning the way they should be locally. Teo submitted PR for this already, so we're just waiting on the merge.

SirGouki commented 3 years ago

PR #2664 solves this, I'm closing this issue.