Jump to content
  • 0

Armor Enchanter


paolokupal

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  02/04/12
  • Last Seen:  

Can someone help me how to make this Armor Enchanter additional status will be system based.

If you get what i mean.

From the original Armor Enchanter itslef you will see multiple items from ID 4701 to 4752 that

is placed on the 4th slot of the equip.

I just want to make the additional stats that does not base on the Item ID.

It will be like the equipment refine count.

With this concept it will let me just to create a single ID for all the status.

Example:

ID : 4701 can be any of the status and it is refinable it can be increased.

Reason:

Because i want to add also the other attributes for the Armor Enchater and it will take too much of the time to finish everything and it will produce a very long script.

That's why i am thinking if it is possible to make a script at the src to make this things happen ?

Thank you :)

Edited by paolokupal
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

OnPCStatCalcEvent

prontera,154,186,6    script    kdjsfhskdfj    100,{
   getitem2 1201,1,1,0,0, 0,0,0,-4701;
   end;
OnPCStatCalcEvent:
   if ( isequipped(-4701) )
       bonus bstr, 100;
}

I also can't believe myself this is actually working

though, in-game it shows having apple at card4 slot

post-8685-0-18926300-1351333449_thumb.jpg

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  02/04/12
  • Last Seen:  

I had solved this problem by creating multiple Items of orbs :))

and by using this npc script getitem2 1201,1,1,0,0, 0,0,0,-4701;

Can i adjust the item_db2.txt Item ID ?

because the orbs flooded my ID 22001 upto 28979.

can i create an ID until 40000?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://www.eathena.ws/board/index.php?showtopic=168545

I couldn't update that topic anymore because that forum is now locked

but still, some of them are still useful

like your question ... item_db only up to 32767

just until yesterday only I know we can use negative item id if use this OnPCStatCalc modification

so we can actually expand them into negative item ID

the limit should be -32768 -> 32767 if that is a medint signed

EDIT: PS: I think this topic should belongs to database support

Edited by AnnieRuru
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...