Location:
gameserver\data\stats\player\pcparams\
Starter classes that you must modify if necessary :
[0] human_fighter.xml - Human Warrior
[10] human_mage.xml - Human Mage
[18] elf_fighter.xml - Elf Warrior
[25] elven_mage.xml - Elf Mage
[31] dark_fighter.xml - Dark Elf Warrior
[38] dark_mage.xml - Dark Elf Warrior
[44] orc_fighter.xml - Orc Warrior
[49] orc_mage.xml - Orc Shaman
[53] dwarven_fighter.xml - Dwarven Warrior
Now consider the parameters for human_fighter:
Starting items, like all other parameters, are divided into male and female characters, each of them can have different parameters. But basically they have a difference only in the height and width of the model.
Starting items:
In this block, you can add any number of starting items and enchant them
Spawn starting coordinates:
<spawn x="-71338" y="258271" z="-3104"/>
Base stats:
SQL table char_templates will be deleted. Don't forget to add new files from the repository after the update.
gameserver\data\stats\player\pcparams\
Starter classes that you must modify if necessary :
[0] human_fighter.xml - Human Warrior
[10] human_mage.xml - Human Mage
[18] elf_fighter.xml - Elf Warrior
[25] elven_mage.xml - Elf Mage
[31] dark_fighter.xml - Dark Elf Warrior
[38] dark_mage.xml - Dark Elf Warrior
[44] orc_fighter.xml - Orc Warrior
[49] orc_mage.xml - Orc Shaman
[53] dwarven_fighter.xml - Dwarven Warrior
Now consider the parameters for human_fighter:
Starting items, like all other parameters, are divided into male and female characters, each of them can have different parameters. But basically they have a difference only in the height and width of the model.
Starting items:
In this block, you can add any number of starting items and enchant them
XML:
<items>
<item id="5588" amount="1"/>
<item id="2369" amount="1" equipped="true" enchant="0"/>
<item id="1147" amount="1" equipped="true" enchant="0"/>
<item id="1146" amount="1" equipped="true" enchant="0"/>
<item id="10" amount="1"/>
</items>
Spawn starting coordinates:
<spawn x="-71338" y="258271" z="-3104"/>
Base stats:
XML:
<stats>
<set name="baseSTR" value="40"/> <!-- Starting STR-->
<set name="baseCON" value="43"/> <!-- Starting CON-->
<set name="baseDEX" value="30"/> <!-- Starting DEX -->
<set name="baseINT" value="21"/> <!-- Starting INT-->
<set name="baseWIT" value="11"/> <!-- Starting WIT -->
<set name="baseMEN" value="25"/> <!-- Starting MEN -->
<set name="baseHpMax" value="0"/> <!-- Taken from GainHp - should be 0 at initialization -->
<set name="baseCpMax" value="0"/> <!-- Taken from GainСp - must be 0 during initialization -->
<set name="baseMpMax" value="0"/> <!-- Taken from GainMp - should be 0 at initialization -->
<set name="baseHpReg" value="0.01"/> <!-- Taken from GainHp - must be 0.01 at initialization -->
<set name="baseCpReg" value="0.01"/> <!-- Taken from GainСp - should be 0.01 during initialization -->
<set name="baseMpReg" value="0.01"/> <!-- Taken from GainMp - must be 0.01 at initialization -->
<set name="basePAtk" value="4"/> <!-- Basic Physical Attack-->
<set name="basePDef" value="72"/> <!-- Basic P. Def. -->
<set name="baseMAtk" value="3"/> <!-- Basic Mage Attack -->
<set name="baseMDef" value="47"/> <!-- Base Mage Defense -->
<set name="basePAtkSpd" value="330"/> <!-- Base physical attack speed -->
<set name="baseMAtkSpd" value="333"/> <!-- Base Mage Attack Speed -->
<set name="baseShldDef" value="0"/> <!-- Shield Defense base stat -->
<set name="baseAtkRange" value="20"/> <!-- Base attack range -->
<set name="baseShldRate" value="0"/> <!-- Base Chance to Defend with a Shield -->
<set name="baseCritRate" value="44"/> <!-- Base Critical Chance -->
<set name="baseRunSpd" value="115"/> <!-- Base movement speed -->
<set name="baseWalkSpd" value="80"/> <!-- Basic walking speed -->
<set name="baseExp" value="0"/> <!-- What category does the profession belong to: 0 starting profession, 1 - first, 2 - second, 3 third -->
<set name="collision_radius" value="9.0"/> <!-- Model Width -->
<set name="collision_height" value="23.0"/> <!-- Model Height -->
</stats>
SQL table char_templates will be deleted. Don't forget to add new files from the repository after the update.
Last edited: