As i was going through some old files i found this code that i made a while ago
its pretty simple and can be improved for sure but i got no interest on it anymore .
The code checks what type of life stone it is Mid High Top etc. and augments the weapon based on the augment rate of your server if its a skill it will disarm weapon and show you the name and type of skill .
for example
player.sendPacket(new CreatureSay(0, SayType.HERO_VOICE, "[" + type + "]", "You got " + name));
sendMessage(player, type + " : You got " + name);
you also have to register it on your net.sf.l2j.gameserver.handler.ItemHandler.java
registerHandler(new FastAugmentation());
and on your items xml file
e.g gameserver/data/xml/items/8700-8799.xml
add this
add this
<set name="handler" val="FastAugmentation" />
It should be like this
<item id="8762" type="EtcItem" name="Top-Grade Life Stone: level 76">
<set name="material" val="LIQUID" />
<set name="weight" val="2" />
<set name="price" val="4800000" />
<set name="handler" val="FastAugmentation" />
<set name="is_stackable" val="true" />
<cond msgId="113">
<player level="76" />
</cond>
</item>
it can be easily adapted for any l2j pack the code above is for aCis 398? if not mistaken
Pastebin
Have fun and enjoy
Author : RKolibri
Credits : RKolibri
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Question
KejbL
Hi,
lf protection from l2neo on Jeremy > TTs quest...
when talk with Jeremy char freezing and must use captcha, and captcha display on random place or in chat :)
Edited by KabLe21Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.