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
commitf47625b6608905d9420a98a845def1877f56b026 (patch)
treec3baaaebb3aa8259f8ebc5246bf602a6bc127f07 /src
parent7b0ba03960125e21809468587076523a67acd0cd (diff)
downloadhercules-f47625b6608905d9420a98a845def1877f56b026.tar.gz
hercules-f47625b6608905d9420a98a845def1877f56b026.tar.bz2
hercules-f47625b6608905d9420a98a845def1877f56b026.tar.xz
hercules-f47625b6608905d9420a98a845def1877f56b026.zip
* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@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) )