Hello everyone!
I have a problem with editing mobs. I took some Mobs from here without sound and added them,
they looked good !!! BUT BUT !
When I hit him it does generate the effect, but when he hits it it doesn't.
Is this effect controlled from Npcgrp.dat?
PD_ I add capture of the event / effect I mention.
I await your answers, thank you!
Question
aonniemnoi
btw i want to change this msg announce for all player to color msg. something like RED color
like type a SHOUT...
Thank you for some 1 can help me
// announce pvp/pk
if (Config.ANNOUNCE_PK_PVP && !pk.isGM())
{
String msg = "";
if (getPvpFlag() == 0)
{
msg = Config.ANNOUNCE_PK_MSG.replace("$killer", pk.getName()).replace("$target", getName());
if (Config.ANNOUNCE_PK_PVP_NORMAL_MESSAGE)
{
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1);
sm.addString(msg);
Announcements.getInstance().announceToAll(sm);
}
else
{
Announcements.getInstance().announceToAll(msg);
}
}
else if (getPvpFlag() != 0)
{
msg = Config.ANNOUNCE_PVP_MSG.replace("$killer", pk.getName()).replace("$target", getName());
if (Config.ANNOUNCE_PK_PVP_NORMAL_MESSAGE)
{
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1);
sm.addString(msg);
Announcements.getInstance().announceToAll(sm);
}
else
{
Announcements.getInstance().announceToAll(msg);
}
}
}
}
12 answers to this question
Recommended Posts