Jump to content

Recommended Posts

Posted (edited)

Hello guys ! I was wondering if someone could help me in a problem. I would like to make a NPC that could summon a monster / raid boss if you have the needed items.

 

As an example, i make a raid that drops Vesper Weapons, and in order to summon it you need to have 10 Adena, talk to the NPC, click the "Summon Raid" , the NPC gets the 10 adena needed and summons the raid boss.

 

Edit : l2j sunrise,  H5 Final Version.

 

Thank you !

Edited by mariusakke
  • 1 month later...
Posted

You have to simply create an npc instance which handles this type of request, by reviewing similar codes you can easily understand what you have to do. Remember your class should extend Npc mother class so you can implement such methods like bypassFeedback

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
Reply to this topic...

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