Skip to content

What I Want

Featured Replies

Does anyone have shared this kind of code:

 

i want an item to give augment passive skills that i going to give a random passive to your class when you click it.

 

thanks!

explain it a bit more. I dont get it. 

 

You will have augmented weapon and it will give you a skill based on class? or what?

explain it a bit more. I dont get it. 

 

You will have augmented weapon and it will give you a skill based on class? or what?

Translate: He wants a custom clickable item, which when you click it it will give a random augment passive skill regarding his current class.

ah ok :) it shouldnt be much hard to make that one, is it? :)

it should be similar to forgotten scrolls but he just have to write those skills and classID restrictions :)

By class he mean character. No class restriction .. Just a random passive augment when you use an item :P

  • Author

What i want is a custom clickable item that when your press it , it gives you a random augment skill on your class (no class restriction)

 

i think it's easy to make

 

i want it for l2jfrozen 

just an itemhandler and you are done...

 

player.addSkill(....

Take the noblesse item from l2jfrozen(core side) edit&add some things and u'r ready.

  • Author

but how i'm going to make it random?

 

so it picks one random and add's it to the class?

but how i'm going to make it random?

 

so it picks one random and add's it to the class?

 

 

lets say for example that the augment skills ids are between 2100 and 2299

 

you will

 

int skillId = 2100+Rnd.get(199);

Edited by xdem

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.