L2JMobius

High Five Raid Curse activating without the player attacking a boss fix

JPaulo · 3 · 151

Offline JPaulo

  • Vassal
  • *
    • Posts: 6
Hello everyone,

Problem:
I noticed that the 'Raid Curse' was activating on normal mobs when attacked with a skill by a high-level player. This should only happen on Raid Bosses.

After investigating, I found the issue in Creature.java. The method giveRaidCurse() was returning true for all creatures.

notpad ++ line 6882
"   public boolean giveRaidCurse()
   {
      return true; >>>Before
   }
"
"   public boolean giveRaidCurse()
   {
      return isRaid(); >>> After
   }
"
Thank you!



Offline JPaulo

  • Vassal
  • *
    • Posts: 6
Maybe related with this?
https://l2jmobius.org/forum/index.php?topic=15267.0

Yes, I came across this problem and came to the forum to see if someone had already solved it and found this post that you mentioned. After analyzing the code, the change I suggested solved the problem.