Jump to content

Custom Enchantment System


kenedos

Recommended Posts


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

sir? how to fix item sprites can't view inside eq? when use @item i can see sprites? or the script missing something?

Edit:

i already check itemdes,itemrename,itemres all no problem. @@" i can view those sprites. just in eq dun have only.

http://rathena.org/b...-max-slot-edit/

http://rathena.org/b...m-how-to-solve/

Edited by manabeast
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   42
  • Joined:  02/19/12
  • Last Seen:  

Sorry for my late replies, there it goes :

@sizenine

Hmm, I'm not sure it will work but if you negate the additional "if's" that I have made before, then it will catch

just the opposite of what i made (which means only the items in the list will be available to be enchanted).

1)

// Sets array for blacklist elements
 setarray .@blacklist[0], 1501 ;
 for( set .@i,1; .@i <= 6; set .@i,.@i+1 )
 {
  if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields
       set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
       set .@arr[.@j], .@i;
       set .@j, .@j + 1;
       set .@menu$, .@menu$ + ":";
  }
  for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 )
  {
       if (getequipid(.@i) == .@blacklist[.@i])
       {
        set .@blacklisteq, 1;
        break;
       }
  }

  if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3) && (!.@blacklisteq)) {
       set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
       set .@arr[.@j], .@i;
       set .@j, .@j + 1;
       set .@menu$, .@menu$ + ":";
  }

  set .@blacklisteq, 0;

 }

with

// Sets array for blacklist elements
 setarray .@blacklist[0], 1501 ;
 for( set .@i,1; .@i <= 6; set .@i,.@i+1 )
 {
  if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields
       set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
       set .@arr[.@j], .@i;
       set .@j, .@j + 1;
       set .@menu$, .@menu$ + ":";
  }
  for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 )
  {
       if (getequipid(.@i) == .@blacklist[.@i])
       {
        set .@blacklisteq, 1;
        break;
       }
  }

  // Negated the if bellow
  if (! (getequipisequiped(.@i) && (.@i != 4) && (.@i != 3) && (!.@blacklisteq))  ) {
       set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";
       set .@arr[.@j], .@i;
       set .@j, .@j + 1;
       set .@menu$, .@menu$ + ":";
  }

  set .@blacklisteq, 0;

 }

then the second "if"..

Replace :

if (countitem(.@itemid) > 1) {
  mes "["+strnpcinfo(1)+"]";
  mes "Ah, looks like you have more than one of the same item in your inventory, I'm sorry but you must store them first before proceeding.";
  close;
 }
for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 )
  {
       if (getequipid(.@i) == .@blacklist[.@i])
       {
        mes "["+strnpcinfo(1)+"]";
        mes "Sorry but the equipment you are using cannot be enchanted.";
        close;
       }
  }
 mes "["+strnpcinfo(1)+"]";

with

if (countitem(.@itemid) > 1) {
  mes "["+strnpcinfo(1)+"]";
  mes "Ah, looks like you have more than one of the same item in your inventory, I'm sorry but you must store them first before proceeding.";
  close;
 }
for (set .@k, 0; .@k < getarraysize(.@blacklist); set .@k, .@k + 1 )
  {
       // Negated the if bellow, same as using inequal rather than equal.
       if (! (getequipid(.@i) == .@blacklist[.@i]) )
       {
        mes "["+strnpcinfo(1)+"]";
        mes "Sorry but the equipment you are using cannot be enchanted.";
        close;
       }
  }
 mes "["+strnpcinfo(1)+"]";

@donkeyg

Yeah unfortunately the script makes use of the 2nd, 3rd and 4th slots in the equipments to place in the enchantments, and by default,

the command that takes out the card from equipment (the command used by the decarder) takes out all of the cards in any slots of the equipment.

The decarder command does that so that it can work properly when uncarding weapons, that have more than one card slotted in at the same time.

If you want to use both together, you will need to go under your "server folder / src / map / script.c" and find the two build-in functions :

- successremovecards

- failedremovecards

so that this way they only remove the first slot in the armor-type equips. but be aware, you must also make sure you decard all the four cards when you are decarding weapons.

@manabeast

