NexusXVI Posted November 18, 2012 Posted November 18, 2012 How do you script Perfect dodge +3 per refine so if an Item is +10 = +30 PD Reflect on Shortrange weapon 5% so if an item is +10 = 50%Shortdamage reflect TYTY!! Quote
Mootie Posted November 18, 2012 Posted November 18, 2012 (edited) next time bro use search engine all of your answer is within it so here we go http://ratemyserver.......&i_status=-1[%20]=-1&isearch=Search&itype=4&page=item_db use your own risk look for Tae Goo Lyeon item thats the similar for when refining here's another info { bonus2 bSubRace,RC_DemiHuman,10; if(getrefine()>7) { bonus2 bSubRace,RC_DemiHuman,3; } },{},{} just look for items that has a similar and make your script for per refine example +1 +2 +3 gets +3 of str or something that you put it on here { bonus2 bSubEle,Ele_Neutral,30; if(getrefine()>1) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>2) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>3) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>4) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>5) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>6) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>7) {bonus2 bSubEle,Ele_Neutral,1; } if(getrefine()>8) {bonus2 bSubEle,Ele_Neutral,1;} if(getrefine()>9) {bonus2 bSubEle,Ele_Neutral,1;} if(getrefine()>10) {bonus2 bSubEle,Ele_Neutral,1;} },{},{} i just give you example for per refine you have to fix it for your own script Edited November 18, 2012 by Mootie 1 Quote
NexusXVI Posted November 18, 2012 Author Posted November 18, 2012 (edited) Hehe I've been doing that sir and thanks for waking me up.. THNX THNX THNX!! When I saw the valk manteau script my head turns like hell since its now the same with any other script 2524,Valkyrie_Manteau,Valkyrian Manteau,5,0,,500,,3,,1,0xFFFFFFFE,7,2,4,,1,1,0,{ bonus bUnbreakableGarment,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Thief) bonus bFlee2,3(getequiprefinerycnt(EQI_GARMENT)*1); else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Acolyte) bonus bShortWeaponDamageReturn,5(getequiprefinerycnt(EQI_GARMENT)*1); },{},{} Anyways THnx Edited November 18, 2012 by NexusXVI Quote
NexusXVI Posted November 18, 2012 Author Posted November 18, 2012 It gives so much error I would like to have a script per refine please..script you gave me per refine render my Vm useless Quote
Emistry Posted November 18, 2012 Posted November 18, 2012 trunk/doc/item_bonus.txt bonus bFlee2,( 3 * getequiprefinerycnt( <EQIMENTSLOT> ) ); bShortWeaponDamageReturn,( 5 * getequiprefinerycnt( <EQIMENTSLOT> ) ); 1 Quote
NexusXVI Posted November 20, 2012 Author Posted November 20, 2012 [Error]: script error on db/item_db.txt line 1411 parse_line: expect command, missing function name or calling undeclared function * 1411 : { bonus bUnbreakableGarment,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus bFlee2,( 3 * getequiprefinerycnt(EQI_GARMENT) ); else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||BaseClass==Job_Taekwon) 'b'ShortWeaponDamageReturn,( 5 * getequiprefinerycnt(EQI_GARMENT) ); } Bumb!! bonus bFlee2,( 3 * getequiprefinerycnt( <EQIMENTSLOT> ) ); bShortWeaponDamageReturn,( 5 * getequiprefinerycnt( <EQIMENTSLOT> ) ); this seems to be right sir Emistry but.. i dont know what to put on ( <EQIMENTSLOT> ) thats the thing that gives me error Quote
Emistry Posted November 20, 2012 Posted November 20, 2012 this seems to be right sir Emistry but.. i dont know what to put on ( <EQIMENTSLOT> ) thats the thing that gives me error refer here.... put the 'constant' or the 'value' EQI_HEAD_TOP (1) - Upper head gear EQI_ARMOR (2) - Armor (Where you keep your Jackets and Robes) EQI_HAND_L (3) - What is in your Left hand. EQI_HAND_R (4) - What is in your Right hand. EQI_GARMENT (5) - The garment slot (Mufflers, Hoods, Manteaus) EQI_SHOES (6) - What foot gear the player has on. EQI_ACC_L (7) - Accessory 1. EQI_ACC_R (8) - Accessory 2. EQI_HEAD_MID (9) - Middle Headgear (masks and glasses) EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks) 1 Quote
NexusXVI Posted November 20, 2012 Author Posted November 20, 2012 Thanks Sir Emistry!! Mark this as SOLVED tyty!! Quote
Question
NexusXVI
How do you script
Perfect dodge +3 per refine so if an Item is +10 = +30 PD
Reflect on Shortrange weapon 5% so if an item is +10 = 50%Shortdamage reflect TYTY!!
8 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.