Jump to content
  • 0

Script Enlighten :) for PD and Reflect per Refine ::))


NexusXVI

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

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

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

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 by Mootie
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

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 by NexusXVI
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

no problem happy to help you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

trunk/doc/item_bonus.txt


bonus bFlee2,( 3 * getequiprefinerycnt( <EQIMENTSLOT> ) );

bShortWeaponDamageReturn,( 5 * getequiprefinerycnt( <EQIMENTSLOT> ) );

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

[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

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   6
  • Joined:  01/18/12
  • Last Seen:  

Thanks Sir Emistry!! Mark this as SOLVED tyty!!

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