Fix to bugreport:2993 pk_mode damage reductions no longer stack with gvg ones
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15048 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
d41f81212b
commit
94c86e09ee
@ -609,7 +609,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,struct Damag
|
||||
sc_start(bl,sc->data[SC_POISONINGWEAPON]->val2,100,sc->data[SC_POISONINGWEAPON]->val1,skill_get_time2(GC_POISONINGWEAPON,sc->data[SC_POISONINGWEAPON]->val1));
|
||||
}
|
||||
|
||||
if (battle_config.pk_mode && sd && bl->type == BL_PC && damage)
|
||||
if (battle_config.pk_mode && sd && bl->type == BL_PC && damage && !map_flag_gvg(sd->bl.m))
|
||||
{
|
||||
if (flag & BF_SKILL) { //Skills get a different reduction than non-skills. [Skotlex]
|
||||
if (flag&BF_WEAPON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user