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
This commit is contained in:
parent
026ca5ce1e
commit
ec5312da8c
@ -3230,12 +3230,12 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
|
|||||||
/**
|
/**
|
||||||
* RE DEF Reduction
|
* RE DEF Reduction
|
||||||
* Damage = Attack * (4000+eDEF)/(4000+eDEF) - sDEF
|
* 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(
|
ATK_ADD2(
|
||||||
flag.pdef ?(def1+vit_def):0,
|
flag.pdef ?(def1/2):0,
|
||||||
flag.pdef2?(def1+vit_def):0
|
flag.pdef2?(def1/2):0
|
||||||
);
|
);
|
||||||
if( !flag.idef )
|
if( !flag.idef )
|
||||||
wd.damage = wd.damage * (4000+def1) / (4000+10*def1) - vit_def;
|
wd.damage = wd.damage * (4000+def1) / (4000+10*def1) - vit_def;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user