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)
//
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
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