You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
GOSTARIA DOS ICONES DAS TATTOS , TODOS ICONES , COM ESSE LV , ATÉ O LVL 6 POR FAVOR , PARA INTERLUDE , ESSES DO PRINT NAO SAO INTERLUDE E NAO TENHO ! OBRIGADO!
Olá, seu tópico se encontra com um ou mais links offline. Caso ainda possua o conteúdo, favor postar aqui mesmo no tópico ou mandar MP para algum staff que estaremos normalizando o tópico.
Grato pela atenção!
Voce usar a conta de admin q vc tem no server, vai em accounts e define o acess_level la. e vc entra auto.
Eu tenho uma versão desse votesystem q tentei atualizar e com tutorial so acessar o link na minha assinatura em baixo.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Pergunta
matyjo300
package ai.individual;
import com.elfocrash.roboto.ai.MysticMuseAI;
import ai.group_template.l2jserver;
import gracia.instances.HeartInfinityAttack.HeartInfinityAttack;
import l2jliberty.gameserver.Creature;
import l2jliberty.gameserver.ai.CtrlEvent;
import l2jliberty.gameserver.instances.NpcInstance;
import l2jliberty.gameserver.model.quest.Quest;
public class Ekimus extends MysticMuseAI {
private long delayTimer = 0;
public Ekimus(NpcInstance actor) {
super((ai.individual.NpcInstance) actor);
}
@Override
protected boolean randomAnimation() {
return false;
}
@Override
protected boolean randomWalk() {
return false;
}
@Override
protected void onEvtAttacked(Creature attacker, int damage) {
NpcInstance actor = getActor();
for (NpcInstance npc : ((l2jserver) actor.getReflection()).getAllByNpcId(29151, true)) {
((NpcInstance) npc.getAI()).onitemEvent(CtrlEvent.EVT_AGGRESSION, attacker, damage);
}
super.onEvtAttacked(attacker, damage);
}
private NpcInstance getActor() {
// TODO Auto-generated method stub
return null;
}
@Override
protected void thinkAttack() {
if (delayTimer + 5000 < System.currentTimeMillis()) {
delayTimer = System.currentTimeMillis();
if (((l2jserver) getActor().getReflection()).getInstancedZoneId() == 121) {
((HeartInfinityAttack) getActor().getReflection()).notifyEkimusAttack();
}
}
super.thinkAttack();
}
@Override
protected boolean thinkActive() {
if (delayTimer + 5000 < System.currentTimeMillis()) {
delayTimer = System.currentTimeMillis();
if (((l2jserver) getActor().getReflection()).getInstancedZoneId() == 121) {
((HeartInfinityAttack) getActor().getReflection()).notifyEkimusIdle();
}
}
return super.thinkActive();
}
}
en la liñia 33 meda una cruz roja for (NpcInstance npc : ((l2jserver) actor.getReflection()).getAllByNpcId(29151, true)) {
Editado por matyjo300Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts recomendados
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.