Преглед на файлове

Eternal Chaos now reduces both hard DEF and soft DEF (#8609)

Jittapan Pluemsumran преди 8 месеца
родител
ревизия
a687ddeb85
променени са 2 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 2 1
      db/re/status.yml
  2. 4 0
      src/map/status.cpp

+ 2 - 1
db/re/status.yml

@@ -86,7 +86,7 @@ Body:
     Opt1: StoneWait
     Flags:
       SendOption: true
-      BossResist: true      
+      BossResist: true
       StopAttacking: true
     Fail:
       Whiteimprison: true
@@ -1822,6 +1822,7 @@ Body:
     Icon: EFST_ETERNALCHAOS
     DurationLookup: BD_ETERNALCHAOS
     CalcFlags:
+      Def: true
       Def2: true
     Flags:
       NoDispell: true

+ 4 - 0
src/map/status.cpp

@@ -7683,6 +7683,10 @@ static defType status_calc_def(struct block_list *bl, status_change *sc, int def
 
 	if(sc->getSCE(SC_BERSERK))
 		return 0;
+#ifdef RENEWAL
+	if(sc->getSCE(SC_ETERNALCHAOS))
+		return 0;
+#endif
 	if(sc->getSCE(SC_BARRIER))
 		return 100;
 	if(sc->getSCE(SC_KEEPING))