hmm, the problem isn't from the script itself, it's a sprite-related problem so i assume the problem would be coming from your client, I'm not really sure where's the problem, it could be many things such as korean sprites missing, wrong data txts, incompatibility with client hex, IDs not matching sprites and such.

I'm not really sure how to help you, my suggestion is try using different client hexes, if they all don't work then try changing the korean sprites of one item to another item...

I'm honestly not sure, sorry..

Edited by kenedos
  • Upvote 1
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   0
  • Joined:  09/13/12
  • Last Seen:  

bro, can i ask if its possible using this script without an npc?, like refiner itself but have a target itself example for armor only, headgears etc...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

the problem solved.

numitemdes

numitemname those must write too. if not you insert item will get sprite not read =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

i suggestion :>

When using enchantment system theres 3 type of changes

• when using enchant system gives a mid percent (50%) negative effect like Str - 3 instead of Positive effect.

• Enchant can remove but needed to pay ( i think it is possible :> )

• Low chance to get the highest effect, 50%/Mid chance to get the negative Highest effect.

  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

How to enchant Costume item + Accesory.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   0
  • Joined:  11/29/12
  • Last Seen:  

when i use this script its working but i cant see the sprite i only see is unknown apple i already config the idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable and also the num2itemdesctable,num2itemdisplaynametable,num2itemresnametable

and one thing i dunno what to do with the item_db2.sql im confuse if i just goin to paste it and save or execute it on sql

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

How can i edit to able armor enchant only?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

The Following things may bug this system :

- Your server has more than 1 slots for armors (footgears, headgears, etc).

- Your server has a decarder NPC

- Your server has a "Sign your name on item" NPC.

- Your server uses 2nd, 3rd or 4th slots for armors for something else.

- Be carefull with Mora Items, make sure to add them as an exception.

- Be carefull with the normal armor enchant NPC in south prontera. (Recommended you remove it)

Thats not a lot of bugs, lol. Actually I wouldn't really call them bugs at all! There friendly warnings and I have them in my scripts. Such as don't use the Jokers in my Video Poker script unless you modify the payout amounts, lol. I really just wanted to say very nice job, thanks!!!

Peopleperson49

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   1
  • Joined:  01/06/12
  • Last Seen:  

I have problem with this script

i can successfully enchant item but when i reconnect my char it will gone??

then i think the bonuses is not working also??

help please

kenedos

post-1302-0-10634700-1357016689_thumb.jpg

post-1302-0-19126600-1357016694_thumb.jpg

post-1302-0-36939300-1357016699_thumb.jpg

post-1302-0-13239100-1357016703_thumb.jpg

post-1302-0-92833900-1357016706_thumb.jpg

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  12/23/12
  • Last Seen:  

does anyone have a iteminfo.lua for this? cuz mine doesnt read

idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable

and also the

num2itemdesctable,num2itemdisplaynametable,num2itemresnametable

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  138
  • Reputation:   1
  • Joined:  12/27/11
  • Last Seen:  

hi kenedos, how can i make this script enchant also accessories like rwc ring and rwc pendant?

 

thank you for this script!

Edited by Natsu Dragneel
Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

can i ask, how if i only need to add to upper,middle and lower headgear?? what part have i change??

 

thanks

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  01/22/12
  • Last Seen:  

some one please fix the item_db

most of the effect does not work anymore with the current rathena.,.

anyone help please^^

