How to edit stats_custom_mod

To edit any game classes without modifying their skills or basic stat we are add stats_custom_mod service.
Path: gameserver/data/stats_custom_mod.xml

As an example for Shillien Templar class:

Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE list SYSTEM "stats_custom_mod.dtd">
<list enabled="false"> <!--Turning on the custom stat setting -->
    <!-- Setup example Shillien Templar class-->
    <player classId="106"> <!-- Shillien Templar -->
    <!--
    Class id 106(Shillien Templar) when attacking class id 108(Ghost Hunter) gets bonuses 10% of mAtk and +20 Patk
    -->
        <targetPlayer classId="108">
            <mul stat="mAtk" val="1.1"/>
            <add stat="pAtk" val="20"/>
        </targetPlayer>

        <!-- when equipped Dark Crystal Breastplate, Shillien Templar gets extra bonus 10% of mDef and +20 pDef-->
        <equipedWith itemId="365"> <!-- Dark Crystal Breastplate -->
            <mul stat="mDef" val="1.2"/>
            <add stat="pDef" val="30"/>
        </equipedWith>
    
        <!-- a bonus for Shillien Templar gets immediately and without any conditions, all the above bonuses are also added to the current-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
    </player>
</list>

You can also add an unlimited number of classes and variations.
As an example for Shillien Templar and Ghost Hunter:

Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE list SYSTEM "stats_custom_mod.dtd">
<list enabled="false"> <!--Turning on the custom stat setting -->

    <player classId="106"> <!-- Shillien Templar -->
        <!-- a bonus for Shillien Templar gets immediately and without any conditions, all the above bonuses are also added to the current-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
    </player>

    <player classId="108"> <!-- Ghost Hunter -->
        <!-- a bonus for Ghost Hunter gets immediately and without any conditions, all the above bonuses are also added to the current-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
        <add stat="pDef" val="30"/>
        <add stat="mAtk" val="30"/>
    </player>
</list>

If need reduce stats.
For exmaple Duelist:
Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE list SYSTEM "stats_custom_mod.dtd">
<list enabled="false"> <!--Turning on the custom stat setting -->

    <player classId="106"> <!-- Duelist -->
        <!-- a reduce stats for Duelist gets immediately and without any conditions-->
        <mul stat="mDef" val="0.8"/> <!-- reduce 20% of mDef -->
        <add stat="mAtkSpd" val="-30"/> <!-- reduce 30 of mAtkSpd -->
    </player>
</list>
 
Last edited:
тогда вот
в справке по скилам mCritDamage не увидел (возможно его там даже нет, также нет и хрустального шара чтоб видеть чего нет). Где есть полный список с описанием, или есть локальный файлик в закромах, хотелось бы изучить, поделитесь
 
в справке по скилам mCritDamage не увидел (возможно его там даже нет, также нет и хрустального шара чтоб видеть чего нет). Где есть полный список с описанием, или есть локальный файлик в закромах, хотелось бы изучить, поделитесь
 
а есть для моего обычного IT ?) тут больше параметров ?
 
hey what i do wrong ?
<player classId="117" olyMode="any"><!--Fortune Seeker-->
<mul stat="cAtk" val="1.15">
<using kind="Blunt, Big Blunt"/>
</mul>
</player>

the console are complaining...
 
hey what i do wrong ?
<player classId="117" olyMode="any"><!--Fortune Seeker-->
<mul stat="cAtk" val="1.15">
<using kind="Blunt, Big Blunt"/>
</mul>
</player>

the console are complaining...
1747125942109.webp
that is correct
XML:
<player classId="117" olyMode="any"><!--Fortune Seeker-->
    <mul stat="cAtk" val="1.15"/>
</player>
 
ok its good, but if i will give this <mul stat="cAtk" val="1.15"> only for blunts, i will need to set one by one per ID?
Unfortunately, there is no separation by types.
You can add this modifier directly to the dwarf's passive skill, without modifying this file with weapon or armor conditions.
 
Back
Top