L2-scripts Форум

L2-scripts Форум (http://l2-scripts.ru/forum/index.php)
-   Archive Lindvior, Ertheia, Odyssey, Undergeround, Helios, Grand Crusade (http://l2-scripts.ru/forum/forumdisplay.php?f=103)
-   -   _10323_GoingIntoARealWar (http://l2-scripts.ru/forum/showthread.php?t=2942)

Balthis 05.04.2013 06:04

_10323_GoingIntoARealWar
 
http://forum.l2-scripts.ru/showthread.php?t=2883

Still not working.

I added a System.out.println(target.getName()) inside canAttackCharacter and only crawler and character names are shown. That means that crawlers are not detecting the guards.

Balthis 05.04.2013 06:56

FIX:

I change this attributes for npc with id 19141.

<set name="aggroRange" value="0" /> FOR <set name="aggroRange" value="300" />

<set name="ai_type" value="quests.UnderGroundNpcFighter" /> FOR <set name="ai_type" value="Defender" />

<set name="type" value="Npc" /> FOR <set name="type" value="Defender" />

Now everything works as expected =)

iqman 05.04.2013 21:57

Tnx, closed.


Часовой пояс GMT +4, время: 11:45.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd. Перевод: zCarot