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

    • This post originally appeared on zupyak.   If you're diving into MLB The Show 25, you know how essential stubs are for building a powerhouse team. Whether you're aiming to snag elite players, upgrade your roster, or stock up on packs, stubs are the key to success. The good news? You don't need to spend real money to earn them. With a little strategy and effort, you can rake in stubs and dominate the diamond.  Here are the top five strategies to maximize your MLB The Show stub earnings and create the ultimate team without breaking the bank.    1. Earning Stubs with Diamond Quest Diamond Quest is a goldmine for stubs. By completing challenges in this mode, you can earn Diamond cards, which often have high sell values. Once you've earned these cards, sell them in the in-game Marketplace for a quick influx of stubs. Additionally, the packs you earn from Diamond Quest can be opened for more cards to sell or use in collections.   2. Completing Conquest Maps Conquest Maps are another excellent way to rack up stubs. Focus on capturing territories and completing map-specific goals. Many maps offer hidden rewards, including packs and stubs, which can significantly boost your earnings. You don't always need to conquer Strongholds—simply taking over territories can yield great rewards.   3. Flipping Cards in the Marketplace The Marketplace is your playground for flipping cards. Look for cards with a significant gap between their "Buy Now" and "Sell Now" prices. Place a Buy Order slightly above the current "Sell Now" price, then list the card for a "Sell Order" just below the "Buy Now" price. After the 10% Marketplace tax, you'll still make a profit. This strategy works best with high-value cards but requires patience and consistency.     4. Leveraging Player Exchanges Player Exchanges are an underrated method for earning stubs. Purchase cheap Silver cards near their quick-sell value, then exchange them for Gold players. These Gold players can either be used in your lineup or sold for a profit. This method is especially effective early in the game when Gold cards hold higher value.   5. Selling Things You Don't Need Don't let unused items clutter your inventory. Regularly check for duplicate cards, equipment, or other items you don't need. Sell these through the Marketplace to free up space and earn extra stubs. Even Bronze and Silver cards can add up over time, so don't overlook them. With these strategies, you'll be well on your way to building a dream team without spending real money. Let me know if you'd like to dive deeper into any of these methods!   Final Thoughts Building your dream team in MLB The Show 25 doesn't have to cost real money. With these five strategies—earning rewards through Diamond Quest, conquering Conquest Maps, flipping cards in the Marketplace, leveraging Player Exchanges, and selling unused items—you'll be well on your way to amassing stubs and creating a roster that rivals even the best in the game. Remember, consistency is key! Whether you're grinding through challenges or flipping cards daily, every little bit adds up over time. Stick with these methods, and soon enough, you'll have the stubs you need to dominate the diamond. Let us know which strategy works best for you—or if you've discovered any additional tips that deserve a spot on this list! Happy grinding!   
    • I don't see that ur account got unbanned https://maxcheaters.com/profile/80641-∽ave∽/  
    • Looking for gracia final/gracia epilogue server files including source.
    • Got banned for ALLEGED scamm. Unbaned because I never scammed anyone - I either deliver or refund. So You can cry as much as You like, post as much idiotic and chidlish emotes as You like, but I'm not a scammer. So...get a life kid, and fuck off Cuntw0lf. There is a reason You have "0" in Your nickname. You are a zero 😎
    • talk in the mirror 🖕  🤏 in some of those urls you are banned for scam     definition of scam for you is not include delivery we all know scammer once scammer always i cant understand why you talk to me only and ignore the others? why nobody else triggers you like that
  • Topics

×
×
  • Create New...