Jump to content
  • 0

How to make an item to recognize the refine rate of other item


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hi, i was  trying to put new effects on my items and well, im stuck with this one effect, it goes like this:

 

It's a Lower Headgear that gives you +1 SP and +1 STR for eache refine of your Top Headgear

 

I was like "i will make it like this"

 

bonus bStr,getrefine(256)1;

 

bonus bStr,getrefine,256()1;

 

Maybe this?

{ if(getiteminfo(getequipid(EQI_HAND_R),11)==10) { bonus bInt,1; bonus bIgnoreMdefRate,2; } },{},{}

 

it is the effect o necromancer card, but i want it for top headgear D:!

 

or something like that

 

it is possible?

 

if it is, please help me to get that effect :D

 

thank you so much!

Edited by Kido
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Use getequiprefinerycnt

bonus bStr, getequiprefinerycnt( EQI_HEAD_TOP );
bonus bMaxSP, getequiprefinerycnt( EQI_HEAD_TOP );
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

wow that's amazing, it works with ifequiped?

becaus i need it to only a specific top headgear

for example, this will work?

 

if(isequipped(#ID)) { bonus bStr, getequiprefinerycnt( EQI_HEAD_TOP ); }

 

or how shoukd i combine them?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

I guess a mere test can answer your question. No need to bump the topic

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

wow that's amazing, it works with ifequiped?

becaus i need it to only a specific top headgear

for example, this will work?

yes, it will working

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

thank you, i also found other interesting thins on the doc folder o:!

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...