From 0a40ae70878e56aa44ee7b2773f9cd6cf21981fb Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 2 Apr 2007 14:19:55 +0000 Subject: - Corrected the login TXT server not initializing the waiting_disconnect variable. - Corrected the attack_attr_none check being backwards. - All pets can now move regardless of their Mob counter part setting. - Added hom_setting&0x40, when set it clears the "can't reuse" skill delay when you vaporize a homunculus (set by default). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10120 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 596cdc55d..d3473872a 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1817,7 +1817,7 @@ static struct Damage battle_calc_weapon_attack( ATK_ADD(15*skill_lv); if (!(nk&NK_NO_ELEFIX) || - (s_ele == ELE_NEUTRAL && (battle_config.attack_attr_none&src->type))) + (s_ele == ELE_NEUTRAL && !(battle_config.attack_attr_none&src->type))) { //Elemental attribute fix if (wd.damage > 0) { -- cgit v1.2.3-70-g09d2