Jump to content
  • 0

[Weapon] Multiskill


Question

Posted (edited)

Hello ppl

 

I dont know if is possible set multi skill in a weapon.

 

Example:

 

Homunkulus's Sword - Acumen + Haste[Active Skill]

 

In the database (weapons) I can set only 1 skill.

 

Server C5.

 

Srry for my english,

Thanks

Edited by maganius

Recommended Posts

  • 0
Posted

ok dude easy there is tho ways

 

First one:

 

Steep 1: add this line to your weapon .xml 

<set name="item_skill" val="3599-1" /> <!-- Where Val="3599-1" its your Skill-SkillLvl -->

Steep 2: Create an new skill like this at stats/skill/ folder

<skill id="3599" levels="1" name="Special hability Acumen/Haste">
		<set name="magicLvl" val="70" /> 
		<set name="icon" val="icon.skill1085" />
		<set name="operateType" val="P" />
		<set name="targetType" val="SELF" />
		<for>
			<effect name="Buff">
				<mul order="0x30" stat="mAtkSpd" val="1.15" /><!-- Acumen effect-->
                                <mul order="0x30" stat="pAtkSpd" val="1.08" /><!-- Haste effect-->
			</effect>
		</for>
	</skill>

Second and easyer one:

 

Find Your Weapon .xml and add this in their bonnuses 

<for>
     <mul order="0x30" stat="mAtkSpd" val="1.15" /><!-- Acumen effect-->
     <mul order="0x30" stat="pAtkSpd" val="1.08" /><!-- Haste effect-->
</for>

let me know if works for u

  • 0
Posted (edited)

Hi Rsx

 

I can increase mAtkSpd and pAtkSpd but I cant set 2 skill active in a weapon.

 

I configure this weapon but dont work:

 

Weapon XML

<item id='8689' name="Blood Sword Akamanah">
  <for>
    <set val='122' order='0x08' stat='pAtk'/>
    <set val='68' order='0x08' stat='mAtk'/>
    <set val='8' order='0x08' stat='rCrit'/>
    <add val='0' order='0x10' stat='accCombat'/>
    <set val='379' order='0x08' stat='pAtkSpd'/>
    <enchant val='0' order='0x0C' stat='pAtk'/>
    <enchant val='0' order='0x0C' stat='mAtk'/>
    <!-- SA: Back Blow -->
    <add order='0x40' stat='rCrit' val='67'>
      <and>
        <player behind='True'/>
      </and>
    </add>
  </for>
</item>

Skill XML

<skill id="7065" levels="1" name="Special hability Acumen/Haste">
		  <set name="save" val="4"/>
		  <set name="power" val="5.0"/>
		  <set name="target" val="TARGET_ONE"/>
		  <set name="skillType" val="BLEED"/>
		  <set name="operateType" val="OP_ACTIVE"/>
		  <set name="castRange" val="-1"/>
		  <for>
			<effect count="7" name="DamOverTime" time="3" val="66"/>
		  </for>
</skill>

In mysql weapon set in:

item_skill_id = 7065
item_skill_level = 1

Image when use the weapon in active skills

 

skill_zpsdd19eb0c.jpg

Edited by maganius
  • 0
Posted (edited)

skill type bleed?

Effect damOverTime?

 

do you want an weapon skill ability not an debuff skill... check it again.

 

And you have to add data to your client to see ur skill icon, skillgrp and stuff

 

and just add 1 skill wich have all ur effects, First way i said

Edited by Rsx - HellaFlush
  • 0
Posted

He told you and gave ready example on how to make it work as you wish and still, you failed .. It's sad :P

 

The example dont work, for these reason I modify the script and try set the skill..

 

Do not mock those who do not know, no one was born knowing I can also have other skills in which you do not.

 

Talking and explaining people understand.

 

There are always people who know more but do not think for this reason that we all need to know the same thing.

 

Remember:

Talking and explaining people understand.
  • 0
Posted (edited)

skill type bleed?

Effect damOverTime?

 

do you want an weapon skill ability not an debuff skill... check it again.

 

And you have to add data to your client to see ur skill icon, skillgrp and stuff

 

and just add 1 skill wich have all ur effects, First way i said

 

I try ur script but it only add mAtkSpd and pAtkSpd, I need add 2 active skill Haste and Acumen active skill.

 

I'll keep trying with ur script.

 

PD: skill Special hability Acumen/Haste dont show in active/pasive skill

Edited by maganius
  • 0
Posted (edited)

so you want acumen, and haste skill when u eqquip ur weapon? thats it?

 

I want acumen and haste skill active <- click icon skill for use, when equip the weapon appear in windows skill actives.

Edited by maganius
  • 0
Posted

 

Just add this line to your weapon's xml

<set name="item_skill" val="1085-3;1086-2" />

 

The weapon disappears and give error in console:

Item item_id=8689 not know, object_id=268478961

Weapon XML

<item id='8689' name="Blood Sword Akamanah">
  <for>
    <set val='361' order='0x08' stat='pAtk'/>
    <set val='137' order='0x08' stat='mAtk'/>
    <set val='8' order='0x08' stat='rCrit'/>
    <add val='0' order='0x10' stat='accCombat'/>    
    <enchant val='0' order='0x0C' stat='pAtk'/>
    <enchant val='0' order='0x0C' stat='mAtk'/>
    <set name="item_skill" val="1085-3;1086-2" />
  </for>
</item>
  • 0
Posted

