Кричащие мобы
3 ответов36 просмотровСейчас просматривают: 1
· 17.02.2009, 14:37
Мобы в МОСе кричат какую то хрень, типо хранители кристалов.
Скажите плиз как отключик кричание мобов
0
· 17.02.2009, 15:14
scripts/ai/group_template/Monastery.java
Убираем эти строки:
Код
if (npc.getNpcId() == 22129 && _isAttacked == false && Rnd.get(100) < 50)
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "Brother " + attacker.getName() + ", move your weapon away!!"));
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "Brother " + attacker.getName() + ", move your weapon away!!"));
Код
if (npc.getNpcId() == 22129)
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "Brother " + target.getName() + ", move your weapon away!!"));
else
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "You cannot carry a weapon without authorization!"));
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "Brother " + target.getName() + ", move your weapon away!!"));
else
npc.broadcastPacket(new NpcSay(npc.getObjectId(), 0, npc.getNpcId(), "You cannot carry a weapon without authorization!"));
— Head JAVA La2base Coder
0
Войдите или зарегистрируйтесь чтобы ответить


