Meikis Posted December 24, 2014 Posted December 24, 2014 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.
0 Tessa Posted December 24, 2014 Posted December 24, 2014 Find the EffectFear and set it to return false on your custom instance.. if(getEffected() instanceof L2YourCustomNpcInstance) { return false; }
0 xDafuQ Posted December 24, 2014 Posted December 24, 2014 You can add a 100% fear resistance skill on it aswell.
0 SweeTs Posted December 24, 2014 Posted December 24, 2014 (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 December 24, 2014 by SweeTs
0 Tessa Posted December 24, 2014 Posted December 24, 2014 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 SweeTs Posted December 24, 2014 Posted December 24, 2014 (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 December 24, 2014 by SweeTs
0 Meikis Posted December 25, 2014 Author Posted December 25, 2014 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
Question
Meikis
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