Community Board get buffs

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
typec
Posts: 12
Joined: Tue Apr 07, 2015 1:43 am

Community Board get buffs

Post by typec »

Hello,
i'm trying get some buffs from community board but i have no idea how to set the actual buff on my character

Code: Select all

			int skillMaxLvl = SkillData.getInstance().getMaxLevel(1040);
				skill.getSkill(1040, skillMaxLvl); 
I'm stuck here and always getting exception errors
Any suggestions?
typec
Posts: 12
Joined: Tue Apr 07, 2015 1:43 am

Re: Community Board get buffs

Post by typec »

Lock it.

Code: Select all

	Skill thatBuff = SkillData.getInstance().getSkill(1040, 3);
		thatBuff.applyEffects(activeChar, activeChar);
		activeChar.sendMessage("WOW you finaly got a buff");
Post Reply