bomo99 Posted March 30, 2018 Author Share Posted March 30, 2018 Now that i see how the Code Blocks work this isnt exactly what i wanted.what i wanted was for the items 3rd option to be used like a repair hammer with the repair menu just like how skeleton key acts like a lockpick that cant break i wanted the same for this item i am making so it can repair items without fear of it breaking. Link to comment Share on other sites More sharing options...
lubronbrons Posted March 30, 2018 Share Posted March 30, 2018 (edited) my last script suggestion should work, you need to create total 3 scriptsyou should equip the weapon first though for it to workschoose option 3 when you're readythen the weapon name will have additional text -INF-meansthat weapon will never broken until you remove the -INF- namehow to remove it / change it back, equip item contain -INF- select option 3 in menu, it should be back to original name again... Edited March 30, 2018 by lubronbrons Link to comment Share on other sites More sharing options...
bomo99 Posted March 30, 2018 Author Share Posted March 30, 2018 "that weapon will never broken" is not the part that i wanted as i said i wanted the items 3rd option to be used like a repair hammer that unbreakable not the weapon its repairing. Link to comment Share on other sites More sharing options...
lubronbrons Posted March 30, 2018 Share Posted March 30, 2018 (edited) oh sorry, language barrier. I failed to understand you well....after giving this some thoughtsI think you just want all weapon to become unbreakable in the endso why not go with simple solution, my first suggestionby doing this --> SetNumericGameSetting fDamageToWeaponPercentage 0definitely will solve your problem repair without hassle or...if you still want repairing things even tho your armorer is at level 1then I can't help you much regarding this EDIT :this is for armorSetNumericGameSetting fDamageToArmorPercentage 0 Edited March 30, 2018 by lubronbrons Link to comment Share on other sites More sharing options...
lubronbrons Posted March 30, 2018 Share Posted March 30, 2018 oh !I understand now here you go scn myMenu short choice ref rf1 begin GameMode Let choice := GetButtonPressed if choice == 0 Showenchantment elseif choice == 1 Showspellmaking elseif choice == 2 ;Where the Repair option will be if GetNumericINISetting fRepairSkillBreakBase Message "Unbreakable hammer on" SetNumericGameSetting fRepairBREAKAPPRENTICEMult 0 SetNumericGameSetting fRepairSkillBreakBase 0 SetNumericGameSetting fRepairSkillBreakMult 0 else ;back to vanilla setting Message "Revert repair hammer to vanilla setting" SetNumericGameSetting fRepairBREAKAPPRENTICEMult 0.5 SetNumericGameSetting fRepairSkillBreakBase 30 SetNumericGameSetting fRepairSkillBreakMult -0.2 endif endif end Link to comment Share on other sites More sharing options...
Recommended Posts