L2JMobius

Free Users => Shares/Contributions => Topic started by: Cinis on April 16, 2024, 11:50:29 AM

Title: Fix overlapping abnormalType for all melody buffs
Post by: Cinis on April 16, 2024, 11:50:29 AM
Hey,

Bug: Some melody buffs (Drum Melody, Drum Frenzy, Guitar Melody, etc.) had incorrect abnormalType enum defined, which caused:
1. Mentor buffs didn't work correctly (only 5 out of 6 melodies applied)
2. ISS buffs didn't work correctly (only 5 out of 6 melodies applied).

Correct mapping of buffs to model enum should be:

Quote
BUFF_SPECIAL_DEFENCE - Drum
BUFF_SPECIAL_ATTACK - Horn
BUFF_SPECIAL_CONDITION - Pipe
BUFF_SPECIAL_CRITICAL - Guitar
BUFF_SPECIAL_HITAVOID - Harp
BUFF_SPECIAL_MOVE - Lute

https://pastebin.com/LAeLiin1