diff options
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c index b4abbd74a..3818d5b38 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5545,7 +5545,9 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) {
int s = 0;
int sp = 1;
- if(sd && (--sc->data[type].val3) > 0) {
+ if (--sc->data[type].val3 <= 0)
+ break;
+ if(sd) {
switch(sc->data[type].val1){
case BD_RICHMANKIM: /* ƒjƒˆƒ‹ƒh‚̉ƒ 3•b‚ÉSP1 */
case BD_DRUMBATTLEFIELD: /* ?‘¾ŒÛ‚Ì‹¿‚« 3•b‚ÉSP1 */
@@ -5591,11 +5593,11 @@ int status_change_timer(int tid, unsigned int tick, int id, int data) if (sd->status.sp <= 0)
break;
}
- sc->data[type].timer=add_timer( /* ƒ^ƒCƒ}?ÄÝ’è */
- 1000+tick, status_change_timer,
- bl->id, data);
- return 0;
}
+ sc->data[type].timer=add_timer( /* ƒ^ƒCƒ}?ÄÝ’è */
+ 1000+tick, status_change_timer,
+ bl->id, data);
+ return 0;
}
break;
|