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

This commit is contained in:
Jittapan Pluemsumran 2024-09-05 23:46:02 +07:00 committed by GitHub
parent 540a9a0f30
commit a687ddeb85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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))