diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/npc.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 5e4797afa..a91892238 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -703,7 +703,7 @@ int npc_timerevent_stop(struct npc_data *nd) *tid = -1;
//Set the timer tick to the time that has passed since the beginning of the timers and now.
nd->u.scr.timer = DIFF_TICK(gettick(),nd->u.scr.timertick);
- nd->u.scr.rid = 0;
+// nd->u.scr.rid = 0; //Eh? why detach?
return 0;
}
/*==========================================
diff --git a/src/map/skill.c b/src/map/skill.c index 222111f6a..3edd9d474 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7665,6 +7665,7 @@ int skill_check_condition(struct map_session_data *sd,int type) sd->skillitem = sd->skillitemlv = -1;
return 1;
}
+ /* These two are part of status_check_skilluse now.
if( sd->sc.opt1 ){
clif_skill_fail(sd,sd->skillid,0,0);
return 0;
@@ -7677,10 +7678,10 @@ int skill_check_condition(struct map_session_data *sd,int type) sd->sc.data[SC_BERSERK].timer != -1 ||
(sd->sc.data[SC_MARIONETTE].timer != -1 && sd->skillid != CG_MARIONETTE)){
clif_skill_fail(sd,sd->skillid,0,0);
- return 0; /* ?‘ÔˆÙ?í‚â’¾?‚È‚Ç */
+ return 0;
}
}
-
+ */
skill = sd->skillid;
lv = sd->skilllv;
if (lv <= 0) return 0;
|