ShotGun Jolly
May 11th, 2014, 16:59
This is best directed to the person who created the Dark Hersey ruleset, but if anyone out there can help me I would be very thankful.
I am not a coder, so forgive any of the many errors in how I am trying to explain it.
One of the rules in DH was when using a melee weapon, you multiply your str bonus by a set value and then add that new value to your damage roll.
And when damage is applied, you multiply your toughness bonus by a set value, and then subtract that new value from the damaged received.
Str bonus in the code was str mod * X = str bonus
And
Toughness bonus in the code was tn mod * X = tn bonus (I got it posted below)
Ok, pretty simple right? well almost.. In the manager_action_damage.lua script I was able to find the toughness code, and I was able to change it from it being a multiplier to a sum just by changing the * to a + in the code below.
aTnb = math.floor(aTn/10); -- gives base toughness bonus so force, holy, sanctified types work properly
aTTn = aTnb + aUC; -- total toughness bonus to use in soak calcs
So now if I type in the bonus box 8, then 8+(aTn/10) is subtracted from any damage roll. Which is what I want. It was a real simple fix!
But the Str mod I can not seem to find. I found many spots through out the rule set which makes mention to what I am looking for and changed everything I could find but nothing seems to have changed in the calculations.
I need it, so that any time melee damaged is rolled, it does not multiply the UC str bonus by x, but instead adds X to it instead.
Can someone help me find where that particular command is located please?
I am not a coder, so forgive any of the many errors in how I am trying to explain it.
One of the rules in DH was when using a melee weapon, you multiply your str bonus by a set value and then add that new value to your damage roll.
And when damage is applied, you multiply your toughness bonus by a set value, and then subtract that new value from the damaged received.
Str bonus in the code was str mod * X = str bonus
And
Toughness bonus in the code was tn mod * X = tn bonus (I got it posted below)
Ok, pretty simple right? well almost.. In the manager_action_damage.lua script I was able to find the toughness code, and I was able to change it from it being a multiplier to a sum just by changing the * to a + in the code below.
aTnb = math.floor(aTn/10); -- gives base toughness bonus so force, holy, sanctified types work properly
aTTn = aTnb + aUC; -- total toughness bonus to use in soak calcs
So now if I type in the bonus box 8, then 8+(aTn/10) is subtracted from any damage roll. Which is what I want. It was a real simple fix!
But the Str mod I can not seem to find. I found many spots through out the rule set which makes mention to what I am looking for and changed everything I could find but nothing seems to have changed in the calculations.
I need it, so that any time melee damaged is rolled, it does not multiply the UC str bonus by x, but instead adds X to it instead.
Can someone help me find where that particular command is located please?