summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Renewal.txt1
-rw-r--r--src/map/pc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Renewal.txt b/Changelog-Renewal.txt
index bb7b5e97b..403b62c7e 100644
--- a/Changelog-Renewal.txt
+++ b/Changelog-Renewal.txt
@@ -10,6 +10,7 @@ Date Added
* Fixed guild and guild member exp truncation issue (bugreport:4130, since r14242). [Ai4rei]
- Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).
* Fixed disguising as player clone causing the client to crash while looking for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). [Ai4rei]
+ * Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442). [Ai4rei]
2010/11/21
* Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059). [Ai4rei]
* Added 64-bit variants of the socket and buffer I/O macros. [Ai4rei]
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) )