summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 7e10c6a5f..45c76c446 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/08/30
+ * Removed sending normal-damage packets instead of skill packets for
+ splash-damaged skills, since... well, that's how Aegis does it. [Skotlex]
* Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv
vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv
minutes. Hp/Sp is no longer set to 10 after a forced expiration. [Skotlex]
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;