Adds support for Green Aura MVP damage (#5749)

Adds the DamageTaken flag which reduces damage done to specific naturally spawning MVP.

Fixes #3324.

Thanks to @admkakaroto, @SonaSonaSona and @Atemo!

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Aleos
2021-02-21 17:33:15 -05:00
committed by GitHub
parent 3de24d8183
commit 26632604f4
18 changed files with 169 additions and 63 deletions

View File

@@ -797,6 +797,8 @@ static bool mob_db_yaml2sql(const std::string &file, const std::string &table) {
column.append("`attack_motion`,");
if (appendEntry(input["DamageMotion"], value))
column.append("`damage_motion`,");
if (appendEntry(input["DamageTaken"], value))
column.append("`damage_taken`,");
if (appendEntry(input["Ai"], value, true))
column.append("`ai`,");
if (appendEntry(input["Class"], value, true))