Well... Because i can't explain that great what i want to do, im going to show you a picture to make it easier ->
So i want to make the dances in that way, to be sorted 12-12, not all together on 1 lane because its really fucked up as you can see.
"com/l2jserver/gameserver/model/CharEffectList.java". I think that i have to edit something on this file.
Edit:
I think that the following lanes are the lanes that we will have to edit (CharEffectList.java file):
// Icons order: buffs, 7s, toggles, dances
if (newSkill.isDance())
_buffs.addLast(newEffect);
else
{
int pos = 0;
if (newSkill.isToggle())
{
// toggle skill - before all dances
for (L2Effect e : _buffs)
{
if (e == null)
continue;
if (e.getSkill().isDance())
break;
pos++;
}
}
else
{
// normal buff - before toggles and 7s and dances
for (L2Effect e : _buffs)
{
if (e == null)
continue;
if (e.getSkill().isToggle() || e.getSkill().is7Signs() || e.getSkill().isDance())
break;
pos++;
}
}
_buffs.add(pos, newEffect);
}
Here is a try to make it the way i want (But failed ^^) ->
Thanks for reading it and wasting your time to help me :P !
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.
We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX!
Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
Question
pipiou21
Well... Because i can't explain that great what i want to do, im going to show you a picture to make it easier ->
So i want to make the dances in that way, to be sorted 12-12, not all together on 1 lane because its really fucked up as you can see.
"com/l2jserver/gameserver/model/CharEffectList.java". I think that i have to edit something on this file.
Edit:
I think that the following lanes are the lanes that we will have to edit (CharEffectList.java file):
Here is a try to make it the way i want (But failed ^^) ->
Thanks for reading it and wasting your time to help me :P !
3 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.