Talikan Posted June 28, 2019 Share Posted June 28, 2019 Hello, Â { Â "ExpFormula": { Â Â Â "Source": "BaseExp * Power(Gain, Level)" Â }, Â "PhysicalDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense", Â "MagicDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1 / V_MagicResist, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist", Â "TrueDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2)" } Â I test this but ... error at line 1:79. I don't understand why ... Â Thank you, Â Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted June 28, 2019 Share Posted June 28, 2019 {  "ExpFormula": {    "Source": "BaseExp * Power(Gain, Level)"  },   "PhysicalDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense"),  "MagicDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1 / V_MagicResist, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist"),  "TrueDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2))" }  Try that ^ Link to comment Share on other sites More sharing options...
0 Talikan Posted June 28, 2019 Author Share Posted June 28, 2019 "mismatched input ',' expecting ')' at line 1:84" =( Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted June 28, 2019 Share Posted June 28, 2019 Ah wait:  {  "ExpFormula": {    "Source": "BaseExp * Power(Gain, Level)"  },   "PhysicalDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense")),  "MagicDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_MagicResist), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist")),  "TrueDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2))" } Link to comment Share on other sites More sharing options...
0 Talikan Posted June 28, 2019 Author Share Posted June 28, 2019 "JsonToken EndConstructor is not valid for closing JsonType Object. Path '', line 5, position 181." Â Â Â Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted June 28, 2019 Share Posted June 28, 2019 One more:  {  "ExpFormula": {    "Source": "BaseExp * Power(Gain, Level)"  },   "PhysicalDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense")),  "MagicDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_MagicResist), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist")),  "TrueDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2))" } Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted June 28, 2019 Share Posted June 28, 2019 What are you trying to do with your damage calculations? @Talikan Link to comment Share on other sites More sharing options...
0 Talikan Posted June 28, 2019 Author Share Posted June 28, 2019 I have are problem connexion actually, i try later =/ Link to comment Share on other sites More sharing options...
0 eloi Posted July 28, 2019 Share Posted July 28, 2019 hi Talikan not correct {  "ExpFormula": {    "Source": "BaseExp * Power(Gain, Level)"  },   "PhysicalDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense")),  "MagicDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_MagicResist), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist")),  "TrueDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2))" }    correct {  "ExpFormula": {    "Source": "BaseExp * Power(Gain, Level)"  },   "PhysicalDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense))",  "MagicDamage": "Random(((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_MagicResist), ((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist))",  "TrueDamage": "Random((BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2))" } Talikan 1 Link to comment Share on other sites More sharing options...
Question
Talikan
Hello,
Â
{
 "ExpFormula": {
   "Source": "BaseExp * Power(Gain, Level)"
 },
 "PhysicalDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1) / V_Defense, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_Defense",
 "MagicDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1 / V_MagicResist, (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2) / V_MagicResist",
 "TrueDamage": "Random(BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 1), (BaseDamage * ScalingStat * ScaleFactor * CritMultiplier * 2)"
}
Â
I test this but ... error at line 1:79.
I don't understand why ...
Â
Thank you,
Â
Link to comment
Share on other sites
8 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