Иконка ресурса

L2J aCis Double click augmentation 2026-10-07

Нет прав для скачивания
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
Автор
RKolibri96
Скачиваний
1
Просмотры
20
Первый выпуск
Обновление

Рейтинги

0,00 звёзд 0 оценок
Данный сайт использует cookie. Вы должны принять их для продолжения использования. Узнать больше…