igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

unhardcode starting equipment (weapons and staves) #77

Closed igroglaz closed 8 months ago

igroglaz commented 3 years ago

it's not possible to remove starting weapons/staves in data.xml from new chars

`

0
        <name>Start_MF</name>
        <body>40</body>
        <reaction>36</reaction>
        <mind>25</mind>
        <spirit>17</spirit>
        <healthMax>50</healthMax>
        <manaMax>-1</manaMax>
        <speed>19</speed>
        <rotationSpeed>19</rotationSpeed>
        <scanRange>6</scanRange>
        <defence>7</defence>
        <skill0>0</skill0>
        <skillBladeFire>20</skillBladeFire>
        <skillAxeWater>-1</skillAxeWater>
        <skillBludgeonAir>-1</skillBludgeonAir>
        <skillPikeEarth>-1</skillPikeEarth>
        <skillShootingAstral>-1</skillShootingAstral>
        <typeId>3</typeId>
        <face>32</face>
        <gender>0</gender>
        <charge>-1</charge>
        <relax>-1</relax>
        <tokenSize>-1</tokenSize>
        <movementType>-1</movementType>
        <dyingTime>-1</dyingTime>
        <serverId>10210</serverId>
        <knownSpellsAreEmpty>1</knownSpellsAreEmpty>
        <equipItem1></equipItem1>
        <equipItem2></equipItem2>
        <equipItem3></equipItem3>
        <equipItem4></equipItem4>
        <equipItem5></equipItem5>
        <equipItem6></equipItem6>
        <equipItem7></equipItem7>
        <equipItem8></equipItem8>
        <equipItem9></equipItem9>
        <equipItem10></equipItem10>
    </item>`

you will still get weapon, seems it's hardcoded

igroglaz commented 8 months ago

no need as we have town map now where we can setup anything