How to edit stats_custom_mod

Deazer

Разработчик
Команда форума
#1
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:

Код:
<?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:

Код:
<?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:
Код:
<?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>
 
Последнее редактирование:
Вверх