Merge of Rytech's 4CrAM (#6414)

Merged Rytech2/4CrAM-Open@978d4fc406

Original author is @Rytech2 and all credits belong to him.
Cleanups by @Lemongrass3110, @aleos89 and @Atemo.

Co-authored-by: Rytech2 <rytech16@gmail.com>
Co-authored-by: aleos <aleos89@users.noreply.github.com>
Co-authored-by: Atemo <capucrath@gmail.com>
This commit is contained in:
Lemongrass3110
2021-12-30 20:25:19 +01:00
committed by GitHub
parent 5105a03aec
commit 7556453dfc
78 changed files with 19190 additions and 559 deletions

View File

@@ -756,6 +756,12 @@ static bool mob_db_yaml2sql(const std::string &file, const std::string &table) {
column.append("`defense`,");
if (appendEntry(input["MagicDefense"], value))
column.append("`magic_defense`,");
#ifdef RENEWAL
if (appendEntry(input["Resistance"], value))
column.append("`resistance`,");
if (appendEntry(input["MagicResistance"], value))
column.append("`magic_resistance`,");
#endif
if (appendEntry(input["Str"], value))
column.append("`str`,");
if (appendEntry(input["Agi"], value))