// Custom Enchanting System ---------------------------------------------------------------------------------------
// Fighter Bonuses ------------------------------------------------------------------------------------------------
25000,S_Strength1,Fighter STR+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,1; },{},{}
25001,S_Strength2,Fighter STR+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,2; },{},{}
25002,S_Vitality1,Fighter VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; },{},{}
25003,S_Vitality2,Fighter VIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,2; },{},{}
25004,S_Vitality3,Fighter VIT+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,3; },{},{}
25005,S_StrVit1,Fighter STR+1/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,1; bonus bVit,1; },{},{}
25006,S_StrVit2,Fighter STR+2/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,2; bonus bVit,1; },{},{}
25007,S_StrVit3,Fighter STR+1/VIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,1; bonus bVit,2; },{},{}
25008,S_MHp1,Fighter MHp+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,1; },{},{}
25009,S_MHp2,Fighter MHp+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,2; },{},{}
25010,S_Atk1,Fighter ATK+5,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,5; },{},{}
25011,S_Atk2,Fighter ATK+10,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,10; },{},{}
25012,S_Atk3,Fighter ATK+15,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,15; },{},{}
25013,S_Reduction1,Fighter Physical Reduction+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubRace,RC_Boss,1; bonus2 bSubRace,RC_NonBoss,1; },{},{}
25014,S_Damage1,Fighter Damage+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,1; bonus2 bAddRace,RC_NonBoss,1; },{},{}
25015,S_Damage2,Fighter Damage+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,2; bonus2 bAddRace,RC_NonBoss,2; },{},{}
25016,S_Def1,Fighter DEF+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDef,1; },{},{}
25017,S_Def2,Fighter DEF+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDef,2; },{},{}
// Mage Bonuses ---------------------------------------------------------------------------------------------------
25018,S_Int1,Mage INT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,1; },{},{}
25019,S_Int2,Mage INT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,2; },{},{}
25020,S_Int3,Mage INT+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,3; },{},{}
25021,S_Dex1,Mage DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; },{},{}
25022,S_Dex2,Mage DEX+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,2; },{},{}
25023,S_IntDex1,Mage INT+1/DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bInt,1; },{},{}
25024,S_IntDex2,Mage INT+1/DEX+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,2; bonus bInt,1; },{},{}
25025,S_IntDex3,Mage INT+2/DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bInt,2; },{},{}
25026,S_MSp1,Mage MSp+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxSpRate,1; },{},{}
25027,S_MSp2,Mage MSp+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxSpRate,2; },{},{}
25028,S_MSp3,Mage MSp+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxSpRate,3; },{},{}
25029,S_Matk1,Mage Matk+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMatkRate,1; },{},{}
25030,S_Matk2,Mage Matk+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMatkRate,2; },{},{}
25031,S_Cast1,Mage Cast-2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bCastrate,-2; },{},{}
25032,S_Cast2,Mage Cast-4%,6,20,10,0,,,,,,,,16,,,,,{ bonus bCastrate,-4; },{},{}
25033,S_MdefIgnore1,Mage Mdef Ignore+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bIgnoreMdefRate,1; },{},{}
25034,S_MdefIgnore2,Mage Mdef Ignore+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bIgnoreMdefRate,2; },{},{}
25035,S_MDEF1,Mage MDEF+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bMdef,1; },{},{}
25036,S_MDEF2,Mage MDEF+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bMdef,2; },{},{}
25037,S_MDEF3,Mage MDEF+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bMdef,3; },{},{}
// Thief Bonuses -------------------------------------------------------------------------------------------------
25038,S_Agi1,Thief AGI+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,1; },{},{}
25039,S_Agi2,Thief AGI+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,2; },{},{}
25040,S_Agi3,Thief AGI+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,3; },{},{}
25041,S_Luk1,Thief LUK+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,1; },{},{}
25042,S_Luk2,Thief LUK+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,2; },{},{}
25043,S_AgiLuk1,Thief AGI+1/LUK+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,1; bonus bAgi,1; },{},{}
25044,S_AgiLuk2,Thief AGI+1/LUK+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,2; bonus bAgi,1; },{},{}
25045,S_AgiLuk3,Thief AGI+2/LUK+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,1; bonus bAgi,2; },{},{}
25046,S_Crit1,Thief CRIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,2; },{},{}
25047,S_Crit2,Thief CRIT+4,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,4; },{},{}
25048,S_Crit3,Thief CRIT+6,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,6; },{},{}
25049,S_Flee1,Thief FLEE+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,3; },{},{}
25050,S_Flee2,Thief FLEE+6,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,6; },{},{}
25051,S_Flee3,Thief FLEE+9,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,9; },{},{}
25052,S_Damage4,Thief Damage+2%/MHp-1%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,2; bonus2 bAddRace,RC_NonBoss,2; bonus bMaxHpRate,-1; },{},{}
25053,S_Damage5,Thief Damage+4%/MHp-2%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,4; bonus2 bAddRace,RC_NonBoss,4; bonus bMaxHpRate,-2; },{},{}
25054,S_PDodge1,Thief P.Dodge+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee2,1; },{},{}
25055,S_PDodge2,Thief P.Dodge+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee2,2; },{},{}
25056,S_Aspd1,Thief ASPD+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,1; },{},{}
25057,S_Aspd2,Thief ASPD+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,2; },{},{}
25058,S_Aspd3,Thief ASPD+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,3; },{},{}
// Archer Bonuses -------------------------------------------------------------------------------------------------
25059,S_Dex3,Archer DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; },{},{}
25060,S_Dex4,Archer DEX+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,2; },{},{}
25061,S_Dex5,Archer DEX+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,3; },{},{}
25062,S_Agi4,Archer AGI+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,1; },{},{}
25063,S_Agi5,Archer AGI+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,2; },{},{}
25064,S_Agi6,Archer AGI+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,3; },{},{}
25065,S_AgiDex1,Archer AGI+1/DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bAgi,1; },{},{}
25066,S_AgiDex2,Archer AGI+1/DEX+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,2; bonus bAgi,1; },{},{}
25067,S_AgiDex3,Archer AGI+2/DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bAgi,2; },{},{}
25068,S_Crit4,Archer CRIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,1; },{},{}
25069,S_Crit5,Archer CRIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,2; },{},{}
25070,S_Crit6,Archer CRIT+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bCritical,3; },{},{}
25071,S_Flee4,Archer FLEE+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,3; },{},{}
25072,S_Flee5,Archer FLEE+6,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,6; },{},{}
25073,S_Flee6,Archer FLEE+9,6,20,10,0,,,,,,,,16,,,,,{ bonus bFlee,9; },{},{}
25074,S_Bow1,Archer Bow Damage+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bLongAtkRate,2; },{},{}
25075,S_Bow2,Archer Bow Damage+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus bLongAtkRate,3; },{},{}
25076,S_Hit1,Archer Hit+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bHit,2; },{},{}
25077,S_Hit2,Archer Hit+4,6,20,10,0,,,,,,,,16,,,,,{ bonus bHit,4; },{},{}
25078,S_Hit3,Archer Hit+6,6,20,10,0,,,,,,,,16,,,,,{ bonus bHit,6; },{},{}
25079,S_Aspd4,Archer ASPD+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,1; },{},{}
25080,S_Aspd5,Archer ASPD+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,2; },{},{} 
// Merchant Bonuses ------------------------------------------------------------------------------------------------
25081,S_Str3,Merchant STR+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,1; },{},{}
25082,S_Str4,Merchant STR+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,2; },{},{}
25083,S_Str5,Merchant STR+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,3; },{},{}
25084,S_Vit4,Merchant VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; },{},{}
25085,S_Agi7,Merchant AGI+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,1; },{},{}
25086,S_Agi8,Merchant AGI+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bAgi,2; },{},{}
25087,S_StrAgiVit1,Merchant STR+1/AGI+1/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; bonus bStr,1; bonus bAgi,1; },{},{}
25088,S_StrAgiVit2,Merchant STR+2/AGI+1/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; bonus bStr,2; bonus bAgi,1; },{},{}
25089,S_StrAgiVit3,Merchant STR+1/AGI+2/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; bonus bStr,1; bonus bAgi,2; },{},{}
25090,S_MHp3,Merchant MHp+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,1; },{},{}
25091,S_AtkStr1,Merchant ATK+3/STR+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,3; bonus bStr,1; },{},{}
25092,S_AtkStr2,Merchant ATK+6/STR+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,6; bonus bStr,1; },{},{}
25093,S_AtkStr3,Merchant ATK+9/STR+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bAtk,9; bonus bStr,2; },{},{}
25094,S_Greed1,Merchant Greed 1,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddGetZenyNum,200,100; },{},{}
25095,S_Greed2,Merchant Greed 2,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddGetZenyNum,250,200; },{},{}
25096,S_Greed3,Merchant Greed 3,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddGetZenyNum,300,300; },{},{}
25097,S_FireResist1,Merchant FireResist+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubEle,Ele_Fire,3; },{},{}
25098,S_FireResist2,Merchant FireResist+6%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubEle,Ele_Fire,6; },{},{}
25099,S_EarthResist1,Merchant EarthResist+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubEle,Ele_Earth,2; },{},{}
25100,S_EarthResist2,Merchant EarthResist+4%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubEle,Ele_Earth,4; },{},{}
25101,S_Aspd6,Merchant ASPD+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,1; },{},{}
25102,S_Aspd7,Merchant ASPD+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,2; },{},{} 
// Acolyte Bonuses ------------------------------------------------------------------------------------------------
25103,S_Int4,Acolyte INT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,1; },{},{}
25104,S_Int5,Acolyte INT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,2; },{},{}
25105,S_Vit5,Acolyte VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,1; },{},{}
25106,S_Vit6,Acolyte VIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bVit,2; },{},{}
25107,S_Dex6,Acolyte DEX+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; },{},{}
25108,S_IntDexVit1,Acolyte INT+1/DEX+1/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bVit,1; bonus bInt,1; },{},{}
25109,S_IntDexVit2,Acolyte INT+1/DEX+1/VIT+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bVit,2; bonus bInt,1; },{},{}
25110,S_IntDexVit3,Acolyte INT+2/DEX+1/VIT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDex,1; bonus bVit,1; bonus bInt,2; },{},{}
25111,S_MHp4,Acolyte MHp+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,1; },{},{}
251125,S_MSp4,Acolyte MSp+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxSpRate,1; },{},{}
25113,S_MSp5,Acolyte MSp+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxSpRate,2; },{},{}
25114,S_Matk3,Acolyte Matk+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMatkRate,1; },{},{}
25115,S_Heal1,Acolyte Heal+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bHealPower,2; },{},{}
25116,S_Heal2,Acolyte Heal+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus bHealPower,3; },{},{}
25117,S_Heal3,Acolyte Heal+4%,6,20,10,0,,,,,,,,16,,,,,{ bonus bHealPower,4; },{},{}
25118,S_DefMdef1,Acolyte DEF+1/MDEF+1,6,20,10,0,,,,,,,,16,,,,,{ bonus bDef,1; bonus bMdef,1; },{},{}
25119,S_DefMdef2,Acolyte DEF+1/MDEF+2,6,20,10,0,,,,,,,,16,,,,,{ bonus bDef,1; bonus bMdef,2; },{},{}
25120,S_DefMdef3,Acolyte DEF+1/MDEF+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bDef,1; bonus bMdef,3; },{},{}
25121,S_SpRegenInt1,Acolyte SP Regen 1/INT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSPRegenRate,5,2000; bonus bInt,1; },{},{}
25122,S_SpRegenInt2,Acolyte SP Regen 2/INT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSPRegenRate,10,2000; bonus bInt,1; },{},{}
25123,S_SpRegenInt3,Acolyte SP Regen 3/INT+1,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSPRegenRate,15,2000; bonus bInt,1; },{},{}
25124,S_Reduction2,Acolyte Physical Reduction+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bSubRace,RC_Boss,1; bonus2 bSubRace,RC_NonBoss,1; },{},{}
25125,S_RangeReduction1,Acolyte Ranged Reduction+1%,6,20,10,0,,,,,,,,16,,,,,{ bonus bLongAtkDef,1; },{},{}
25126,S_RangeReduction2,Acolyte Ranged Reduction+2%,6,20,10,0,,,,,,,,16,,,,,{ bonus bLongAtkDef,2; },{},{}

