summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2014-10-30 22:52:08 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2014-10-30 22:52:08 +0800
commit72e18cdf9b612c476dd9ab2d45394c5e882e7dd1 (patch)
tree8926a1fab317842d999689e34dcbb79054e32210 /src/map/skill.c
parentc5173e0a294b653d0781851e6bb1d09d54cc6085 (diff)
downloadhercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.gz
hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.bz2
hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.xz
hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.zip
Fixed Bug#8012
-http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/?gopid=21893#entry21893 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 42aae546d..f762c4b41 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -14316,9 +14316,8 @@ int skill_vfcastfix(struct block_list *bl, double time, uint16 skill_id, uint16
break;
}
for( i = 0; i < ARRAYLENGTH(sd->skillfixcastrate) && sd->skillfixcastrate[i].id; i++ )
-
if( sd->skillfixcastrate[i].id == skill_id ){ // bonus2 bFixedCastrate
- fixcast_r = sd->skillfixcastrate[i].val; // just speculation
+ fixcast_r = sd->skillfixcastrate[i].val;
break;
}
}