Jump to content
  • 0

[Help] Heal/Cancel Skill


rullezz

Question

Hi guys!

How i can make skill to heal CP,MP,HP and added it to buffer like this:

<button action="bypass -h npc_%objectId%_Buff 1204" ...........>

 

And one anather skill for Cancel all buffs what i have....? again like this:

<button action="bypass -h npc_%objectId%_Buff 1204" ...........>

 

I have seen it in most of l2 servers but i don't know how to remake skill to Heal my (CP,HP,MP)

 

thx.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0

script buffer i mean skills work from skills folder not from python buffer

This buffer you can see in l2jserver pack in Mods folder with name "NpcBuffer"

it core buffer? :/ i ask bcuz i don't understand what you mean with script and core :)

 

look:

<html><title>Buffer</title>

<body>

<center>

<img src="L2UI_CH3.herotower_deco" width=256 height=32><br><br>

Please tell me the buff you would like.<br><br>

<a action="bypass -h npc_%objectId%_Buff 530">Dance of Alignment</a><br>

<a action="bypass -h npc_%objectId%_Buff 307">Dance of Aqua Guard</a><br>

<a action="bypass -h npc_%objectId%_Buff 276">Dance of Concentration</a><br>

<a action="bypass -h npc_%objectId%_Buff 309">Dance of Earth Guard</a><br>

<a action="bypass -h npc_%objectId%_Buff 274">Dance of Fire</a><br>

<a action="bypass -h npc_%objectId%_Buff 275">Dance of Fury</a><br>

<a action="bypass -h npc_%objectId%_Buff 272">Dance of Inspiration</a><br>

<a action="bypass -h npc_%objectId%_Buff 277">Dance of Light</a><br>

<a action="bypass -h npc_%objectId%_Buff 311">Dance of Protection</a><br>

<a action="bypass -h npc_%objectId%_Buff 366">Dance of Shadows</a><br>

<a action="bypass -h npc_%objectId%_Buff 273">Dance of the Mystic</a><br>

<a action="bypass -h npc_%objectId%_Buff 310">Dance of the Vampire</a><br>

<a action="bypass -h npc_%objectId%_Buff 271">Dance of the Warrior</a><br><br>

<button action="bypass -h npc_%objectId%_Chat 0" value="Back" width=200 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br><br>

<img src="L2UI_CH3.herotower_deco" width=256 height=32><br>

</center>

</body>

</html>

 

 

I just need to remake or make one skill to heal my cp,hp,mp like a wind walk give me speed.

A and cancel skill.

Link to comment
Share on other sites

  • 0

Easy use the gm command bypasses.

 

<td><button value="Heal" action="bypass -h admin_heal" width=65 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

 

For cancel since there are no such admin handler there are 2 choices or you write one your self or you can use 1 of the existing skills just modify magic level and set power to 100 and there you go.

Link to comment
Share on other sites

  • 0

or just make 3 skills that will fully heal hp,cp,mp

add them to .py

and link them from htm page.

 

It will be good to add reuse on those skills, so players won't exploit the Heal option.

Link to comment
Share on other sites

  • 0

I thought he's using python.

Than use this, but add protection in FloodProtector.java

put this in L2PcInstance.java

public void bufferHealHPMP()
    {
        if (!FloodProtector.getInstance().tryPerformAction(getObjectId(), FloodProtector.PROTECTED_BUFFER_HEAL) && !isGM())
		return;

	getStatus().setCurrentHpMp(getMaxHp(), getMaxMp());
    }
public void bufferHealCP()
    {
	if (!FloodProtector.getInstance().tryPerformAction(getObjectId(), FloodProtector.PROTECTED_BUFFER_HEAL) && !isGM())
		return;

	getStatus().setCurrentCp(getMaxCp());
    }

Link to comment
Share on other sites

  • 0

down I think you complicate the things for him.

 

rullez search this forum and find a good py buffer. If not wait for archid premium I am planning to share AIO inside Archid already to make it easier for server owners.

Link to comment
Share on other sites

  • 0

You cant make 1 skill to recover cp,hp,mp cause every skill can only use 1 skill type. You can create 3 different skills if you want.

ok. thnx you :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • I can use this folder system for High Five offline server?   The folder does not have a l2.exe file.   Thank you very much if anyone can help me.   https://drive.google.com/file/d/13kU-g_4JJ-sP-kg2F7pqkUOVKmQdubFm/view
    • I know, but...every time I have problem with IP address setup 😞
    • ENGLISH As you know, we have always profiled in the development of Java emulators, we continue to do our favorite thing, and now we have the opportunity to provide you with services in the field of private development of L2 assemblies Essence, Classic and High Five, which we have been doing in recent years, we have not been working on basic builds for a long time and work only on contracts for the world's best projects. These are the best builds we can offer, we have test servers and we can show them to you on the test, and if you are very good at gameplay, you will see a big difference in the quality and detail of the official content compared to the basic builds. These are the best top solutions in the world, which are currently used to implement the largest projects in the world. We guarantee 100% implementation of all official content. If you have any questions about testing, discussions, etc., please contact our studio and we will discuss everything. At the moment, you can get acquainted with the preliminary information and prices for Private L2 contracts here: Private Server packs L2 Essence 464, 447, 388, 362, 286 protocols Private server packs L2Classic Private server pack High Five РУССКИЙ --------------------------------------------- Как вы знаете мы всегда профилировались на разработке в сфере Java эмуляторов, мы продолжаем заниматься своим любимым делом, и сейчас у нас появилась возможность предоставлять вам услуги в сфере приватных разработок L2 сборок Essence, Classic и High Five, которыми мы занимаемся последние годы, мы уже давно не работаем над базовыми сборками и работаем только на контрактах для лучших мировых проектов. Это лучшие сборки, которые мы можем предложить, у нас есть тестовые сервера, и мы можем показать их вам на тесте, и если вы очень хорошо разбираетесь в игровом процессе, вы увидите большую разницу в качестве и детализации официального контента по сравнению с базовыми сборками. Это лучшие топовые решения в мире, которые на данный момент используются для реализации крупнейших проектов в мире. Мы даем гарантии - 100% реализации всего официального контента. По вопросам тестирования, обсуждений и тд - пишите по контактам нашей студии и мы все обсудим. На данный момент вы можете ознакомиться с предварительной информацией и ценами на Приватные контракты L2 тут: Приватные Сборки L2 Essence 464, 447, 388, 362, 286 protocols Приватные Сборки L2Classic Приватная Сборка High Five -------------------------------------------------------------- Contacts: Telegram: https://t.me/L2scripts Whatsapp, Viber: +1 (916) 226 1910 С уважением, Администрация !
    • I can sell it. If you are interested just pm.
    • Its really not that hard to setup a server on a vps.
  • Topics

×
×
  • Create New...