summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-01-09 12:10:48 +0800
committerJedzkie <jedzkie13@rocketmail.com>2016-01-09 12:14:49 +0800
commit6ef87638949348233e0cf171104d84d859b0ea28 (patch)
tree752faa0377b8a2fed64be9ecb70432ae5c8244a4 /src/map/status.c
parent2af2132c3fd39af714eb9819bbdd8d857e651915 (diff)
downloadhercules-6ef87638949348233e0cf171104d84d859b0ea28.tar.gz
hercules-6ef87638949348233e0cf171104d84d859b0ea28.tar.bz2
hercules-6ef87638949348233e0cf171104d84d859b0ea28.tar.xz
hercules-6ef87638949348233e0cf171104d84d859b0ea28.zip
PR_MAGNIFICAT Skill Fix:
- PR_MAGNIFICAT HP Regeneration applies only in PRE-RENEWAL.
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index c755d8eb0..5ada4ec51 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3523,10 +3523,14 @@ void status_calc_regen_rate(struct block_list *bl, struct regen_data *regen, str
if (regen->sregen)
regen->sregen->rate.hp += 3;
}
+
if (sc->data[SC_MAGNIFICAT]) {
+#ifndef RENEWAL // HP Regen applies only in Pre-renewal
regen->rate.hp += 1;
+#endif
regen->rate.sp += 1;
}
+
if (sc->data[SC_GDSKILL_REGENERATION]) {
const struct status_change_entry *sce = sc->data[SC_GDSKILL_REGENERATION];
if (!sce->val4) {