Jump to content

Recommended Posts

Posted (edited)

l2jacis.

This is an example of how to combine two or more buffs into one using only xml.

So lets say we want to combine shield and magic barrier , two defensive skills into one.

 

Shield xml:



    

<skill id="1040" levels="3" name="Shield" enchantLevels1="30" enchantLevels2="30" >
        <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
        <table name="#ench2MpConsume"> 30 29 29 28 28 27 27 26 26 25 25 24 24 23 23 22 22 21 21 20 20 19 19 18 18 17 17 16 16 15 </table>
        <table name="#ench2mpInitialConsume"> 7 7 7 7 7 7 7 6 6 6 6 6 6 6 6 5 5 5 5 5 5 5 4 4 4 4 4 4 4 4 </table>
        <table name="#ench1time"> 1240 1280 1320 1360 1400 1440 1480 1520 1560 1600 1640 1680 1720 1760 1800 1840 1880 1920 1960 2000 2040 2080 2120 2160 2200 2240 2280 2320 2360 2400 </table>
        <table name="#mpInitialConsume"> 2 5 8 </table>
        <table name="#mpConsume"> 8 18 31 </table>
        <table name="#rate"> 1.08 1.12 1.15 </table>
        <table name="#stackOrder"> 1 2 3 </table>
        <table name="#aggro"> 121 243 418 </table>
        <set name="mpInitialConsume" val="#mpInitialConsume"/>
        <set name="mpConsume" val="#mpConsume"/>
        <set name="target" val="ONE"/>
        <set name="reuseDelay" val="6000"/>
        <set name="hitTime" val="4000"/>
        <set name="skillType" val="BUFF"/>
        <set name="isMagic" val="true"/>
        <set name="operateType" val="ACTIVE"/>
        <set name="castRange" val="400"/>
        <set name="effectRange" val="900"/>
        <set name="aggroPoints" val="#aggro"/>
        <enchant1 name="magicLvl" val="#enchantMagicLvl"/>
        <enchant2 name="magicLvl" val="#enchantMagicLvl"/>        
        <enchant2 name="mpConsume" val="#ench2MpConsume"/>
        <enchant2 name="mpInitialConsume" val="#ench2mpInitialConsume"/>
        <for>
            <effect name="Buff" time="1200" val="0" stackOrder="#stackOrder" stackType="pd_up">
                <mul stat="pDef" val="#rate"/>
            </effect>
        </for>
        <enchant1for>
            <effect name="Buff" time="#ench1time" val="0" stackOrder="3" stackType="pd_up">
                <mul stat="pDef" val="1.15"/>
            </effect>
        </enchant1for>
    </skill>





Magic Barrier xml:


    <skill id="1036" levels="2" name="Magic Barrier" enchantLevels1="30" enchantLevels2="30" >
        <table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
        <table name="#ench2MpConsume"> 37 36 36 35 34 34 33 32 32 31 31 30 29 29 28 27 27 26 25 25 24 24 23 22 22 21 20 20 19 19 </table>
        <table name="#ench2mpInitialConsume"> 9 9 9 9 9 9 8 8 8 8 8 8 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5 5 5 </table>
        <table name="#ench1time"> 1240 1280 1320 1360 1400 1440 1480 1520 1560 1600 1640 1680 1720 1760 1800 1840 1880 1920 1960 2000 2040 2080 2120 2160 2200 2240 2280 2320 2360 2400 </table>
        <table name="#mpInitialConsume"> 8 10 </table>
        <table name="#mpConsume"> 31 38 </table>
        <table name="#mDef"> 1.23 1.3 </table>
        <table name="#stackOrder"> 2 3 </table>
        <table name="#aggro"> 418 495 </table>
        <set name="mpInitialConsume" val="#mpInitialConsume"/>
        <set name="mpConsume" val="#mpConsume"/>
        <set name="target" val="ONE"/>
        <set name="reuseDelay" val="6000"/>
        <set name="hitTime" val="4000"/>
        <set name="skillType" val="BUFF"/>
        <set name="isMagic" val="true"/>
        <set name="operateType" val="ACTIVE"/>
        <set name="castRange" val="400"/>
        <set name="effectRange" val="900"/>
        <set name="aggroPoints" val="#aggro"/>
        <enchant1 name="magicLvl" val="#enchantMagicLvl"/>
        <enchant2 name="magicLvl" val="#enchantMagicLvl"/>        
        <enchant2 name="mpConsume" val="#ench2MpConsume"/>
        <enchant2 name="mpInitialConsume" val="#ench2mpInitialConsume"/>
        <for>
            <effect name="Buff" time="1200" val="0" stackOrder="#stackOrder" stackType="md_up">
                <mul stat="mDef" val="#mDef"/>
            </effect>
        </for>
        <enchant1for>
            <effect name="Buff" time="#ench1time" val="0" stackOrder="3" stackType="md_up">
                <mul stat="mDef" val="1.3"/>
            </effect>
        </enchant1for>
    </skill>



