summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 20:28:18 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-22 20:28:18 +0000
commit815ccfe52ca8be0d2b4b3e0d852a648c964fc35e (patch)
tree7834665e2e32d4353150aa3101fe71faf480c3f2 /src
parentbca841a45700ba639280e991b84a3c02e6ab810a (diff)
downloadhercules-815ccfe52ca8be0d2b4b3e0d852a648c964fc35e.tar.gz
hercules-815ccfe52ca8be0d2b4b3e0d852a648c964fc35e.tar.bz2
hercules-815ccfe52ca8be0d2b4b3e0d852a648c964fc35e.tar.xz
hercules-815ccfe52ca8be0d2b4b3e0d852a648c964fc35e.zip
* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c52a61003..6da104d30 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4015,7 +4015,7 @@ int pc_steal_coin(struct map_session_data *sd,struct block_list *target)
return 0;
md = (TBL_MOB*)target;
- if( md->state.steal_coin_flag || md->sc.data[SC_STONE] || md->sc.data[SC_FREEZE] )
+ if( md->state.steal_coin_flag || md->sc.data[SC_STONE] || md->sc.data[SC_FREEZE] || md->status.mode&MD_BOSS )
return 0;
if( (md->class_ >= 1324 && md->class_ < 1364) || (md->class_ >= 1938 && md->class_ < 1946) )