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.
I wrote one post, how is this spamming ? 😂
I am giving you an advice. Anyone who tried to revive L2F failed, so will you.
Nothing can beat the original you goon.
hi, any can help me?
i need how to calculate the coords to add a minimap on enter catacomb for example....
example:
20 255 19 21 30000.00000000 -30000.00000000 a,Town of Gludio\0 756 1932 -19968 117504 1024 1024 0.05000000 a,map_gludio_castle_town\0 0
thanks you
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.