Miharukun Posted January 25, 2023 Share Posted January 25, 2023 If I change my server string.json stat from Attack to Strength and Defense to Endurance, do I need to change the formula.json too?  Example  From this "PhysicalDamage": "Random(((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * .975, ((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * 1.025) * (100 / (100 + V_Defense))"  To This "PhysicalDamage": "Random(((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * .975, ((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * 1.025) * (100 / (100 + V_Endurance))"  Since I changed the Defense stat to Endurance in the server string Link to comment Share on other sites More sharing options...
1 panda Posted January 25, 2023 Share Posted January 25, 2023 No. The strings JSON file is for mapping the names or values in the source code to end-user visible text, the formula JSON corresponds to the actual names in the source code which do not change. Miharukun 1 Link to comment Share on other sites More sharing options...
0 Miharukun Posted January 25, 2023 Author Share Posted January 25, 2023 17 minutes ago, panda said: No. The strings JSON file is for mapping the names or values in the source code to end-user visible text, the formula JSON corresponds to the actual names in the source code which do not change. Thanks Panda! Link to comment Share on other sites More sharing options...
Question
Miharukun
If I change my server string.json stat from Attack to Strength and Defense to Endurance, do I need to change the formula.json too?
Â
Example
Â
From this
"PhysicalDamage": "Random(((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * .975, ((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * 1.025) * (100 / (100 + V_Defense))"
Â
To This
"PhysicalDamage": "Random(((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * .975, ((BaseDamage + (ScalingStat * ScaleFactor))) * CritMultiplier * 1.025) * (100 / (100 + V_Endurance))"
Â
Since I changed the Defense stat to Endurance in the server string
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now