patr3k Posted August 5, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Share Posted August 5, 2012 (edited) 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 August 5, 2012 by patr3k Quote Link to comment Share on other sites More sharing options...
Jelly Posted August 5, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 186 Reputation: 0 Joined: 01/08/12 Last Seen: November 12, 2014 Share Posted August 5, 2012 Use item_bonus list: { bonus bonus bCritical,10; bonus bAspd,3; bonus bFlee,10; bonus bFlee2,5; if(getrefine() >= 10) { bonus bLongAtkRate,10; } },{},{} Quote Link to comment Share on other sites More sharing options...
patr3k Posted August 5, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Author Share Posted August 5, 2012 yeah i mean where can i edit the item? Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 5, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 5, 2012 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/item_db.txt https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/item_db2.txt https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/sql-files/item_db.sql https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/sql-files/item_db2.sql Quote Link to comment Share on other sites More sharing options...
patr3k Posted August 6, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Author Share Posted August 6, 2012 (edited) 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 August 6, 2012 by patr3k Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 6, 2012 Nothing. All constants are defined in db\const.txt, and you'll notice that "RC_DemiHuman" is equivalent to "7": RC_DemiHuman 7 Quote Link to comment Share on other sites More sharing options...
patr3k Posted August 6, 2012 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 257 Reputation: 7 Joined: 03/12/12 Last Seen: May 31, 2014 Author Share Posted August 6, 2012 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;}} Quote Link to comment Share on other sites More sharing options...
Question
patr3k
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 patr3kLink to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.