summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-05 11:58:14 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-05 11:58:14 +0000
commit80f81e9cf86faa72d3105f95b38f0021589c55fe (patch)
treea8cbf98d77fd246f30a103dd83d776793ec199e8 /src
parent690891256ed967de3d255aafeee7df07a43fa1b1 (diff)
downloadhercules-80f81e9cf86faa72d3105f95b38f0021589c55fe.tar.gz
hercules-80f81e9cf86faa72d3105f95b38f0021589c55fe.tar.bz2
hercules-80f81e9cf86faa72d3105f95b38f0021589c55fe.tar.xz
hercules-80f81e9cf86faa72d3105f95b38f0021589c55fe.zip
Follow up r16814 / bugreport:6754
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16815 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/config/const.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config/const.h b/src/config/const.h
index 0d3adabe1..5fb74e22e 100644
--- a/src/config/const.h
+++ b/src/config/const.h
@@ -53,11 +53,11 @@
/* ATCMD_FUNC(mobinfo) HIT and FLEE calculations */
#ifdef RENEWAL
- #define MOB_FLEE(mob) ( mob->lv + mob->status.dex + mob->status.luk/5 + 100 )
- #define MOB_HIT(mob) ( mob->lv + mob->status.agi + mob->status.luk/3 + 175 )
+ #define MOB_FLEE(mob) ( mob->lv + mob->status.agi + mob->status.luk/5 + 100 )
+ #define MOB_HIT(mob) ( mob->lv + mob->status.dex + mob->status.luk/3 + 175 )
#else
- #define MOB_FLEE(mob) ( mob->lv + mob->status.dex )
- #define MOB_HIT(mob) ( mob->lv + mob->status.agi )
+ #define MOB_FLEE(mob) ( mob->lv + mob->status.agi )
+ #define MOB_HIT(mob) ( mob->lv + mob->status.dex )
#endif
/* Renewal's dmg level modifier, used as a macro for a easy way to turn off. */