From e4d1b04f83674a0c0d766b12f906c66473a3e69c Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 12 Sep 2006 13:42:54 +0000 Subject: - Baphomet splash damage will now hit nearby enemies regardless of flee (but the initial attack still has to connect for the splash to trigger) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8716 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 7b90f2ff5..749a71aa6 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1056,6 +1056,11 @@ static struct Damage battle_calc_weapon_attack( if (sc && sc->data[SC_SPIRIT].timer != -1 && sc->data[SC_SPIRIT].val2 == SL_CRUSADER) flag.hit = 1; break; + case 0: + //If flag, this is splash damage from Baphomet Card and it always hits. + if (wflag) + flag.hit = 1; + break; } if (tsc && !flag.hit && tsc->opt1 && tsc->opt1 != OPT1_STONEWAIT) flag.hit = 1; -- cgit v1.2.3-60-g2f50