summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 00:11:59 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 00:11:59 +0000
commitedcfe2cb0a5e75a04657d1474151b65111316cda (patch)
tree539d2f689dd1cce441d2606833acfc4ce5158cc7 /src
parent2dd7fd293e506f2b84241e553895a92e062a1ed6 (diff)
downloadhercules-edcfe2cb0a5e75a04657d1474151b65111316cda.tar.gz
hercules-edcfe2cb0a5e75a04657d1474151b65111316cda.tar.bz2
hercules-edcfe2cb0a5e75a04657d1474151b65111316cda.tar.xz
hercules-edcfe2cb0a5e75a04657d1474151b65111316cda.zip
Fixed storm gust to always throw foe backwards from storm gust center, confirmed on official server
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15296 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5db61d5ca..a17eeec0f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2146,7 +2146,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
switch(skillid)
{
case MG_FIREWALL: direction = unit_getdir(bl); break; // backwards
- case WZ_STORMGUST: direction = rand()%8; break; // randomly
+ case WZ_STORMGUST: direction = unit_getdir(bl); break; // backwards
case PR_SANCTUARY: direction = unit_getdir(bl); break; // backwards
case WL_CRIMSONROCK: direction = map_calc_dir(bl,skill_area_temp[4],skill_area_temp[5]); break;