From 1753f67c212d765fa5cd0290444bb79ba7edb881 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 2 Jul 2007 19:57:37 +0000 Subject: Undid the change from r10298, frozen status again modifies def/mdef git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10840 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/map/status.c b/src/map/status.c index 75f2cbdfe..8672f81a8 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3540,6 +3540,8 @@ static signed char status_calc_def(struct block_list *bl, struct status_change * def += def * sc->data[SC_INCDEFRATE].val1/100; if(sc->data[SC_STONE].timer!=-1 && sc->opt1 == OPT1_STONE) def >>=1; + if(sc->data[SC_FREEZE].timer!=-1) + def >>=1; if(sc->data[SC_SIGNUMCRUCIS].timer!=-1) def -= def * sc->data[SC_SIGNUMCRUCIS].val2/100; if(sc->data[SC_CONCENTRATION].timer!=-1) @@ -3605,6 +3607,8 @@ static signed char status_calc_mdef(struct block_list *bl, struct status_change return 90; if(sc->data[SC_STONE].timer!=-1 && sc->opt1 == OPT1_STONE) mdef += 25*mdef/100; + if(sc->data[SC_FREEZE].timer!=-1) + mdef += 25*mdef/100; if(sc->data[SC_ENDURE].timer!=-1 && sc->data[SC_ENDURE].val4 == 0) mdef += sc->data[SC_ENDURE].val1; -- cgit v1.2.3-70-g09d2