patr3k Posted August 5, 2012 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
Jelly Posted August 5, 2012 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
patr3k Posted August 5, 2012 Author Posted August 5, 2012 yeah i mean where can i edit the item? Quote
Euphy Posted August 5, 2012 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
patr3k Posted August 6, 2012 Author 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
Euphy Posted August 6, 2012 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
patr3k Posted August 6, 2012 Author 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
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 patr3k6 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.