Is it possible to enchant a Random Option to an item after its identified by an NPC or using a magnifier?
for ex. a Poring drop an unidentified "knife" and I'll use a magnifier recognizing it as a "physical weapon category".. once it's identified it now has a 1-2 random option based on that category?
this was posted by Emistry to keep a random option once identified.. I would like some help with producing a random option once identified.. Any help will be very much appreciated..
Is it possible to enchant a Random Option to an item after its identified by an NPC or using a magnifier?
for ex. a Poring drop an unidentified "knife" and I'll use a magnifier recognizing it as a "physical weapon category".. once it's identified it now has a 1-2 random option based on that category?
this was posted by Emistry to keep a random option once identified.. I would like some help with producing a random option once identified.. Any help will be very much appreciated..
getinventorylist; for([email protected] = 0; [email protected] < @inventorylist_count; [email protected]++) { for ([email protected] = 1; [email protected] <= 5; [email protected]++) { [email protected]_bonus_id_array[[email protected]] = getd("inventorylist_option_id"[email protected]+"["[email protected]+"]"); [email protected]_bonus_value_array[[email protected]] = getd("inventorylist_option_value"[email protected]+"["[email protected]+"]"); [email protected]_bonus_param_array[[email protected]] = getd("inventorylist_option_parameter"[email protected]+"["[email protected]+"]"); } if ([email protected]_identify[[email protected]]) { delitem3 @inventorylist_id[[email protected]], 1, 0, @inventorylist_refine[[email protected]], @inventorylist_attribute[[email protected]], @inventorylist_card1[[email protected]], @inventorylist_card2[[email protected]], @inventorylist_card3[[email protected]], @inventorylist_card4[[email protected]], [email protected]_bonus_id_array, [email protected]_bonus_value_array, [email protected]_bonus_param_array; getitem3 @inventorylist_id[[email protected]], 1, 1, @inventorylist_refine[[email protected]], @inventorylist_attribute[[email protected]], @inventorylist_card1[[email protected]], @inventorylist_card2[[email protected]], @inventorylist_card3[[email protected]], @inventorylist_card4[[email protected]], [email protected]_bonus_id_array, [email protected]_bonus_value_array, [email protected]_bonus_param_array; [email protected]++; } } if ([email protected]) dispbottom [email protected] +" items identified.";
Edited by johnelle9Link to comment
Share on other sites