Explorar o código

Follow up 4a1bd2a3, missing `max_sp` for `SC_MEIKYOUSISUI`. Thank @raynra

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
Cydh Ramdh %!s(int64=10) %!d(string=hai) anos
pai
achega
3104dcef5e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -12323,7 +12323,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
 		return 0;
 	case SC_MEIKYOUSISUI:
 		if( --(sce->val4) >= 0 ) {
-			status_heal(bl, status->max_hp * sce->val2 / 100, sce->val3 / 100, 0);
+			status_heal(bl, status->max_hp * sce->val2 / 100, status->max_sp * sce->val3 / 100, 0);
 			sc_timer_next(1000 + tick, status_change_timer, bl->id, data);
 			return 0;
 		}