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:
Чтобы редактировать любые игровые классы, не изменяя их навыки или базовые характеристики, мы добавляем сервис stats_custom_mod.
Путь: gameserver/data/stats_custom_mod.xml

В качестве примера для класса Храмовника Шилен:

Code:
<?xml version='1.0'coding='utf-8'?>
<!Список DOCTYPE СИСТЕМА "stats_custom_mod.dtd">
<list Enabled="false"> <!--Включение пользовательской настройки статистики -->
    <!-- Пример настройки класса Храмовник Шилен-->
    <player classId="106"> <!-- Храмовник Шилен -->
    <!--
    Идентификатор класса 106 (Храмовник Шилен) при атаке класса с идентификатором 108 (Охотник за привидениями) получает бонусы 10% от mAtk и +20 Patk.
    -->
        <targetPlayer classId="108">
            <mul stat="mAtk" val="1.1"/>
            <add stat="pAtk" val="20"/>
        </targetPlayer>

        <!-- при надевании Кирасы Темного Кристалла Храмовник Шилен получает дополнительный бонус 10% к mDef и +20 pDef-->
        <equipedWith itemId="365"> <!-- Кираса Кристалла Тьмы -->
            <mul stat="mDef" val="1.2"/>
            <add stat="pDef" val="30"/>
        </equipedWith>
    
        <!-- бонус для Храмовника Шилен получает сразу и без каких-либо условий, все вышеперечисленные бонусы также добавляются к текущему-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
    </игрок>
</list>

Вы также можете добавить неограниченное количество классов и вариаций.
В качестве примера для Храмовника Шилен и Охотника за привидениями:

Code:
<?xml version='1.0'coding='utf-8'?>
<!Список DOCTYPE СИСТЕМА "stats_custom_mod.dtd">
<list Enabled="false"> <!--Включение пользовательской настройки статистики -->

    <player classId="106"> <!-- Храмовник Шилен -->
        <!-- бонус для Храмовника Шилен получает сразу и без каких-либо условий, все вышеперечисленные бонусы также добавляются к текущему-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
    </игрок>

    <player classId="108"> <!-- Охотник за привидениями -->
        <!-- бонус для Охотника за привидениями получается сразу и без каких-либо условий, все вышеперечисленные бонусы также добавляются к текущему-->
        <mul stat="mDef" val="1.3"/>
        <add stat="mAtkSpd" val="30"/>
        <add stat="pDef" val="30"/>
        <add stat="mAtk" val="30"/>
    </игрок>
</list>

Если нужно уменьшить статистику.
Например, Дуэлянт:
Code:
<?xml version='1.0'coding='utf-8'?>
<!Список DOCTYPE СИСТЕМА "stats_custom_mod.dtd">
<list Enabled="false"> <!--Включение пользовательской настройки статистики -->

    <player classId="106"> <!-- Дуэлянт -->
        <!-- снижение статистики для Дуэлянта происходит сразу и без каких-либо условий-->
        <mul stat="mDef" val="0.8"/> <!-- уменьшите 20% mDef -->
        <sub stat="mAtkSpd" val="30"/> <!-- уменьшите mAtkSpd на 30 -->
    </игрок>
</list>

я так понимаю взаимодействие класса может быть с любым предметом в инвентаре (надетым и лежащим)?
 
я так понимаю взаимодействие класса может быть с любым предметом в инвентаре (надетым и лежащим)?
equipedWith - надетым
 
for ? we have this equipedWith
Yes, but if you want to reduce, let's say, the atk speed of a class, when using dagger you need to enter all dagger ids... it's much easier to use <using kind="xx"/> .
<equippedWith itemId="xx"> It is really useful when used on a single item, set item, tattoo or custom item.
 
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 -->
        <sub stat="mAtkSpd" val="30"/> <!-- reduce 30 of mAtkSpd -->
    </player>
</list>
The <sub stat="xx" val="xx"/> . It's not working, any status I set shows an error that "sub" must be declared
 
The <sub stat="xx" val="xx"/> . It's not working, any status I set shows an error that "sub" must be declared
yes .. and it's not fixed yet ... I tried to nerf the Tyrants with the mod but .. error

more bugs. It can't give stats like simple hp to few classes for example class 88 duelist.
<player classId="88" olyMode="non_oly_only">
<equipedWith itemId="26145">
<add stat="maxHp" val="5024"/>
</equipedWith>
</player>
it dont give nothing.

but this works
<player classId="107" olyMode="non_oly_only">
<equipedWith itemId="26160">
<add stat="maxHp" val="2524"/>
</equipedWith>
</player>
 
Last edited:
yes .. and it's not fixed yet ... I tried to nerf the Tyrants with the mod but .. error

more bugs. It can't give stats like simple hp to few classes for example class 88 duelist.
<player classId="88" olyMode="non_oly_only">
<equipedWith itemId="26145">
<add stat="maxHp" val="5024"/>
</equipedWith>
</player>
it dont give nothing.

but this works
<player classId="107" olyMode="non_oly_only">
<equipedWith itemId="26160">
<add stat="maxHp" val="2524"/>
</equipedWith>
</player>

No any bugs.... Check your logs, maybe its just not load at all or you didn't replace stats_custom_mod.dtd

 
Are you see at stats_custom_mod.dtd sub option ?

Bored Come On GIF




if you need - you write <add stat="maxHp" val="-2524"/> -2524
if you need lower percent <mul stat="maxHp" val="0.8"/> - 20%
 
Are you see at stats_custom_mod.dtd sub option ?

Bored Come On GIF




if you need - you write <add stat="maxHp" val="-2524"/> -2524
if you need lower percent <mul stat="maxHp" val="0.8"/> - 20%
Sorry ... I just followed the tutorial. I guess all good. Thanks for the additional information.
 
Is it possible to use multiple IDs in equipedWith ? I tried with " , . ; / - " and dont work If anyone knows please...
 
Back
Top