summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-01 19:23:34 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-01 19:23:34 +0000
commit2dacee219b06865608d5444fd9335aa58644ce91 (patch)
tree60a7a2664623e0fc822ac58120989c106ba46c76 /src/map/skill.c
parenta88aee47d252975ad8f6264c6fbde0e4f0c42836 (diff)
downloadhercules-2dacee219b06865608d5444fd9335aa58644ce91.tar.gz
hercules-2dacee219b06865608d5444fd9335aa58644ce91.tar.bz2
hercules-2dacee219b06865608d5444fd9335aa58644ce91.tar.xz
hercules-2dacee219b06865608d5444fd9335aa58644ce91.zip
* Implemented the fix for Slim Pitcher working on WoESE objects (bugreport:3618).
* Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 008ea2284..7b995399d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5255,7 +5255,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
// Slim Pitcher
case CR_SLIMPITCHER:
- if( dstmd && dstmd->class_ == MOBID_EMPERIUM )
+ // Updated to block Slim Pitcher from working on barricades and guardian stones.
+ if( ( dstmd && dstmd->class_ == MOBID_EMPERIUM ) || ( dstmd && dstmd->class_ >= MOBID_BARRICADE1 && dstmd && dstmd->class_ <= MOBID_GUARIDAN_STONE2 ) )
break;
if (potion_hp || potion_sp) {
int hp = potion_hp, sp = potion_sp;