Jump to content
  • 0

On 2Nd Class Change Auto-Equip Custom Reward Item


Question

Posted

Hello i know how to code but i dont know the conditions about l2j (frozen)

 

I Want make somethink like

If activechar 2nd class gladiator then
give reward (itemid:=134)
Equip~~

Else if activechar 2nd class warlord then
etc etc etc...

Any idea about that? i search a litlle bit the forum but the only think who i could find it was custom start up equip items .. maybe i should use this code and change the conditions from the startitems to 2nd class quest items reward ? ... 

Thank you ..

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

You said that you know how to code, so.. So should be smart enough to check at least L2ClassMasterInstance to find the correct method.

 

Find the place, and do as you said, make a check regarding the class.

 

 

player.getClassId().getId()

 

That's what you need.

Edited by SweeTs
  • 0
Posted

If you want it on same level than 2nd class transfer quest item reward (and so it will happen 3 times at 35, 37, 39 similarly to dimensional fragments), there is no other solution than to edit all given quests (211 to 233).

 

If you want it at the same level than taking new class, then SweeTs way is the way to go.

Guest
This topic is now closed to further replies.


×
×
  • Create New...