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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock