Jump to content
  • 0
ItsFree

consumable item with "atcommand"

Question

Hi, i'd like to ask how could i put the script and it do the next:

 

[email protected] = getrefine(); if ([email protected]>=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!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.