ItsFree Posted January 17, 2022 Posted January 17, 2022 Hi, i'd like to ask how could i put the script and it do the next: .@r = getrefine(); if (.@r>=6) atcommand i've this but after atcommand i tried with: atcommand "@refine 4,+1" but just dont works, what am i doing bad? thanks! what i want? a consume item that let me refine an item but it needs at least X refine level. Thanks! Quote
0 Start_ Posted January 17, 2022 Posted January 17, 2022 (edited) No comma on that command. "@refine 4 +1" Edited January 17, 2022 by Start_ Quote
0 ItsFree Posted January 17, 2022 Author Posted January 17, 2022 i tried with this: .@r = getrefine(); if (.@r>=6) atcommand "@refine 4 +1"; but got: Quote
0 Start_ Posted January 17, 2022 Posted January 17, 2022 (edited) Did you use atcommand outside item bonus script? (Maybe post whole related things here.) But try use it directly on item bonus script first. Edited January 17, 2022 by Start_ Quote
0 Emistry Posted May 1, 2022 Posted May 1, 2022 if you're running NPC script, use this instead *successrefitem <equipment slot>{,<count>{,<char_id>}}; This command will refine an item in the specified equipment slot of the invoking character by +1, or a count if given. For a list of equipment slots see 'getequipid'. This command will also display a 'refine success' effect on the character and put appropriate messages into their chat window. It will also give the character fame points if a weapon reached +10 this way, even though these will only take effect for blacksmith who will later forge a weapon. if (getrefine() >= 6) successrefitem EQI_ARMOR, 1; Quote
Question
ItsFree
Hi, i'd like to ask how could i put the script and it do the next:
.@r = getrefine(); if (.@r>=6) atcommand
i've this but after atcommand i tried with: atcommand "@refine 4,+1" but just dont works, what am i doing bad? thanks!
what i want? a consume item that let me refine an item but it needs at least X refine level.
Thanks!
5 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.