BL Coding Did someone screw up the perks?

正在查看此主题的用户

erik9631

Recruit
Hello.
I have been making a simple mod which allows you to edit hardcoded values inside the game from a config file.
During the development of this mod I have noticed that DefaultPerks class from my perspective and current understanding seem to be a colossal screw up.

First of all, all the values defined inside the class are floats, and they are multiplied by 100 to convert them to % during the skill bonus calculation process. I can't help myself but to poke at the fact that there are these few lines of code, which seem to be totally inconsistent with the rest of the definitions:
Capture.png

As you can see, with the TwoHandedExtraHP and Extra damage, the perks are meant to increase the hitpoints by 3% and damage by 1.5%
But looking at the actual values, isn't the health increased by 300% and damage by 150%?

In the TwoHandedPowerBasher, someone messed up the description and wrote %2 insteade of 2%, same for %5 and 5%
These are the ones I noticed but undoubtedly, there are more, but I haven't looked through all of them.

After dumping all the values, I realized that there are numerous which seem to have a value of 0, despite their description saying otherwise, here is a list:

插入代码块:
ThrowingPerfectAccuracy=0
CrossbowRecruiter=0
AthleticsInGoodShape=0
CrossbowCrossbowCavalry=0
ScoutingInvestigator=0
CrossbowWithoutHonor=0
PoleArmKeepAtBay=0
BowArcheryRenown=0
ThrowingExtra2=0
AthleticsSaltTheWound=0
ThrowingWellPrepared=0
AthleticsFuriousCharge=0
TradeExtra1=0
TradeExtra2=0
StewardStandUnited=0
ThrowingExtra1=0
BowRanger=0
TacticsOneStepAhead=0
CraftingSteelMaker=0
RogueryConcealedBlade=0
PoleArmSlaughter=0
StewardAgrarian=0
StewardAssessor=0
PolearmPushback=0
RidingBowExpert=0
CraftingSteelMaker2=0
CraftingCharcoalMaker=0
CrossbowBoneBolts=0
ThrowingConcealedCarry=0
RoguerySlaveTrader=0
TradeTravelingRumors=0
CrossbowVolleyCommander=0
AthleticsUnburdened=0
CraftingSteelMaker3=0
AthleticsExtra3=0
TradeEverythingHasAPrice=0
TradeLocalConnection=0
CraftingIronMaker=0
BowMountedArcher=0
RogueryEscapeArtist=0
CrossbowRenownedMarksman=0
AthleticsExtra2=0
AthleticsExtra1=0
OneHandedShieldBearer=0
RidingFilledToBrim=0
LeadershipDisciplinarian=0
PoleArmTightGrip=0
StewardReconstruction=0
MedicineDoctorsOath=0
RidingCrossbowExpert=0
RogueryMerryMen=0

Can somebody explain this to me?
 
I'm not sure how the calculation works, but that TwoHanded perk does only increase a character's HP by 3%, and I assume the TwoHanded perk is similar.

What is the value being set to 0 for each of these perks?
 
点赞 0
I'm not sure how the calculation works, but that TwoHanded perk does only increase a character's HP by 3%, and I assume the TwoHanded perk is similar.

What is the value being set to 0 for each of these perks?

Both primary and secondary bonus
 
点赞 0
I believe the primary and secondary bonus refers to the bonuses provided by the points in the skill itself, e.g. a higher Crossbow skill gives the character a higher bonus to reload speed and accuracy. The perks listed look like they all give bonuses unrelated to the skill bonuses, so they should have zeroes in those values.
 
点赞 0
I believe the primary and secondary bonus refers to the bonuses provided by the points in the skill itself, e.g. a higher Crossbow skill gives the character a higher bonus to reload speed and accuracy. The perks listed look like they all give bonuses unrelated to the skill bonuses, so they should have zeroes in those values.
No.
Those are all in the DefaultSkillEffects and has nothing to do with perks.
Also, the list is longer than 5 or 6 skills provided in the game. Even if you were half right it would make no sense.
The perks in the list I provided can be found in the perks menu under your character and these are the values pulled from them.
 
点赞 0
They are definitely messed up, several of the perks don't do anything. Crossbow perk to reload any crossbow while mounted doesn't work. Use any bow while mounted from riding line, and bow line don't work. Use any one handed weapon in civilian mode doesn't work. I'm sure there are a lot more that don't do anything but these are the most obvious.
 
点赞 0
后退
顶部 底部