summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDastgir <dastgir@users.noreply.github.com>2016-02-05 10:48:43 +0530
committerDastgir <dastgir@users.noreply.github.com>2016-02-05 10:48:43 +0530
commit6c027eb30935425209556e8858ccbe922a5cade6 (patch)
treecb2b8f338e98792271597ceee2056eb80ff7c164 /src
parent53688ef7f1987bcf9cc43baa4718aa3934d6a7e1 (diff)
parent6ef87638949348233e0cf171104d84d859b0ea28 (diff)
downloadhercules-6c027eb30935425209556e8858ccbe922a5cade6.tar.gz
hercules-6c027eb30935425209556e8858ccbe922a5cade6.tar.bz2
hercules-6c027eb30935425209556e8858ccbe922a5cade6.tar.xz
hercules-6c027eb30935425209556e8858ccbe922a5cade6.zip
Merge pull request #1081 from Jedzkie/PR_MAGNIFICAT
PR_MAGNIFICAT Skill Fix.
Diffstat (limited to 'src')
-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 879f10efb..26db1750b 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) {