* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei 2010-11-22 20:28:18 +00:00
parent 29f9e79242
commit 6688ea5e2c
2 changed files with 2 additions and 1 deletions

View File

@ -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]

View File

@ -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) )