viewing paste Unknown #5611 | Diff

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
Index: src/map/clif.c
===================================================================
--- src/map/clif.c  (revision 16242)
+++ src/map/clif.c  (working copy)
@@ -5846,7 +5846,7 @@
    WFIFOHEAD(fd, MAX_INVENTORY * 13 + 4);
    WFIFOW(fd,0)=0x221;
    for(i=c=0;i<MAX_INVENTORY;i++){
-       if(sd->status.inventory[i].nameid > 0 && sd->status.inventory[i].refine < skilllv &&
+       if(sd->status.inventory[i].nameid > 0 && sd->status.inventory[i].refine < 20 &&
            sd->status.inventory[i].identify && (wlv=itemdb_wlv(sd->status.inventory[i].nameid)) >=1 &&
            refine_item[wlv]!=-1 && !(sd->status.inventory[i].equip&EQP_ARMS)){
            WFIFOW(fd,c*13+ 4)=i+2;
Index: src/map/skill.c
===================================================================
--- src/map/skill.c (revision 16242)
+++ src/map/skill.c (working copy)
@@ -13357,8 +13357,8 @@
 
        if(item->nameid > 0 && ditem->type == IT_WEAPON)
        {
-           if( item->refine >= sd->menuskill_val
-           ||  item->refine >= 10      // if it's no longer refineable
+           if( item->refine >= 20
+           ||  item->refine >= 20      // 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 )
            {
Index: src/map/status.h
===================================================================
--- src/map/status.h    (revision 16242)
+++ src/map/status.h    (working copy)
@@ -18,7 +18,7 @@
 #ifdef RENEWAL
 #  define MAX_REFINE 20
 #else
-#  define MAX_REFINE 10
+#  define MAX_REFINE 20
 #endif
 
 enum refine_type {
Viewed 1412 times, submitted by lilcooldude69.