summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-08-10 23:07:42 +0800
committerHaru <haru@dotalux.com>2016-08-14 17:53:23 +0200
commit26f1241ca5e58d95845aba101d7026759fa15e4b (patch)
treeddbe9bf60c41783db7e08d5eb640b99164720ef1 /src/map/skill.c
parent694070de091852a2b3426072d2141224391a8cc8 (diff)
downloadhercules-26f1241ca5e58d95845aba101d7026759fa15e4b.tar.gz
hercules-26f1241ca5e58d95845aba101d7026759fa15e4b.tar.bz2
hercules-26f1241ca5e58d95845aba101d7026759fa15e4b.tar.xz
hercules-26f1241ca5e58d95845aba101d7026759fa15e4b.zip
Update pc_steal_coin parameter
Added skill_lv as parameter to *pc_steal_coin() Closes #1395 as merged Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-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 a7ed0b8f2..40001659c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6538,7 +6538,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
case RG_STEALCOIN:
if(sd) {
- int amount = pc->steal_coin(sd, bl);
+ int amount = pc->steal_coin(sd, bl, skill_lv);
if( amount > 0 ) {
dstmd->state.provoke_flag = src->id;
mob->target(dstmd, src, skill->get_range2(src, skill_id, skill_lv));