In order to balance, I would like to change my cancel formula to have the SPS/Sorcerer cancellation skill (ID 1056) lands for 100% chance, always.
At this moment my cancellation skill from magos is failling too much -> cancel 0 buff
100% land rate and keeping the 5 max negated buffs is my goal.
Editing the power, or the magicLvl in the skill.xml do not influence the land rate. (or not enough?) (Tested unsuccesfully with magicLvl 85 and Power 100)
I have searched, and i'm a bit confuse between the 2 java files "cancel.java" and "disablers.java"
I guess it's somewhere around the NEGATE case in disablers.java.
Have to put a static variable like "landrate = 100".
Actually i'm worried cause i dont want to change other cancel buff like Touch of Death or crusher. (physical ones)
I can put here the full disablers.java if needed.
Thx for helping me.
EDIT:
Ive found how to do it :
In fact the cancel system is rly complex. There is loop browsing all your buff and applying the formula. It permits to give you the random buff cancel, not only the last one.
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.
Question
somamax
Hello,
I am using a l2j Freya version.
In order to balance, I would like to change my cancel formula to have the SPS/Sorcerer cancellation skill (ID 1056) lands for 100% chance, always.
At this moment my cancellation skill from magos is failling too much -> cancel 0 buff
100% land rate and keeping the 5 max negated buffs is my goal.
Editing the power, or the magicLvl in the skill.xml do not influence the land rate. (or not enough?) (Tested unsuccesfully with magicLvl 85 and Power 100)
I have searched, and i'm a bit confuse between the 2 java files "cancel.java" and "disablers.java"
I guess it's somewhere around the NEGATE case in disablers.java.
Have to put a static variable like "landrate = 100".
Not sure at all..
Actually i'm worried cause i dont want to change other cancel buff like Touch of Death or crusher. (physical ones)
I can put here the full disablers.java if needed.
Thx for helping me.
EDIT:
Ive found how to do it :
In fact the cancel system is rly complex. There is loop browsing all your buff and applying the formula. It permits to give you the random buff cancel, not only the last one.
It's in handler Cancel.java
So i have added :
Line 92 :
Line 262 :
Also in the skill.xml i have change the magicLvl to '99'. This way, the skill land 100% always.
In result, my cancel now remove always the maxnegated, and in random position.
0 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.