L2JMobius

High Five RAID_DISABLE_CURSE

Morfiuz · 3 · 239

Offline Morfiuz

  • Vassal
  • *
    • Posts: 3
I’m not sure if this is an intended feature or if no one is enabling RAID_DISABLE_CURSE, but at one point, when trying to attack a creature that was 9 or more levels below me, I got petrified. The creature was aggressive, so I had no option but to attack.

While reviewing the code, I came across this:


https://ibb.co/gLqFg9Yw

I’m sharing this more as a note than as a issue. It might be useful.

I made a possible “fix” for myself, but who knows — but who knows, right!  :) ;)


Online emilianoify

  • Knight
  • ***
    • Posts: 51
  • Try it, you only learn by trying and failing.
I has the same issue in interlude, all blue mobs give raid curse.
I applied the same solution and works, blue mob dont give raid curse, but i dont test what happened if u hit any mob close of raid boss.


Offline Morfiuz

  • Vassal
  • *
    • Posts: 3
The `isRaid()` function already validates minions. In fact, it validates Boss, GrandBoss, Raid and Minion! So yes, it will consider the raid's children.  ;)