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?

  • 0
Posted

So what a hell pack are you using that it doesn't work ? oO

 

If you do like the l2jserver it's supposed to work.

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

    • buenas no puedo poner el server On para que entren mis amigos   LoginServer # ================================================= # Settings authorization server # ================================================= # Host and port for client connections LoginserverHostname = 127.0.0.1 LoginserverPort = 2106 # Host and port for game servers LoginHost = 192.168.100.25 ( mi Ip interna) LoginPort = 9014     GameServer   # =============================== # Network Configuration Server  # # =============================== # IP which Bind Game server, * - all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 186.158.144.71 ( Ip externa ovbio) # This is transmitted to the client from the same network, so it has to be a local IP or resolvable host name InternalHostname = 192.168.100.25 # AdvIpSystem Make more GameServerIDs. Every Ip should be Protected by a DDoS Guard. # Your Server will have Success with this system Online. AdvIPSystem = False # Address \ port LS LoginPort = 9014 LoginHost = 192.168.100.25 LoginUseCrypt = true # How to request ID of LS RequestServerID = 4 # Permission to take a different id, if requested busy AcceptAlternateID = False     en que estaria fallando ?    
    • mporeis na valeis l2jaCis i kapoio etimo project  free sources gia aCis edw https://acis.i-live.eu/index.php?topic=1974.0 server install ktl edw https://acis.i-live.eu/index.php?topic=10190.0 an dn vgaleis akrh steile mou discord margazeas2
    • Hello! I am new to l2 server creation and i need your help please!!! I want to make my own l2 interlude c6 server with custom thing in it.  I need help with where to start. What source pack to pick to start and what to do. Please if you can help me i would appreciate it very much !!!
    • Need Discord with rare badge? VISIT US AND SHOP WITH US! NEW STOCK   Aged, Early Supporter Discord Accounts I sell HQ Aged and Early, Discord Accounts that are inactive and not flagged by discord at cheap prices   If you want to contact me, you can add me on discord: worldcoldwar Features: Format - age : email : pass : token Not flagged and undetected by discord HQ % With OGE Emails, password etc can be changed Unverified Early Supporter 24M Boost Badge HypeSquad Events Early Verified Bot Developer Early Supporters SHOP LINK: disvault1.mypaylix.gg/ For PayPal payments, please open a ticket. If you experience any problems with cryptocurrency payments, please open a ticket as well.
  • 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..