Jump to content
  • 0

[Help] custom npc give nobblesse skills !


Question

Posted

I want to know how to make a npc that can give each player skill of noblesse?

 

becouse in my interlude pack when go make noblesse don't give me nobblesse skill :(

 

thx a lot

1 answer to this question

Recommended Posts

  • 0
Posted

u have got pack that after u are getting nobless, you arent getting it's blessing? :)

anyway, make new npc, in its html make new button, in it's bypass u should have something like that: npc_%objectId%_NobleSkills

 

Now in instance of the Npc(not sure what u will use, but probably NpcInstance) find onBypassFeedback - or something like that and add there

if(command.equalsIgnoreCase("NobleSkills"))
{
//add all skills, in my pack i would write it like this:
if(isClanLeader() && getClan().getCastle() > 0)
			super.addSkill(SkillTable.getInstance().getInfo(Skill.SKILL_WYVERN_AEGIS, 1));
		super.addSkill(SkillTable.getInstance().getInfo(Skill.SKILL_NOBLESSE_BLESSING, 1));
		super.addSkill(SkillTable.getInstance().getInfo(Skill.SKILL_FORTUNE_OF_NOBLESSE, 1));
		super.addSkill(SkillTable.getInstance().getInfo(Skill.SKILL_HARMONY_OF_NOBLESSE, 1));
		super.addSkill(SkillTable.getInstance().getInfo(Skill.SKILL_SYMPHONY_OF_NOBLESSE, 1));
}

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...