Smoot Posted July 24, 2020 Share Posted July 24, 2020 In the editor_strings.json there is "Combat": { "damagetypes": { "0": "Physical", "1": "Magic", "2": "True" }, Â If I add 3, 4 etc here, is there anything else I need to do to create additional damage types? I don't see anything in client_strings, for example. Link to comment Share on other sites More sharing options...
0 Shenmue Posted July 25, 2020 Share Posted July 25, 2020 You also have to add new values in "Intersect.Enums.DamageType" and to add new "cases" in the "switch (damageType)" of the "Attack" method of "Intersect.Server.Entites.Entity" (near line 1730). Â I think damage types are only useful if you want to use different damage formulas and/or colors. So you will probably want to add new values in "Intersect.Server.General.Formulas" and "Intersect.CustomColors.CombatNamespace". Link to comment Share on other sites More sharing options...
0 Smoot Posted July 25, 2020 Author Share Posted July 25, 2020 I figured there must be some code change. I'll take a look in those locations and see what happens. Â Thanks Link to comment Share on other sites More sharing options...
0 Smoot Posted July 25, 2020 Author Share Posted July 25, 2020 Actually this raises a question. What is True used for? Link to comment Share on other sites More sharing options...
0 Shenmue Posted July 25, 2020 Share Posted July 25, 2020 40 minutes ago, Smoot said: Actually this raises a question. What is True used for? Â Well, that is not a very clear question, but I will say true is used to say the opposite of false haha Link to comment Share on other sites More sharing options...
0 Aesthetic Posted July 25, 2020 Share Posted July 25, 2020 1 hour ago, Smoot said: Actually this raises a question. What is True used for? Â True damage is just damage calculated by default to ignore defensive stats. By default physical damage is reduced by armor, magic resist lowers magic damage, and true damage will ignore both of those values. italo, Smoot and DisguisedOG 3 Link to comment Share on other sites More sharing options...
0 Smoot Posted July 25, 2020 Author Share Posted July 25, 2020 5 minutes ago, Aesthetic said: Â True damage is just damage calculated by default to ignore defensive stats. By default physical damage is reduced by armor, magic resist lowers magic damage, and true damage will ignore both of those values. Â Hey an actual answer. Thanks Aesthetic, makes sense. Link to comment Share on other sites More sharing options...
Question
Smoot
In the editor_strings.json there is
Â
If I add 3, 4 etc here, is there anything else I need to do to create additional damage types? I don't see anything in client_strings, for example.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts