diff options
author | Haru <haru@dotalux.com> | 2019-07-28 20:25:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 20:25:19 +0200 |
commit | c179d9184301e83e75a425fc09818be98b443f65 (patch) | |
tree | 2d27640ae8e572eac3f763dd4375ed233e157977 /src/map/mob.h | |
parent | 015f3ef6f763fb11360b4b644d19034e4fcb0357 (diff) | |
parent | b372b02e9cc21ceeb42a428177d992998aed2eec (diff) | |
download | hercules-c179d9184301e83e75a425fc09818be98b443f65.tar.gz hercules-c179d9184301e83e75a425fc09818be98b443f65.tar.bz2 hercules-c179d9184301e83e75a425fc09818be98b443f65.tar.xz hercules-c179d9184301e83e75a425fc09818be98b443f65.zip |
Merge pull request #2510 from Emistry/mobdb_dmg_taken_rate
Update mob_db - DamageTakenRate field
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 0a7489c47..a48c4cc74 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -206,6 +206,7 @@ struct mob_db { unsigned int option; int summonper[MAX_RANDOMMONSTER]; int maxskill; + int dmg_taken_rate; struct mob_skill skill[MAX_MOBSKILL]; struct spawn_info spawn[10]; struct hplugin_data_store *hdata; ///< HPM Plugin Data Store @@ -244,6 +245,7 @@ struct mob_data { unsigned int dmg; unsigned int flag : 2; //0: Normal. 1: Homunc exp. 2: Pet exp } dmglog[DAMAGELOG_SIZE]; + int dmg_taken_rate; struct spawn_data *spawn; //Spawn data. int spawn_timer; //Required for Convex Mirror struct item *lootitem; |