summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-05 06:12:46 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-05 06:12:46 +0000
commit690891256ed967de3d255aafeee7df07a43fa1b1 (patch)
tree05caa5a3e8affaf874a0c9b6c4834bcccdd41477 /src
parentbafe9ca1ceaac5554b4716b7b5b4911c3f40a51d (diff)
downloadhercules-690891256ed967de3d255aafeee7df07a43fa1b1.tar.gz
hercules-690891256ed967de3d255aafeee7df07a43fa1b1.tar.bz2
hercules-690891256ed967de3d255aafeee7df07a43fa1b1.tar.xz
hercules-690891256ed967de3d255aafeee7df07a43fa1b1.zip
Fixed @mobinfo flee/hit formula, as per bugreport:6754
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16814 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/config/const.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/const.h b/src/config/const.h
index d874c73ec..0d3adabe1 100644
--- a/src/config/const.h
+++ b/src/config/const.h
@@ -53,8 +53,8 @@
/* ATCMD_FUNC(mobinfo) HIT and FLEE calculations */
#ifdef RENEWAL
- #define MOB_FLEE(mob) ( mob->lv + mob->status.dex + mob->status.luk/3 + 175 )
- #define MOB_HIT(mob) ( mob->lv + mob->status.agi + mob->status.luk/5 + 100 )
+ #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 )
#else
#define MOB_FLEE(mob) ( mob->lv + mob->status.dex )
#define MOB_HIT(mob) ( mob->lv + mob->status.agi )