Hello MXC. Im working with new animations an d im lookin for new animation on Stun Effect but im so bad in Code.
maybe you can help me please? Here is default Effect Stun
Here was my ideas how it may works - but GS is getting crash
This one also getting crash
Spoiler
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
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!
Alguém que saiba trabalhar com Engine.dll e Core.dll? Tenho hwid no servidor o código adaptado, mas não tenho parte do cliente, pois meu cliente é c4.. Alguém que faça esse tipo de serviço
Question
Ehoq
Hello MXC. Im working with new animations an d im lookin for new animation on Stun Effect but im so bad in Code.
maybe you can help me please?
Here is default Effect Stun
Here was my ideas how it may works - but GS is getting crash
This one also getting crash
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package l2.gameserver.skills.effects;
import l2.commons.util.Rnd;
import l2.gameserver.model.Effect;
import l2.gameserver.stats.Env;
public final class EffectStun extends Effect {
public EffectStun(Env var1, EffectTemplate var2) {
super(var1, var2);
}
public boolean checkCondition() {
return Rnd.chance(this._template.chance(100));
}
public void onStart() {
super.onStart();
this._effected.startStunning();
this._effected.abortAttack(true, true);
this._effected.abortCast(true, true);
this._effected.stopMove();
}
public void onExit() {
super.onExit();
this._effected.stopStunning();
}
public boolean onActionTime() {
return false;
}
}
maybe im fully wrong with it. dunno.... as i said im not good in code -.-
8 answers to this question
Recommended Posts