|April 7, 2014, 01:32||#1|
Join Date: Oct 2009
Understanding the 'A' line in p_class.txt
Okay, so the Attack data line has three values, the first is the max number of attacks the class can have, the second is the "minimum weight for calculating number of attacks", and third is "multiplier for attack calculations".
The first value was easy to change and see immediate game effects. It seems to have a capped value at 8 or so. The next two are not so clearly explained or understood, but here's what I've learned:
The multiplier (3rd value) only works up to a value of 5, any higher than that appears to have no effect. The lower it is, the less blows/round the char has.
The minimum weapon weight (2nd value) seems to be the point at which blows/round begin to get slower. So if this is set at 2 pounds, then only extremely light weapons (daggers/whips) will be at the max blows/round. Progressively heavier weapons decrease the blows.
If someone could help clarify this, or if it's completely wrong, more details appreciated. Thanks
|April 7, 2014, 03:04||#2|
Join Date: Dec 2009
The system is complicated, unfortunately. It may help to read player/calcs.c, specifically the comments surrounding the blows_table array. Basically some math is done using the values from p_class.txt, and the result of that math is used to look up a value in a table. As a result, there's no clear formula to use to derive blows given the player's class and stats.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Help with editing p_class||Malatar||Vanilla||13||October 30, 2012 20:07|
|Line of Site||Spacebux||Development||3||May 3, 2011 23:56|
|Understanding 'Shoot' values in Character Screen||krugar||Vanilla||3||September 8, 2010 15:48|
|P_class starting equipment change?||Jabberwocky||Vanilla||4||June 1, 2009 23:17|
|question on p_class.txt format||Reus||Development||2||April 10, 2009 07:15|