summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-13 17:42:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-13 17:42:54 +0300
commitcada1361b6225b4bafcab0f54400b24ce74678f6 (patch)
treed81d12f018c5c16c349c76f8b3c62d119cf3b0f0 /src/emap/script_buildins.c
parent84e7b04c06143973ca06a165b17e910f6a488bfb (diff)
downloadevol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.gz
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.bz2
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.tar.xz
evol-hercules-cada1361b6225b4bafcab0f54400b24ce74678f6.zip
Fix plugin after server update.
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r--src/emap/script_buildins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c
index 2a152df..a50caf7 100644
--- a/src/emap/script_buildins.c
+++ b/src/emap/script_buildins.c
@@ -1245,13 +1245,13 @@ BUILDIN(successRefIndex)
switch (sd->inventory_data[n]->wlv)
{
case 1:
- pc->addfame(sd,1); // Success to refine to +10 a lv1 weapon you forged = +1 fame point
+ pc->addfame(sd, RANKTYPE_BLACKSMITH, 1); // Success to refine to +10 a lv1 weapon you forged = +1 fame point
break;
case 2:
- pc->addfame(sd,25); // Success to refine to +10 a lv2 weapon you forged = +25 fame point
+ pc->addfame(sd, RANKTYPE_BLACKSMITH, 25); // Success to refine to +10 a lv2 weapon you forged = +25 fame point
break;
case 3:
- pc->addfame(sd,1000); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point
+ pc->addfame(sd, RANKTYPE_BLACKSMITH, 1000); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point
break;
}
}