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..
Question
Selerie
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(.@i = 0; .@i < @inventorylist_count; .@i++) { for (.@r = 1; .@r <= 5; .@r++) { .@random_bonus_id_array[.@r] = getd("inventorylist_option_id"+.@r+"["+.@i+"]"); .@random_bonus_value_array[.@r] = getd("inventorylist_option_value"+.@r+"["+.@i+"]"); .@random_bonus_param_array[.@r] = getd("inventorylist_option_parameter"+.@r+"["+.@i+"]"); } if (!@inventorylist_identify[.@i]) { delitem3 @inventorylist_id[.@i], 1, 0, @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i], .@random_bonus_id_array, .@random_bonus_value_array, .@random_bonus_param_array; getitem3 @inventorylist_id[.@i], 1, 1, @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i], .@random_bonus_id_array, .@random_bonus_value_array, .@random_bonus_param_array; .@count++; } } if (.@count) dispbottom .@count +" items identified.";
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.