summaryrefslogtreecommitdiff
path: root/src/emap/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/status.c')
-rw-r--r--src/emap/status.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/emap/status.c b/src/emap/status.c
index eead81f..2ab6b97 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -299,19 +299,22 @@ int estatus_calc_homunculus_postHook(int retVal, struct homun_data *hd, enum e_s
// Bonus (not capped, BEWARE)
const struct s_homunculus_atk *hdatk;
- const struct s_homunculus_def *hddef;
- const struct s_homunculus_maxhp *hdmaxhp;
if ((hdatk = getFromMSD(sd,0)) != NULL) {
hd->battle_status.rhw.atk+=hdatk->rate;
+ ShowDebug("ATK Bonus applied (now %u)\n", hd->battle_status.rhw.atk);
}
+ const struct s_homunculus_def *hddef;
if ((hddef = getFromMSD(sd,0)) != NULL) {
hd->battle_status.def+=hddef->rate;
+ ShowDebug("DEF Bonus applied (now %d)\n", hd->battle_status.def);
}
+ const struct s_homunculus_maxhp *hdmaxhp;
if ((hdmaxhp = getFromMSD(sd,0)) != NULL) {
hd->battle_status.max_hp+=hdmaxhp->rate;
+ ShowDebug("MHP Bonus applied (now %u)\n", hd->battle_status.max_hp);
}
// We're done