New combined skill xml:

    We remove the extra tables if our new buff has only 1 level .Either way you should add tables like a normal buff.
    We take the orange lines from each xml and combine as shown and add the  noicon="1" to every other buff we combine.



<skill id="CombinedID" levels="1" name="CombinedName" >
        <set name="mpInitialConsume" val="15"/>
        <set name="mpConsume" val="45"/>
        <set name="target" val="ONE"/>
        <set name="reuseDelay" val="6000"/>
        <set name="hitTime" val="4000"/>
        <set name="skillType" val="BUFF"/>
        <set name="isMagic" val="true"/>
        <set name="operateType" val="ACTIVE"/>
        <set name="castRange" val="400"/>
        <set name="effectRange" val="900"/>
        <set name="aggroPoints" val="495"/>
        <for>
            <effect name="Buff" time="1200" val="0" stackOrder="10" stackType="pd_up">
                <mul stat="pDef" val="1.2"/>
            </effect>
            <effect name="Buff" time="1200" noicon="1" val="0" stackOrder="10" stackType="md_up">
                <mul stat="mDef" val="1.35"/>
            </effect>
        </for>
    </skill>

 

Notice:

1)noicon="1" is to remove the icon of the effect so you wont be getting multiple icons of the same buff.

2)stackOrder must always be higher than the original skill , number doesn't matter just need to be higher.

3)stackType must always be the same as the original buffs to replace it.

 

Hopefully I didn't forget anything and works, good luck.

 

Disclaimer, haven't tested,  I don't have any pack to test it at the moment but as I recall it works but I'm making this topic for someone that wants to combine buffs and can't find a correct answer on the forum.Last time I checked my old topic on how to do noone gave a correct answer even my so called developer at the time.

If anything doesn't work I will try and fix it.

 

 

Edited by Vision
  • Upvote 1
  • 1 month later...
Posted

Thanks for the input and the suggestion to make buffs that combine.

 

This idea works, if the buffs are combined and the stats are also respected.

 

The only "bad" thing about it is that it doesn't release the buff slot, that is, the new combined buff consumes 2 slots.

 

I will keep trying to do it in java, even if I don't know how to do it.

 

Thanks for the input and the idea.

  • 2 weeks later...
Posted

