Fixed Divine Protection working against players (bugreport:410)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11735 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
5f7d7bb1f0
commit
3c4c7617e1
@ -3,6 +3,8 @@ Date Added
|
||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2007/11/16
|
||||
* Fixed Divine Protection working against players (bugreport:410)
|
||||
2007/11/15
|
||||
* Fixed some homunculus skill offset calculation mistakes (bugreport:363)
|
||||
2007/11/14
|
||||
|
@ -1703,7 +1703,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
|
||||
vit_def = def2/2 + (vit_def>0?rand()%vit_def:0);
|
||||
|
||||
if((battle_check_undead(sstatus->race,sstatus->def_ele) || sstatus->race==RC_DEMON) &&
|
||||
(skill=pc_checkskill(tsd,AL_DP)) >0)
|
||||
src->type == BL_MOB && (skill=pc_checkskill(tsd,AL_DP)) > 0)
|
||||
vit_def += skill*(int)(3 +(tsd->status.base_level+1)*0.04); // submitted by orn
|
||||
} else { //Mob-Pet vit-eq
|
||||
//VIT + rnd(0,[VIT/20]^2-1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user