diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-11-11 18:56:05 +0100 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2022-11-11 18:56:05 +0100 |
commit | f1a4a5ae8eabc6e6125f1ae15e447ad0aba26ba1 (patch) | |
tree | cc4286bb532d2083dd3ae282652c1892b53adc1a | |
parent | f8292b7c0c706223694edcbeab1097baa2127168 (diff) | |
download | tmwa-f1a4a5ae8eabc6e6125f1ae15e447ad0aba26ba1.tar.gz tmwa-f1a4a5ae8eabc6e6125f1ae15e447ad0aba26ba1.tar.bz2 tmwa-f1a4a5ae8eabc6e6125f1ae15e447ad0aba26ba1.tar.xz tmwa-f1a4a5ae8eabc6e6125f1ae15e447ad0aba26ba1.zip |
mobinfo add
-rw-r--r-- | src/map/mob.cpp | 1 | ||||
-rw-r--r-- | src/map/mob.hpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.cpp b/src/map/mob.cpp index 787f9fe..f4c7216 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -307,6 +307,7 @@ void mob_mutate(dumb_ptr<mob_data> md, mob_stat stat, int intensity) } // This calculates the exp of a given mob +static int mob_gen_exp(mob_db_ *mob) { if (mob->max_hp <= 1) diff --git a/src/map/mob.hpp b/src/map/mob.hpp index 0530329..a1f9226 100644 --- a/src/map/mob.hpp +++ b/src/map/mob.hpp @@ -102,7 +102,6 @@ BlockId mob_once_spawn_area(dumb_ptr<map_session_data> sd, MobName mobname, Species class_, int amount, NpcEvent event); -int mob_gen_exp(mob_db_ *mob); int mob_target(dumb_ptr<mob_data> md, dumb_ptr<block_list> bl, int dist); int mob_aggravate(dumb_ptr<mob_data> md, dumb_ptr<block_list> bl); int mob_stop_walking(dumb_ptr<mob_data> md, int type); |