Ir para conteúdo
Faça parte da equipe! (2024) ×
Conheça nossa Beta Zone! Novas áreas a caminho! ×

  • Quem está por aqui   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
  • 0

Bot não da KS


pedrmln
 Compartilhar

Pergunta

Meu bot não da ks é pra ele da ks conjurando magia ja modifiquei o misc como vi em um topico meu misc está assim como mostra abaixo.

ajuda aew se possivel.

 

 

 

# If monster hasn't been attacked by other players

if (scalar(keys %{$monster->{missedFromPlayer}}) == 1

&& scalar(keys %{$monster->{dmgFromPlayer}}) == 1

#&& scalar(keys %{$monster->{castOnByPlayer}}) == 1 #change to $allowed

&& $allowed

 

# and it hasn't attacked any other player

&& scalar(keys %{$monster->{missedToPlayer}}) == 1

&& scalar(keys %{$monster->{dmgToPlayer}}) == 1

&& scalar(keys %{$monster->{castOnToPlayer}}) == 1

) {

# The monster might be getting lured by another player.

# So we check whether it's walking towards any other player, but only

# if we haven't already attacked the monster.

if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {

return 1;

} else {

return !objectIsMovingTowardsPlayer($monster);

}

}

 

# The monster didn't attack you.

# Other players attacked it, or it attacked other players.

if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {

# If you have already attacked the monster before, then consider it clean

return 1;

}

# If you haven't attacked the monster yet, it's unclean.

 

return 1;

}

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Este tópico está impedido de receber novos posts.
 Compartilhar

×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.