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)
//
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
Hello @Hitcher. Could you please clarify the scenario in which this happened?
Was it on GF server?
The drops that were on the ground were from the same character? These fell with autoloot off, then you activated autoloot and tried to pick? Please provide more details so we can replicate it.
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