summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-30 14:22:20 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-30 14:22:20 +0000
commitaeee18c7d82d307ff53a1d4f113da26e513a6cf7 (patch)
treeb3bd0ccea4745145b3bbfd2514c86398105fc9bd /src
parentc3c791815f1a75df92a4a11bfb1f4410dc3c9d57 (diff)
downloadhercules-aeee18c7d82d307ff53a1d4f113da26e513a6cf7.tar.gz
hercules-aeee18c7d82d307ff53a1d4f113da26e513a6cf7.tar.bz2
hercules-aeee18c7d82d307ff53a1d4f113da26e513a6cf7.tar.xz
hercules-aeee18c7d82d307ff53a1d4f113da26e513a6cf7.zip
- Removed sending normal-damage packets instead of skill packets for splash-damaged skills, since... well, that's how Aegis does it.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8548 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0a6decf22..8f984019e 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2054,10 +2054,14 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
break;
}
default:
+// Aegis sends the same packet for both targetted and splash-targetted enemies,
+// therefore SD_ANIMATION isn't really of any use...
+/*
if (flag&SD_ANIMATION) //Disable skill animation.
dmg.dmotion = clif_damage(dsrc,bl,tick, dmg.amotion, dmg.dmotion,
damage, dmg.div_, 8, dmg.damage2);
else
+*/
dmg.dmotion = clif_skill_damage(dsrc,bl,tick, dmg.amotion, dmg.dmotion,
damage, dmg.div_, skillid, flag&SD_LEVEL?-1:skilllv, type);
break;