- Re-fixed the attack_attr_none setting x_X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10129 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
bbcb43c7b7
commit
6a233bec47
@ -1816,8 +1816,8 @@ static struct Damage battle_calc_weapon_attack(
|
|||||||
if(skill_num==TF_POISON)
|
if(skill_num==TF_POISON)
|
||||||
ATK_ADD(15*skill_lv);
|
ATK_ADD(15*skill_lv);
|
||||||
|
|
||||||
if (!(nk&NK_NO_ELEFIX) ||
|
if(!(nk&NK_NO_ELEFIX || (s_ele == ELE_NEUTRAL &&
|
||||||
(s_ele == ELE_NEUTRAL && !(battle_config.attack_attr_none&src->type)))
|
battle_config.attack_attr_none&src->type)))
|
||||||
{ //Elemental attribute fix
|
{ //Elemental attribute fix
|
||||||
if (wd.damage > 0)
|
if (wd.damage > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user