From ec5312da8c1ef077180dee27edc40ab2f70d8fe2 Mon Sep 17 00:00:00 2001 From: ediejohnny Date: Wed, 2 Jan 2013 00:20:43 +0000 Subject: [PATCH] Modified the formula of the Ice Pick, it was def1+vit_def, but according to iROWiki, it's Hard Def/2, so, def1/2 now. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17071 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/map/battle.c b/src/map/battle.c index 019a6315b8..d6bcc60607 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3230,12 +3230,12 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo /** * RE DEF Reduction * Damage = Attack * (4000+eDEF)/(4000+eDEF) - sDEF - * Icepick no longer bypasses defense, but gains 1 atk per def + * Icepick no longer bypasses defense, but gains 1 atk per def/2 **/ ATK_ADD2( - flag.pdef ?(def1+vit_def):0, - flag.pdef2?(def1+vit_def):0 + flag.pdef ?(def1/2):0, + flag.pdef2?(def1/2):0 ); if( !flag.idef ) wd.damage = wd.damage * (4000+def1) / (4000+10*def1) - vit_def;