// Unique Power Stone
30000,Unique_Power_Stone,Unique Power Stone,3,10000,,100,,,,,,,,,,,,,{},{},{}

// Unique Enchantments
25127,U_MHpMSp1,Unique MHp+4%/MSp+4%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,4; bonus bMaxSpRate,4; },{},{}
25128,U_MHpMSp2,Unique MHp+6%/MSp+6%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMaxHpRate,6; bonus bMaxSpRate,6; },{},{}
25129,U_StrVitDex,Unique STR+3/VIT+3/DEX+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,3; bonus bVit,3; bonus bDex,3; },{},{}
25130,U_StrAgiLuk,Unique STR+3/AGI+3/LUK+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bStr,3; bonus bAgi,3; bonus bLuk,3; },{},{}
25131,U_DexVitLuk,Unique DEX+3/VIT+3/LUK+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bLuk,3; bonus bVit,3; bonus bDex,3; },{},{}
25132,U_IntVitDex,Unique INT+3/VIT+3/DEX+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,3; bonus bVit,3; bonus bDex,3; },{},{}
25133,U_IntStrAgi,Unique INT+3/STR+3/AGI+3,6,20,10,0,,,,,,,,16,,,,,{ bonus bInt,3; bonus bStr,3; bonus bAgi,3; },{},{}
25134,U_DefMdef1,Unique DEF+4/MDEF+4,6,20,10,0,,,,,,,,16,,,,,{ bonus bMdef,4; bonus bDef,4; },{},{}
25135,U_DefMdef2,Unique DEF+6/MDEF+6,6,20,10,0,,,,,,,,16,,,,,{ bonus bMdef,6; bonus bDef,6; },{},{}
25136,U_MReflect1,Unique Damage Reflect5%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMagicDamageReturn,5; bonus bShortWeaponDamageReturn,5; bonus bLongWeaponDamageReturn,5; },{},{}
25137,U_MReflect2,Unique Damage Reflect7%,6,20,10,0,,,,,,,,16,,,,,{ bonus bMagicDamageReturn,7; bonus bShortWeaponDamageReturn,7; bonus bLongWeaponDamageReturn,7; },{},{}
25138,U_PDamageMatk1,Unique P.Damage+5%/MATK+5%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,5; bonus2 bAddRace,RC_NonBoss,5; bonus2 bMatkRate,5; },{},{}
25139,U_PDamageMatk2,Unique P.Damage+7%/MATK+7%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bAddRace,RC_Boss,7; bonus2 bAddRace,RC_NonBoss,7; bonus2 bMatkRate,7; },{},{}
25140,U_SkillSpellDelay1,Unique Skill/Spell Delay-7%,6,20,10,0,,,,,,,,16,,,,,{ bonus bDelayRate,-7; },{},{}
25141,U_SkillSpellDelay2,Unique Skill/Spell Delay-9%,6,20,10,0,,,,,,,,16,,,,,{ bonus bDelayRate,-9; },{},{}
25142,U_DefMdef1,Unique DEF/MDEF Ignore+3%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bIgnoreDefRate,RC_Boss,3; bonus2 bIgnoreDefRate,RC_NonBoss,3; bonus bIgnoreMdefRate,3; },{},{}
25143,U_DefMdef2,Unique DEF/MDEF Ignore+6%,6,20,10,0,,,,,,,,16,,,,,{ bonus2 bIgnoreDefRate,RC_Boss,6; bonus2 bIgnoreDefRate,RC_NonBoss,6; bonus bIgnoreMdefRate,6; },{},{}
25144,U_AspdCastTime1,Unique ASPD+5%/Cast Time-5%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,5; bonus bCastTime,-5; },{},{}
25145,U_AspdCastTime2,Unique ASPD+7%/Cast Time-7%,6,20,10,0,,,,,,,,16,,,,,{ bonus bAspdRate,7; bonus bCastTime,-7; },{},{}
25146,U_SpCost1,Unique Skill/Spell Sp Cost-5%,6,20,10,0,,,,,,,,16,,,,,{ bonus bUseSPrate,-5; },{},{}
25147,U_SpCost2,Unique Skill/Spell Sp Cost-7%,6,20,10,0,,,,,,,,16,,,,,{ bonus bUseSPrate,-7; },{},{}
 
Edited by Emistry
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   11
  • Joined:  04/13/12
  • Last Seen:  

@kenedos

 

If you're still active, props to you!

Your script gave me a nice hint for my system :)

 

My up is yours

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

This system is nice but is it require to replace some item bonus on item_db2?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  10/01/14
  • Last Seen:  

its posibble to make only can enchant armor only?

Link to comment
Share on other sites

  • 5 years later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  09/04/17
  • Last Seen:  

Why it keeps showing me "Errr wait. Oh Sorry but you must have armors equipped to enchant them!" 

I've already equipped a weapon.

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
Reply to this topic...

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