瀏覽代碼

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
     Opt1: StoneWait
     Flags:
     Flags:
       SendOption: true
       SendOption: true
-      BossResist: true      
+      BossResist: true
       StopAttacking: true
       StopAttacking: true
     Fail:
     Fail:
       Whiteimprison: true
       Whiteimprison: true
@@ -1822,6 +1822,7 @@ Body:
     Icon: EFST_ETERNALCHAOS
     Icon: EFST_ETERNALCHAOS
     DurationLookup: BD_ETERNALCHAOS
     DurationLookup: BD_ETERNALCHAOS
     CalcFlags:
     CalcFlags:
+      Def: true
       Def2: true
       Def2: true
     Flags:
     Flags:
       NoDispell: true
       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))
 	if(sc->getSCE(SC_BERSERK))
 		return 0;
 		return 0;
+#ifdef RENEWAL
+	if(sc->getSCE(SC_ETERNALCHAOS))
+		return 0;
+#endif
 	if(sc->getSCE(SC_BARRIER))
 	if(sc->getSCE(SC_BARRIER))
 		return 100;
 		return 100;
 	if(sc->getSCE(SC_KEEPING))
 	if(sc->getSCE(SC_KEEPING))