summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-09 22:31:24 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-09 22:31:24 +0000
commit533ce63fe5e55aca6ebb1ca709e300aded8de775 (patch)
tree4d4693c6c5ee0027903a1f6850de2a92d313ff7e /src/map/status.c
parent83c7a84900609bba3921be8b7c6a0b7f5118ed3a (diff)
downloadhercules-533ce63fe5e55aca6ebb1ca709e300aded8de775.tar.gz
hercules-533ce63fe5e55aca6ebb1ca709e300aded8de775.tar.bz2
hercules-533ce63fe5e55aca6ebb1ca709e300aded8de775.tar.xz
hercules-533ce63fe5e55aca6ebb1ca709e300aded8de775.zip
Homunculus MATK fix for bugreport:5109
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15050 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 1a86cb5e2..5f60f8726 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2862,7 +2862,12 @@ int status_calc_homunculus_(struct homun_data *hd, bool first)
status_calc_misc(&hd->bl, status, hom->level);
status_cpy(&hd->battle_status, status);
-
+#if RRMODE
+ /**
+ * In RR Mode matk_max is used as source of weaponMATK, but homuns don't have it -- so we swap the values here.
+ **/
+ status->matk_max = status->matk_min;
+#endif
return 1;
}