From be72ecd0560eb5dcdcc15805491e48e2d63f4e0e Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 21 Apr 2007 17:08:08 +0000 Subject: - Removed the +25% mdef, -50% def effect from Freeze status - Changed autocast skills, they now only work with normal attacks - Fixed a few spots where the attack_type flag was getting truncated - Hopefully fixed the cygwin + size_t problem (using stddef.h as source) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10298 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 564d10d08..24d347b72 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3539,8 +3539,6 @@ static signed char status_calc_def(struct block_list *bl, struct status_change * def += sc->data[SC_DEFENCE].val2 ; if(sc->data[SC_INCDEFRATE].timer!=-1) def += def * sc->data[SC_INCDEFRATE].val1/100; - if(sc->data[SC_FREEZE].timer!=-1) - def >>=1; if(sc->data[SC_STONE].timer!=-1 && sc->opt1 == OPT1_STONE) def >>=1; if(sc->data[SC_SIGNUMCRUCIS].timer!=-1) @@ -3606,8 +3604,6 @@ static signed char status_calc_mdef(struct block_list *bl, struct status_change return 90; if(sc->data[SC_SKA].timer != -1) // [marquis007] return 90; - if(sc->data[SC_FREEZE].timer!=-1) - mdef += 25*mdef/100; if(sc->data[SC_STONE].timer!=-1 && sc->opt1 == OPT1_STONE) mdef += 25*mdef/100; if(sc->data[SC_ENDURE].timer!=-1 && sc->data[SC_ENDURE].val4 == 0) -- cgit v1.2.3-70-g09d2