|
@@ -368,7 +368,7 @@ int32 skill_get_range2(struct block_list *bl, uint16 skill_id, uint16 skill_lv,
|
|
return range;
|
|
return range;
|
|
}
|
|
}
|
|
|
|
|
|
-/** Copy Referral: dummy skills should point32 to their source.
|
|
|
|
|
|
+/** Copy Referral: dummy skills should point to their source.
|
|
* @param skill_id Dummy skill ID
|
|
* @param skill_id Dummy skill ID
|
|
* @return Real skill id if found
|
|
* @return Real skill id if found
|
|
**/
|
|
**/
|
|
@@ -19776,16 +19776,16 @@ void skill_weaponrefine( map_session_data& sd, int32 idx ){
|
|
if(item->refine == 10 &&
|
|
if(item->refine == 10 &&
|
|
item->card[0] == CARD0_FORGE &&
|
|
item->card[0] == CARD0_FORGE &&
|
|
(int)MakeDWord(item->card[2],item->card[3]) == sd.status.char_id)
|
|
(int)MakeDWord(item->card[2],item->card[3]) == sd.status.char_id)
|
|
- { // Fame point32 system [DracoRPG]
|
|
|
|
|
|
+ { // Fame point system [DracoRPG]
|
|
switch(ditem->weapon_level){
|
|
switch(ditem->weapon_level){
|
|
case 1:
|
|
case 1:
|
|
- pc_addfame(sd, battle_config.fame_refine_lv1); // Success to refine to +10 a lv1 weapon you forged = +1 fame point32
|
|
|
|
|
|
+ pc_addfame(sd, battle_config.fame_refine_lv1); // Success to refine to +10 a lv1 weapon you forged = +1 fame point
|
|
break;
|
|
break;
|
|
case 2:
|
|
case 2:
|
|
- pc_addfame(sd, battle_config.fame_refine_lv2); // Success to refine to +10 a lv2 weapon you forged = +25 fame point32
|
|
|
|
|
|
+ pc_addfame(sd, battle_config.fame_refine_lv2); // Success to refine to +10 a lv2 weapon you forged = +25 fame point
|
|
break;
|
|
break;
|
|
case 3:
|
|
case 3:
|
|
- pc_addfame(sd, battle_config.fame_refine_lv3); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point32
|
|
|
|
|
|
+ pc_addfame(sd, battle_config.fame_refine_lv3); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -22358,8 +22358,8 @@ bool skill_produce_mix(map_session_data *sd, uint16 skill_id, t_itemid nameid, i
|
|
if (equip) {
|
|
if (equip) {
|
|
clif_produceeffect(sd,0,nameid);
|
|
clif_produceeffect(sd,0,nameid);
|
|
clif_misceffect( sd->bl, NOTIFYEFFECT_REFINE_SUCCESS );
|
|
clif_misceffect( sd->bl, NOTIFYEFFECT_REFINE_SUCCESS );
|
|
- if (wlv >= 3 && ((ele? 1 : 0) + sc) >= 3) // Fame point32 system [DracoRPG]
|
|
|
|
- pc_addfame(*sd, battle_config.fame_forge); // Success to forge a lv3 weapon with 3 additional ingredients = +10 fame point32
|
|
|
|
|
|
+ if (wlv >= 3 && ((ele? 1 : 0) + sc) >= 3) // Fame point system [DracoRPG]
|
|
|
|
+ pc_addfame(*sd, battle_config.fame_forge); // Success to forge a lv3 weapon with 3 additional ingredients = +10 fame point
|
|
} else {
|
|
} else {
|
|
int32 fame = 0;
|
|
int32 fame = 0;
|
|
tmp_item.amount = 0;
|
|
tmp_item.amount = 0;
|
|
@@ -22510,7 +22510,7 @@ bool skill_produce_mix(map_session_data *sd, uint16 skill_id, t_itemid nameid, i
|
|
case GC_CREATENEWPOISON:
|
|
case GC_CREATENEWPOISON:
|
|
clif_produceeffect(sd,3,nameid);
|
|
clif_produceeffect(sd,3,nameid);
|
|
clif_misceffect( sd->bl, NOTIFYEFFECT_PHARMACY_FAILURE );
|
|
clif_misceffect( sd->bl, NOTIFYEFFECT_PHARMACY_FAILURE );
|
|
- sd->potion_success_counter = 0; // Fame point32 system [DracoRPG]
|
|
|
|
|
|
+ sd->potion_success_counter = 0; // Fame point system [DracoRPG]
|
|
break;
|
|
break;
|
|
case BS_IRON:
|
|
case BS_IRON:
|
|
case BS_STEEL:
|
|
case BS_STEEL:
|