summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-23 03:25:33 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-23 03:25:33 +0000
commitd5ed6070886bb3dc2d15c7cc69950762f7f885f1 (patch)
treed8e0bdcffd24290695a509d590ab0d523544b364 /src/map/skill.c
parenta4238c21464e3bf61150795d49f9478293cae586 (diff)
downloadhercules-d5ed6070886bb3dc2d15c7cc69950762f7f885f1.tar.gz
hercules-d5ed6070886bb3dc2d15c7cc69950762f7f885f1.tar.bz2
hercules-d5ed6070886bb3dc2d15c7cc69950762f7f885f1.tar.xz
hercules-d5ed6070886bb3dc2d15c7cc69950762f7f885f1.zip
Splash attacks do cause additional effects except for autocasts. (bugreport:2661)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13804 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8baf27b95..6e387c533 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -550,8 +550,8 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
{
case 0: // Normal attacks (no skill used)
{
- if( !(attack_type&BF_WEAPON) )
- break; // If a normal attack is not a weapon attack, it's splash damage. [Inkfish]
+ if( attack_type&BF_SKILL )
+ break; // If a normal attack is a skill, it's splash damage. [Inkfish]
if(sd) {
// Automatic trigger of Blitz Beat
if (pc_isfalcon(sd) && sd->status.weapon == W_BOW && (skill=pc_checkskill(sd,HT_BLITZBEAT))>0 &&
@@ -1830,9 +1830,6 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
ud->attackabletime = tick + type;
}
- if( !skillid && flag&1 )
- dmg.flag &= ~BF_WEAPON; // hack to make splash attack not trigger anything else.
-
if( !dmg.amotion )
{ //Instant damage
status_fix_damage(src,bl,damage,dmg.dmotion); //Deal damage before knockback to allow stuff like firewall+storm gust combo.