can you help me to make these 2 together
thanks
 

	<skill id="302" levels="9" name="Spoil Festival" enchantGroup1="2" enchantGroup2="2" enchantGroup3="2">
		<!-- Confirmed CT2.5 -->
		<!-- NOTE: Ignore description for Enchant 3 in client due is incorrect -->
		<table name="#magicLvl"> 28 36 43 49 55 62 66 70 74 </table>
		<table name="#mpConsume"> 73 93 113 131 150 172 183 194 204 </table>
		<table name="#ench1Power"> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 </table>
		<table name="#ench2Power"> 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 </table>
		<table name="#ench3EarthPower"> 6 8 9 11 12 14 15 17 18 20 21 23 24 26 27 23 30 32 33 35 36 38 39 41 42 44 45 47 48 50 </table>
		<table name="#enchMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 83 83 83 84 84 84 85 85 85 </table>
		<set name="affectLimit" val="9-10" />
		<set name="affectRange" val="200" />
		<set name="castRange" val="40" />
		<set name="effectRange" val="400" />
		<set name="hitTime" val="1800" />
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpConsume" val="#mpConsume" />
		<set name="nextActionAttack" val="true" />
		<set name="offensive" val="true" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="3000" />
		<set name="targetType" val="AREA" />
		<enchant1 name="element" val="3" /> <!-- Earth -->
		<enchant1 name="elementPower" val="20" />
		<enchant1 name="isDebuff" val="true" />
		<enchant1 name="lvlBonusRate" val="1" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<enchant1 name="offensive" val="true" />
		<enchant1 name="saveVs" val="MEN" />
		<enchant1 name="skillType" val="DUMMY" />
		<enchant2 name="element" val="3" /> <!-- Earth -->
		<enchant2 name="elementPower" val="20" />
		<enchant2 name="isDebuff" val="true" />
		<enchant2 name="lvlBonusRate" val="1" />
		<enchant2 name="magicLvl" val="#enchMagicLvl" />
		<enchant2 name="offensive" val="true" />
		<enchant2 name="saveVs" val="MEN" />
		<enchant2 name="skillType" val="DUMMY" />
		<enchant3 name="element" val="3" /> <!-- Earth -->
		<enchant3 name="elementPower" val="20" />
		<enchant3 name="isDebuff" val="true" />
		<enchant3 name="lvlBonusRate" val="1" />
		<enchant3 name="magicLvl" val="#enchMagicLvl" />
		<enchant3 name="offensive" val="true" />
		<enchant3 name="saveVs" val="MEN" />
		<enchant3 name="skillType" val="DUMMY" />
		<for>
			<effect name="Spoil" noicon="1" />
		</for>
		<enchant1for>
			<effect name="Debuff" abnormalTime="30" effectPower="#ench1Power" abnormalLvl="3" abnormalType="attack_time_up">
				<mul stat="pAtkSpd" val="0.77" />
			</effect>
			<effect name="Spoil" noicon="1" />
		</enchant1for>
		<enchant2for>
			<!-- 118HP * 3 During 15 Sec -->
			<effect count="5" name="DamOverTime" abnormalTime="3" val="354" effectPower="#ench2Power" abnormalLvl="3" abnormalType="dot_attr" />
			<effect name="Spoil" noicon="1" />
		</enchant2for>
		<enchant3for>
			<effect name="Debuff" abnormalTime="15" effectPower="80" abnormalLvl="1" abnormalType="holy_attack">
				<sub stat="earthPower" val="#ench3EarthPower" />
			</effect>
			<effect name="Spoil" noicon="1" />
		</enchant3for>
	</skill>




	<skill id="444" levels="1" name="Sweeper Festival">
		<!-- High Five Skill -->
		<set name="affectLimit" val="9-10" />
		<set name="affectRange" val="200" />
		<set name="hitTime" val="500" />
		<set name="magicLvl" val="78" />
		<set name="mpConsume" val="12" />
		<set name="offensive" val="true" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="3000" />
		<set name="targetType" val="AURA_CORPSE_MOB" />
		<for>
			<effect name="Sweeper" noicon="1" />
			<effect name="ConsumeBody" noicon="1" />
		</for>
	</skill>

 

Posted
On 1/22/2023 at 11:28 AM, Lullo said:

