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)
//
I'd be happy to recommend, possibly or definitely, without exaggerating, probably the best service for designing logos, launchers, and banners for L2 servers at the moment.
This guy really pours his heart into his work, tapping into his creativity instead of just churning out something robotic.
KEEP UP THE GOOD WORK.
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 -.-
Link to comment
Share on other sites
8 answers to this question
Recommended Posts