diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 9a70ae470..09f2c8dca 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4212,8 +4212,8 @@ static signed short status_calc_def2(struct block_list *bl, struct status_change mdef += 25*mdef/100; if(sc->data[SC_FREEZE]) mdef += 25*mdef/100; - if(sc->data[SC_ENDURE] && sc->data[SC_ENDURE]->val4 == 0) - mdef += sc->data[SC_ENDURE]->val1; + if(sc->data[SC_ENDURE])// It has been confirmed that eddga card grants 1 MDEF, not 0, not 10, but 1. + mdef += (sc->data[SC_ENDURE]->val4 == 0) ? sc->data[SC_ENDURE]->val1 : 1; if(sc->data[SC_CONCENTRATION]) mdef += 1; //Skill info says it adds a fixed 1 Mdef point. if( sc->data[SC_MARSHOFABYSS] ) |