Jump to content
  • 0

[Help] Dance Slots


Question

Posted

Well... Because i can't explain that great what i want to do, im going to show you a picture to make it easier ->

 

shot00326.png

 

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 ^^) ->

 

shot00338.png

 

Thanks for reading it and wasting your time to help me :P !

3 answers to this question

Recommended Posts

  • 0
Posted

Just an idea, maybe try to look how normals buffs are done, ane make the same for dances?

 

Well, the problem is that as you can see on the part i gave from CharEffectList.java, everything is explained except normal buffs, i have tried remove from everywhere the fact that a dance is dance, and make it listed as normal buff, but failed QQ.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...