Jump to content

Question

Posted (edited)

hello i have used one custom set jewel at my server and i have one problem
how i can make to don't stack 2 jewels for example i have the boss jewels antharas and Antharas Tremor and when I use that 2 jewels i took stats from both ...
how i make it to dont take stats from one jewel or when i used one jewel to dont allow to wear it ?

 

ASWYrER.png

Edited by cyta5

3 answers to this question

Recommended Posts

  • 0
Posted

Find skill that Antharas Earring is giving to apply stats. Make second level of that skill with stats of Antharas Tremor, to Antharas Tremor item put that skill id with level 2 instead of your custom skill. You will also need to put that skill into skillgrp and skillname in client. If player will be wearing two jewels, only antharas Tremor will give stats.

 

Being unable to wear Antharas Tremor while having Antharas Earring would be a lot more complicated thing to do.

  • 0
Posted (edited)
1 hour ago, vampir said:

Find skill that Antharas Earring is giving to apply stats. Make second level of that skill with stats of Antharas Tremor, to Antharas Tremor item put that skill id with level 2 instead of your custom skill. You will also need to put that skill into skillgrp and skillname in client. If player will be wearing two jewels, only antharas Tremor will give stats.

 

Being unable to wear Antharas Tremor while having Antharas Earring would be a lot more complicated thing to do.

 

and ? that skill check if the skill id its unique "<set name="singleEffect" val="true"/>"

    <skill id="3558" levels="1" name="Earring of Antharas">
        <set name="target" val="TARGET_SELF"/>
        <set name="skillType" val="BUFF"/>
        <set name="operateType" val="OP_PASSIVE"/>
        <set name="singleEffect" val="true"/>
        <for>
            <mul order="0x30" stat="bleedVuln" val="0.2"/>
            <mul order="0x30" stat="gainHp" val="1.1"/>
            <add order="0x40" stat="absorbDam" val="4"/>
            <mul order="0x30" stat="stunVuln" val="0.4"/>
            <mul order="0x30" stat="derangementVuln" val="0.4"/>
            <mul order="0x30" stat="MagicalMpConsumeRate" val="0.95"/>
            <mul order="0x30" stat="PhysicalMpConsumeRate" val="0.95"/>
            <mul order="0x30" stat="earthVuln" val="0.85"/>
        </for>
    </skill>

 

Edited by cyta5

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
Answer this question...

×   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.



×
×
  • Create New...