summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-17 20:39:42 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-17 20:39:42 +0000
commitb3fd25f45c560fce6f1db4181f3642022d2ccb94 (patch)
tree8fff28023bc72cad46338b0dd25ad7cedbf22436 /src/map/skill.c
parent6c343ca6bb3c64f1d8fadafe2c83c2a54d951411 (diff)
downloadhercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.gz
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.bz2
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.xz
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.zip
- Added +11 and above refiner NPC.
- Added NPC to refine Oridecons / Eluniums to Cardium / Bradium. - Added downrefitem script command and updated script_commands.txt with it. - Updated refine_db.txt with probably custom values for +11 to +20 values. Source : http://ratemyserver.net/index.php?page=misc_table_refine - Some little script improvements to Suhnbi. (Enriched Elunium / Oridecon Upgrader.) * Further improvements for the refinement system and refinement NPC's will come within the next few days. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16126 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 44e28860f..f4305d5f8 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -13307,7 +13307,7 @@ void skill_weaponrefine (struct map_session_data *sd, int idx)
if(item->nameid > 0 && ditem->type == IT_WEAPON)
{
if( item->refine >= sd->menuskill_val
- || item->refine >= MAX_REFINE // if it's no longer refineable
+ || item->refine >= 10 // if it's no longer refineable
|| ditem->flag.no_refine // if the item isn't refinable
|| (i = pc_search_inventory(sd, material [ditem->wlv])) < 0 )
{
@@ -13333,7 +13333,7 @@ void skill_weaponrefine (struct map_session_data *sd, int idx)
if (ep)
pc_equipitem(sd,idx,ep);
clif_misceffect(&sd->bl,3);
- if(item->refine == MAX_REFINE &&
+ if(item->refine == 10 &&
item->card[0] == CARD0_FORGE &&
(int)MakeDWord(item->card[2],item->card[3]) == sd->status.char_id)
{ // Fame point system [DracoRPG]