can you help me to make these 2 together
thanks
 

	<skill id="302" levels="9" name="Spoil Festival" enchantGroup1="2" enchantGroup2="2" enchantGroup3="2">
		<!-- Confirmed CT2.5 -->
		<!-- NOTE: Ignore description for Enchant 3 in client due is incorrect -->
		<table name="#magicLvl"> 28 36 43 49 55 62 66 70 74 </table>
		<table name="#mpConsume"> 73 93 113 131 150 172 183 194 204 </table>
		<table name="#ench1Power"> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 </table>
		<table name="#ench2Power"> 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 </table>
		<table name="#ench3EarthPower"> 6 8 9 11 12 14 15 17 18 20 21 23 24 26 27 23 30 32 33 35 36 38 39 41 42 44 45 47 48 50 </table>
		<table name="#enchMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 83 83 83 84 84 84 85 85 85 </table>
		<set name="affectLimit" val="9-10" />
		<set name="affectRange" val="200" />
		<set name="castRange" val="40" />
		<set name="effectRange" val="400" />
		<set name="hitTime" val="1800" />
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpConsume" val="#mpConsume" />
		<set name="nextActionAttack" val="true" />
		<set name="offensive" val="true" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="3000" />
		<set name="targetType" val="AREA" />
		<enchant1 name="element" val="3" /> <!-- Earth -->
		<enchant1 name="elementPower" val="20" />
		<enchant1 name="isDebuff" val="true" />
		<enchant1 name="lvlBonusRate" val="1" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<enchant1 name="offensive" val="true" />
		<enchant1 name="saveVs" val="MEN" />
		<enchant1 name="skillType" val="DUMMY" />
		<enchant2 name="element" val="3" /> <!-- Earth -->
		<enchant2 name="elementPower" val="20" />
		<enchant2 name="isDebuff" val="true" />
		<enchant2 name="lvlBonusRate" val="1" />
		<enchant2 name="magicLvl" val="#enchMagicLvl" />
		<enchant2 name="offensive" val="true" />
		<enchant2 name="saveVs" val="MEN" />
		<enchant2 name="skillType" val="DUMMY" />
		<enchant3 name="element" val="3" /> <!-- Earth -->
		<enchant3 name="elementPower" val="20" />
		<enchant3 name="isDebuff" val="true" />
		<enchant3 name="lvlBonusRate" val="1" />
		<enchant3 name="magicLvl" val="#enchMagicLvl" />
		<enchant3 name="offensive" val="true" />
		<enchant3 name="saveVs" val="MEN" />
		<enchant3 name="skillType" val="DUMMY" />
		<for>
			<effect name="Spoil" noicon="1" />
		</for>
		<enchant1for>
			<effect name="Debuff" abnormalTime="30" effectPower="#ench1Power" abnormalLvl="3" abnormalType="attack_time_up">
				<mul stat="pAtkSpd" val="0.77" />
			</effect>
			<effect name="Spoil" noicon="1" />
		</enchant1for>
		<enchant2for>
			<!-- 118HP * 3 During 15 Sec -->
			<effect count="5" name="DamOverTime" abnormalTime="3" val="354" effectPower="#ench2Power" abnormalLvl="3" abnormalType="dot_attr" />
			<effect name="Spoil" noicon="1" />
		</enchant2for>
		<enchant3for>
			<effect name="Debuff" abnormalTime="15" effectPower="80" abnormalLvl="1" abnormalType="holy_attack">
				<sub stat="earthPower" val="#ench3EarthPower" />
			</effect>
			<effect name="Spoil" noicon="1" />
		</enchant3for>
	</skill>




	<skill id="444" levels="1" name="Sweeper Festival">
		<!-- High Five Skill -->
		<set name="affectLimit" val="9-10" />
		<set name="affectRange" val="200" />
		<set name="hitTime" val="500" />
		<set name="magicLvl" val="78" />
		<set name="mpConsume" val="12" />
		<set name="offensive" val="true" />
		<set name="operateType" val="A1" />
		<set name="reuseDelay" val="3000" />
		<set name="targetType" val="AURA_CORPSE_MOB" />
		<for>
			<effect name="Sweeper" noicon="1" />
			<effect name="ConsumeBody" noicon="1" />
		</for>
	</skill>

 

