-
Npc Combat Definitions
I'm trying to understand how the NPC skills and bonuses match up with the officlal stats from osrs wikia. I found some looking through the comnbat formula classes but a lot of them aren't clearly labeled as what they are. I'm using valius source and these skills in bonuses are stored in npccombatdefinitions.xml. Anyone have any idea? Let me know your thoughts, thanks.
Code:
<skills>
<skill>
<id>0</id>
<level>300</level>
</skill>
<skill>
<id>1</id>
<level>200</level>
</skill>
<skill>
<id>2</id>
<level>130</level>
</skill>
<skill>
<id>3</id>
<level>450</level>
</skill>
<skill>
<id>4</id>
<level>1</level>
</skill>
<skill>
<id>5</id>
<level>60</level>
</skill>
<skill>
<id>6</id>
<level>280</level>
</skill>
</skills>
<bonuses>
<int>150</int>
<int>150</int>
<int>150</int>
<int>0</int>
<int>150</int>
<int>150</int>
<int>150</int>
<int>100</int>
<int>130</int>
<int>150</int>
<int>50</int>
<int>0</int>
</bonuses>
https://i.imgur.com/n5CgII7.png
-
have a look at how the bonuses tag is parsed. it should tell you which number corresponds to which bonus
-
You only have 12 bonuses and not 14, so you'll need to do some adjustments to your system.