Jump to content
  • 0
Sign in to follow this  
n0tm3

Help with mycode

Question

I was trying to make an npc for my fallen angel wing enchant and I got stuck in this error.. can somebody please help? thanks

 

<code>

script error in line 13 column 16 parse_callfunc: expected ')' to close argument list

11:  if (getequipid(EQI_GARMENT) == 2589) {
12:   set .@menu$, "Enchant Archangel Wing";
13: if(getrefine(EQI_GARMENT)>=7) {
   ~~~~~~~~~~~~~~^
14:  set .@menu1$, "Second Slot";

</code>

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I got it.. can someone please delete this thread.. thanks :D

We don't necessarily delete topics. It'd be best for you to reply with how you 'fixed' it. This way, if other people have the same issue, they'll know how to fix it :)

Share this post


Link to post
Share on other sites
  • 0

ohh.. sorry.. 

 

I was trying to get the current refine of the equipped fallen angel wing. I was using the wrong method.

 

wrong code

(getrefine(EQI_GARMENT)

 

right code to use 

getequiprefinerycnt(EQI_GARMENT)

 

 

:D

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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