Ver Fonte

Going 90% overweight will now make you stop attacking (bugreport:2315).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13279 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage há 16 anos atrás
pai
commit
19aebb455c
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/map/status.c

+ 3 - 1
src/map/status.c

@@ -5488,10 +5488,12 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
 			break;
 
 		//Permanent effects.
+		case SC_WEIGHT90:
+			unit_stop_attack(bl);
+			// fall through
 		case SC_AETERNA:
 		case SC_MODECHANGE:
 		case SC_WEIGHT50:
-		case SC_WEIGHT90:
 		case SC_BROKENWEAPON:
 		case SC_BROKENARMOR:
 		case SC_READYSTORM: