Browse Source

Simplify GC_POISONREACT counter formula (#7795)

* Cleanup of #5805.
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
eppc0330 2 years ago
parent
commit
466722b25e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -10606,7 +10606,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
 			break;
 		case SC_POISONREACT:
 #ifdef RENEWAL
-			val2=(val1 - ((val1-1) % 1 - 1)) / 2;
+			val2= (val1 + 1) / 2;
 #else
 			val2=(val1+1)/2 + val1/10; // Number of counters [Skotlex]
 #endif