Fixed Enchant Deadly Poison effect hover skills that should have halved damage or should not be affected in RE mode(bugreport:5322)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16309 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
687550db34
commit
f15bf626b5
@ -2479,11 +2479,22 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
|
|||||||
#ifndef RENEWAL_EDP
|
#ifndef RENEWAL_EDP
|
||||||
// renewal EDP doesn't affect your final damage but your atk and weapon atk
|
// renewal EDP doesn't affect your final damage but your atk and weapon atk
|
||||||
if(sc->data[SC_EDP] &&
|
if(sc->data[SC_EDP] &&
|
||||||
skill_num != ASC_BREAKER &&
|
skill_num != AS_GRIMTOOTH &&
|
||||||
skill_num != ASC_METEORASSAULT &&
|
skill_num != ASC_METEORASSAULT &&
|
||||||
skill_num != AS_SPLASHER &&
|
skill_num != AS_SPLASHER &&
|
||||||
skill_num != AS_VENOMKNIFE)
|
skill_num != AS_VENOMKNIFE &&
|
||||||
|
skill_num != AS_SONICBLOW &&
|
||||||
|
skill_num != ASC_BREAKER &&
|
||||||
|
skill_num != GC_COUNTERSLASH &&
|
||||||
|
skill_num != GC_CROSSIMPACT)
|
||||||
ATK_ADDRATE(sc->data[SC_EDP]->val3);
|
ATK_ADDRATE(sc->data[SC_EDP]->val3);
|
||||||
|
// Skills that have halved damage [Igniz]
|
||||||
|
if(sc->data[SC_EDP] &&
|
||||||
|
(skill_num == AS_SONICBLOW ||
|
||||||
|
skill_num == ASC_BREAKER ||
|
||||||
|
skill_num == GC_COUNTERSLASH ||
|
||||||
|
skill_num == GC_CROSSIMPACT))
|
||||||
|
ATK_RATE(50);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user