summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 4ced6ac61..932542365 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1274,11 +1274,14 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl,int s
break;
case PF_SPIDERWEB: /* スパイダ?ウェッブ */
{
- int sec=skill_get_time2(skillid,skilllv);
- if(map[src->m].flag.pvp) //PvPでは拘束時間半減?
- sec = sec/2;
- battle_stopwalking(bl,1);
- skill_status_change_start(bl,SC_SPIDERWEB,skilllv,0,0,0,sec,0);
+ if(bl->type == BL_MOB)
+ {
+ int sec=skill_get_time2(skillid,skilllv);
+ if(map[src->m].flag.pvp) //PvPでは拘束時間半減?
+ sec = sec/2;
+ battle_stopwalking(bl,1);
+ skill_status_change_start(bl,SC_SPIDERWEB,skilllv,0,0,0,sec,0);
+ }
}
break;
case ASC_METEORASSAULT: /* メテオアサルト */