some help here please

Posted
3 hours ago, Lullo said:

some help here please

 

Impossible to combine them just in xml, they have different target and skill types. But yeah, you can make it to work like you want, make a new skilltype or modify existing one.

Posted
4 hours ago, xJustMe said:

 

Impossible to combine them just in xml, they have different target and skill types. But yeah, you can make it to work like you want, make a new skilltype or modify existing one.

oke but how to make this 2 work auto spoil sweep if you kill a mob

Posted

You can make it work but the problem remains on the buff slot, you will also require to do the java part for fix the buff slot issues. But if you make it just for fun and visuals for a server with unlimited buff slots, it will be just fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Posts

    • Yeah inside router i had to enable udnp services 
    • Hello cheaters, As a team of avid developers and enthusiasts of Lineage 2, we are excited to present the L2 Control Hub, a groundbreaking plugin designed by myself and my collaborator, StinkyMadness. This innovative tool equips server administrators with powerful automation capabilities directly within the game's community board. L2 Control Hub simplifies the creation and management of automations, enabling you to customize your server operations without the need to modify the source code.   Key Features of L2 Control Hub: Robust Automation Triggers: Select from a plethora of triggers currently available, with continuous additions in the works to enhance your control options. Dynamic Conditions and Actions: Tailor your server operations with an extensive range of conditions and actions, ensuring flexible and precise control over game events and player interactions. Customizable Variables: Easily integrate server-specific variables from your database to further personalize and streamline your automations. Utilize these variables across various automation scenarios to cater to your specific server requirements. JavaScript Integration: Execute custom JavaScript codes that interact seamlessly with Java classes, bringing advanced functionalities to your server's ecosystem.   Explore L2 Control Hub in Action: We've prepared a series of video tutorials to demonstrate the capabilities of L2 Control Hub: Control Hub - Create a Simple Flow with 1 Condition and 1 Action: Get started with basic automations. Control Hub - Multiple Conditions with Multiple Actions: Explore more complex automations for detailed server management. Control Hub - Using Variables: Discover how to implement and use custom variables for tailored automations. Control Hub - Using JavaScript: Experience the power of custom scripts in enhancing your server functionality.   L2 Control Hub is currently about 70% complete, and we are actively developing and refining features. We invite you to join our ➡️ Discord community ⬅️ to engage with the development process, provide feedback, and be the first to test new features. Additionally, any updates or changes to the plugin are seamlessly delivered to all customers directly from our web server, ensuring your system is always up-to-date without the need for manual downloads.   Your game, your rules, automated. Join us in redefining server management in Lineage 2 and elevate your gaming community with unmatched automation capabilities. For more details, contact us directly to get started with L2 Control Hub.   Currently, the plugin is developed using aCis sources. We will continue with these sources until we finalize all the necessary details before proceeding to integrate with the more prominent sources available.       The L2 Control Hub is designed to extend beyond mere functional additions to your server. We are in the process of implementing a suite of advanced mechanisms, such as a vote manager capable of interfacing with any Lineage 2 voting site without requiring configuration, live statistics to provide admins with real-time insights, and an event engine that can generate any desired event within seconds. All these features will be seamlessly integrated into the module, enhancing your server management experience significantly.     Please note that L2 Control Hub will be a premium tool, reflecting the extensive features and benefits it offers. While we are finalizing the pricing structure, rest assured that we aim to deliver great value for your investment. We will announce the cost details soon on our platforms to ensure everyone is well-informed and can plan accordingly. Join us to take your server management to the next level with L2 Control Hub.     
    • The link soucer and system are off, reup please, thanks very much @HypeH
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt  
    • Hola, Busco proveedores de adena en Reborn signature. Trabajo serio, Web de ventas Seria. Adena-Shop. Discord: susi007317   Hello, I am looking for adena suppliers in Reborn signature. Serious work, Serious sales Web. Adena-Shop. Discord: susi007317
  • Topics

×
×
  • Create New...