Do not add it under <for> clause.. Example

 

 

    <item id="9140" type="Weapon" name="Salvation Bow">
        <set name="default_action" val="equip" />
        <set name="weapon_type" val="BOW" />
        <set name="bodypart" val="lrhand" />
        <set name="random_damage" val="1" />
        <set name="attack_range" val="500" />
        <set name="damage_range" val="0;0;10;0" />
        <set name="material" val="WOOD" />
        <set name="weight" val="900" />
        <set name="soulshots" val="1" />
        <set name="spiritshots" val="1" />
        <set name="mp_consume" val="1" />
        <set name="reuse_delay" val="1500" />
        <set name="item_skill" val="1085-3;1086-2" />
        <for>
            <set order="0x08" stat="pAtk" val="1" />
            <set order="0x08" stat="mAtk" val="1" />
            <set order="0x08" stat="rCrit" val="12" />
            <sub order="0x10" stat="accCombat" val="3" />
            <set order="0x08" stat="pAtkSpd" val="293" />
        </for>
    </item>
  • 0
Posted

Do not add it under <for> clause.. Example

 

 

    <item id="9140" type="Weapon" name="Salvation Bow">
        <set name="default_action" val="equip" />
        <set name="weapon_type" val="BOW" />
        <set name="bodypart" val="lrhand" />
        <set name="random_damage" val="1" />
        <set name="attack_range" val="500" />
        <set name="damage_range" val="0;0;10;0" />
        <set name="material" val="WOOD" />
        <set name="weight" val="900" />
        <set name="soulshots" val="1" />
        <set name="spiritshots" val="1" />
        <set name="mp_consume" val="1" />
        <set name="reuse_delay" val="1500" />
        <set name="item_skill" val="1085-3;1086-2" />
        <for>
            <set order="0x08" stat="pAtk" val="1" />
            <set order="0x08" stat="mAtk" val="1" />
            <set order="0x08" stat="rCrit" val="12" />
            <sub order="0x10" stat="accCombat" val="3" />
            <set order="0x08" stat="pAtkSpd" val="293" />
        </for>
    </item>

I set after clause for and work but only appear the first skill declared :/

 

I try following this changes:

 

http://trac.l2jfree.com/l2jserver/changeset/2047

 

but when compile and start server game appear severals error mybe not is for my rev¿?

 

I will keep looking for ways

 

In l2weapons.java have this code:

 

 

int sId = set.getInteger("item_skill_id");
int sLv = set.getInteger("item_skill_lvl");
  if (sId > 0 && sLv > 0)
         _itemSkill = SkillTable.getInstance().getInfo(sId, sLv);

mybe is only for one skill?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • https://l2goldcustom.online/
    • do u have the full source code for it  coz the one i have does not have code to read ukx files
    • 🎨 Design & edit without limits: Canva Pro & CapCut Pro subscriptions restocked and active with instant automated delivery!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • VAELOR Lineage II Interlude · L2OFF · x12   OPEN BETA 9 October 2026 · 17:00 UTC   GRAND OPENING 23 October 2026 · 17:00 UTC   Website: https://l2vaelor.com/ Discord: https://discord.gg/qMgPxH2fd4   ━━━━━━━━━━━━━━━━━━━━━━   WHAT VAELOR AIMS TO BE   Vaelor is an international L2OFF Interlude x12 server built to preserve the original Interlude experience. Combat, classes, crafting, sieges, Olympiad and progression remain close to retail. The changes are limited to the pace and convenience features that make sense on an x12 server.   RATES   EXP and SP: x12 Party EXP and SP: x13.2 Adena: x10 Drop: x5 Spoil: x9 Quest EXP and SP: x3 Quest Adena: x3 Raid Boss Drop: x3   SERVER INFORMATION   Server location: France Main language: English Level cap: 80 Safe enchant: +3, or +4 for full body armor Maximum enchant: +16 Enchant through +15: 70% physical weapons, 40% magic weapons, 66% armor Final step to +16: 35% physical weapons, 20% magic weapons, 66% armor Buff slots: 20 First and second class changes: free Third class change: original quest Game windows: 3   GAMEPLAY   No auto-farm or custom equipment. Level-scaled buffer with presets, custom schemes and support for both players and pets. The available buffs are gradually reduced as the character levels, helping early progression without replacing support classes later in the game. The Global Gatekeeper only connects towns and villages. Travel is free below level 40, then uses level-based Adena fees, with half-price travel between 18:00 and 06:00 UTC. There are no direct teleports to farming zones. The Alt+B Market is a centralized convenience shop containing only consumables and utility items already sold without limits by regular town merchants. Its prices are deliberately higher, so visiting the original NPC merchants remains the economical choice. It does not sell equipment, crafting materials, enchant scrolls or Life Stones. Drop Search finds either an item or a monster and shows where items drop or can be spoiled, including the server rates and the viewing character's level penalty. Player Shop Search and Offline Shop make it easier to find and trade with actual player-run stores while keeping the economy in players' hands. Offline shops remain active for up to 48 hours. Rankings and live Raid Boss and Grand Boss status are available through Alt+B. Character PIN and Computer Lock provide additional account and character protection. Restored and corrected Interlude content includes the Frozen Labyrinth and Ice Queen quest chain, Primeval Isle and Sailren, Wild Beast Reserve, Rainbow Springs Hall, Pagan Temple, and quests around Pavel Ruins and the Plunderous Plains. Auto learn and auto loot are enabled. Castle sieges every two weeks Olympiad daily from 18:00 to 00:00 UTC   PREMIUM AND STORE   Premium grants +15% EXP and SP, +5% Adena, Drop and Spoil, one additional game window and convenience features. The store is limited to Premium, cosmetic accessories and character services. Equipment, enchants, combat stats and access to content are not sold.   ━━━━━━━━━━━━━━━━━━━━━━   If you know Interlude well, come test the server and tell us honestly what feels wrong.   Create account: https://l2vaelor.com/register Download: https://l2vaelor.com/#download Discord: https://discord.gg/qMgPxH2fd4
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..