|
Você não é registrado, por favor registre-se para ter acesso ao conteúdo completo. Caso seja registrado, efetue login. Esqueceu sua senha? Clique aqui Recomendamos o uso do Mozilla Firefox para uma melhor visualização. |
|
| Início | Postados Hoje | Marcar Fóruns Como Lidos | Álbums | Banidos | SE Team | Medalhas |
|
|||||||
| Registrar | Loteria VIP | Staff SE | Regras do fórum | Comunidade | Arcade | Postados Hoje | Pesquisar | Experience |
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
LinkBack | Ferramentas do Tópico | Modos de Exibição |
|
|
#1 (permalink) | ||
|
Membro - Veterano
![]() Registrado em: Dec 2009
Posts: 1,335
Agradeceu: 490
Agradecido 803 Vezes em 427 Posts
Nome Real: Roberto
|
Queria Tirar Uma Duvida Onde Estao Todos Os
[B]Codigos Abaixo Se eu Alterar Pro ToPlayers Troca em Todos Qui Estao em Baixo Annunciara no Chat Superior ? [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar] Citação:
Citação:
Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
increasePvpKills();
if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL ) // Announces a PvP kill
Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName());
return;
}
else // Target player doesn't have pvp flag set
{
// check about wars
if (targetPlayer.getClan() != null && getClan() != null)
{
if (getClan().isAtWarWith(targetPlayer.getClanId()))
{
if (targetPlayer.getClan().isAtWarWith(getClanId()))
{
// 'Both way war' -> 'PvP Kill'
increasePvpKills();
if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL ) // Announces a PvP kill
Announcements.getInstance().announceToPlayers("Player "+this.getName()+" hunted Player "+target.getName());
else if ( target instanceof L2PcInstance && Config.ANNOUNCE_ALL_KILL ) // Announces a kill
Announcements.getInstance().announceToPlayers("Player "+this.getName()+" killed Player "+target.getName());
return;
}
}
}
// 'No war' or 'One way war' -> 'Normal PK'
if (targetPlayer.getKarma() > 0) // Target player has karma
{
if ( Config.KARMA_AWARD_PK_KILL )
{
increasePvpKills();
if ( target instanceof L2PcInstance && Config.ANNOUNCE_PVP_KILL ) // Announces a PvP kill
Announcements.getInstance().announceToAll("Player "+this.getName()+" hunted Player "+target.getName());
}
}
else if (targetPlayer.getPvpFlag() == 0) // Target player doesn't have karma
{
increasePkKillsAndKarma(targetPlayer.getLevel());
if ( target instanceof L2PcInstance && Config.ANNOUNCE_PK_KILL ) // Announces a Pk kill
Announcements.getInstance().announceToAll("Player "+this.getName()+" has assassinated Player "+target.getName());
}
}
if ( target instanceof L2PcInstance && Config.ANNOUNCE_ALL_KILL ) // Announces a kill
Announcements.getInstance().announceToAll("Player "+this.getName()+" killed Player "+target.getName());
}
|
||
|
|
|
| Links Patrocinados |
|
|