--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -2268,7 +2268,17 @@
}
}
else if(sd->inventory_data[index]->type == IT_ARMOR) {
+ #if REMODE
+ int r = sd->status.inventory[index].refine;
+ int interval = 0, per, refine=(r>0)?1:0;
+ for(per=1; per<r; per++){
+ if(per%4==0) interval++;
+ refine += interval + 1;
+ }
+ status->def += refine;
+ #else
+ refinedef += sd->status.inventory[index].refine*refinebonus[0][0];
+ #endif
- refinedef += sd->status.inventory[index].refine*refinebonus[0][0];
if(sd->inventory_data[index]->script) {
if( i == EQI_HAND_L ) //Shield
sd->state.lr_flag = 3;