Jump to content
  • 0

Question

Posted

Hello, I have custom instance NPC and when I cast fear it running, how to block fear on npc? I can't modify stats, because this is flag, which need to be killed by players. Sources - L2j Acis.

7 answers to this question

Recommended Posts

  • 0
Posted

Find the EffectFear and set it to return false on your custom instance..

if(getEffected() instanceof L2YourCustomNpcInstance)
{
    return false;
}
  • 0
Posted (edited)

Make it non attackable directly through instance. There is no point to make it invulnerable only for fear effect like Tessa suggested :D

Edited by SweeTs
  • 0
Posted

Make it non attackable directly through instance. There is no point to make it invulnerable only for fear effect like Tessa suggested :D

I suggested this because he wants it to be attackable :lol:

  • 0
Posted (edited)

Ohh, now I see, since his english is kinda broken.. :D

 

Another way would be to add a huge resistance for the fear type skills for that npc :)

Edited by SweeTs
  • 0
Posted

 

Find the EffectFear and set it to return false on your custom instance..

if(getEffected() instanceof L2YourCustomNpcInstance)
{
    return false;
}

Thanks, this is good solution, thanks for all answers :) Sorry for my English :D

Guest
This topic is now closed to further replies.
×
×
  • Create New...