Jump to content
  • 0

item script


patr3k

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   7
  • Joined:  03/12/12
  • Last Seen:  

How can i edit the item script?

for example:

Pisces Crown

aspd +3 crit +10

flee +10 perfect dodge +5

if upgrade to +10

additional 10% range damge

Edited by patr3k
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  186
  • Reputation:   0
  • Joined:  01/08/12
  • Last Seen:  

Use item_bonus list:

{ bonus bonus bCritical,10; bonus bAspd,3; bonus bFlee,10; bonus bFlee2,5; if(getrefine() >= 10) { bonus bLongAtkRate,10; } },{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   7
  • Joined:  03/12/12
  • Last Seen:  

yeah i mean where can i edit the item?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   7
  • Joined:  03/12/12
  • Last Seen:  

i need someone to correct me.

aguarius diadem

int +5 mtk +10%

if ugrade to +10, addtional 10% reduction to demi human.

is this correct --- > {bonus bInt,5; bonus bMatkRate,10; if(getrefine()>=10) {bonus2 bSubRace,7,10;}}

what is the difference between :

this {bonus2 bSubRace,7,10} and this one { bonus2 bSubRace,RC_DemiHuman,10; }

Edited by patr3k
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Nothing. All constants are defined in db\const.txt, and you'll notice that "RC_DemiHuman" is equivalent to "7":

RC_DemiHuman    7

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   7
  • Joined:  03/12/12
  • Last Seen:  

i see.

int +5, mtk +10%, if ugrade to +10, addtional 10% reduction to demi human.

so, is this correct? {bonus bInt,5; bonus bMatkRate,10; if(getrefine()>=10) {bonus2 bSubRace,7,10;}}

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