Hi guys, I have this code for cancel but its made for acis, is there anyone who could help me addapt to frozen?
this is the code for acis.
// Calculate the success chance following previous variables.
if (calcCancelSuccess(effect.getPeriod(), diffLevel, skillPower, skillVuln, minRate, maxRate))
{
+ if (!cancelledBuffs.contains(effect.getSkill()) && !((L2PcInstance)activeChar).isInOlympiadMode())
+ cancelledBuffs.add(effect.getSkill());
+
// Stores the last canceled skill for further use.
lastCanceledSkillId = effect.getSkill().getId();
@@ -105,6 +115,9 @@
effect.exit();
}
+ if (cancelledBuffs.size() > 0)
+ ThreadPoolManager.getInstance().scheduleGeneral(new CustomCancelTaskManager((L2PcInstance)target, cancelledBuffs), 10*1000);
+
// Remove 1 to the stack of buffs to remove.
count--;
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.
Hola, gente bella como estan? Acabo de terminar de compilar el proyecto L2jFrozen Rev: 1132 (viejisimo)
No tengo problemas con que sea muy viejo, ya que el proyecto es para mi y mis hijos. (Lan/Offline) no es para ponerlo en línea. Quiero aprender y darles a mis hijos más comodidades a la hora de jugar. y por mi parte, también experimentar con el juego.
Mi problema es que no se mucho del tema. Pude hacer algunas configuraciones Basicas a mi gusto y el de mis hijos, pero nunca compila ni nada de eso... Estaria necesitando ayuda por parte de ustedes, la comunidad... Quiero simplemente Quitar todas las restricciones de Subclases, Quitar restriccion de "Overlord, Warsmith y subclase de elfos oscuros con elfos blancos y alrevez" desde ya muchas gracias! saludos comunidad
Question
sammysam
Hi guys, I have this code for cancel but its made for acis, is there anyone who could help me addapt to frozen?
this is the code for acis.
this is l2jfrozen Cancel handler:
http://pastebin.com/NsrYx7Nj
-Where should I put that code for l2jfrozen?
Edited by sammysam0 answers to this question
Recommended Posts
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.