Jump to content
  • 0

[Help] I need a bit help with java code


Question

Posted

Hey guys maybe u can help me with this:

 

here is small examle how code looks now:

L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
if(sk == null || (sk.getId() == 271)
{}

 

but i need to make it after sk == null || with

getClassId == 81 and then just (sk.getId() == 271)

 

it just example, i tried many different ways but i cant get anything, and getClassId shown as not correct..

 

L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
if(sk == null 
|| (getClassId == 81)
&& 
(|| (sk.getId() == 271
|| sk.getId() == 271
|| (sk.getId() == 271
|| (sk.getId() == 271)))
{}

 

and if its possible to do something like this, maybe u can help me cus need not only for one class but for few.

 

if i didn't explain well, main idea is that i want to separate few classes with diffrent skills.

 

6 answers to this question

Recommended Posts

  • 0
Posted

		L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
	if (sk == null)
		return;
	if (sk.getId() == 271)
	{}

you must implement the method on the file that u make it.

Guest
This topic is now closed to further replies.


×
×
  • Create New...