diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 20:28:18 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-22 20:28:18 +0000 |
commit | f47625b6608905d9420a98a845def1877f56b026 (patch) | |
tree | c3baaaebb3aa8259f8ebc5246bf602a6bc127f07 | |
parent | 7b0ba03960125e21809468587076523a67acd0cd (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/pc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index bb7b5e97b..403b62c7e 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.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) ) |