Jump to content

Recommended Posts

Posted

Looks somewhat useful, but I need more examples  /$

examples are in the patch file, it makes refine_bonus.txt at your db folder

  • 3 weeks later...
Posted

Type can support Shadow Equip special refine ?

 

example:

type 5 = Shadow Weapon level 1

type 6 = Shadow Weapon level 2

type 7 = Shadow Weapon level 3

type 8 = Shadow Weapon level 4

type 9 = Shadow Armor

Posted

Type can support Shadow Equip special refine ?

 

example:

type 5 = Shadow Weapon level 1

type 6 = Shadow Weapon level 2

type 7 = Shadow Weapon level 3

type 8 = Shadow Weapon level 4

type 9 = Shadow Armor

Interesting

EDIT: would you test it, please. :)

refine_bonus-rA-20140216.diff

Posted (edited)

 

Type can support Shadow Equip special refine ?

 

example:

type 5 = Shadow Weapon level 1

type 6 = Shadow Weapon level 2

type 7 = Shadow Weapon level 3

type 8 = Shadow Weapon level 4

type 9 = Shadow Armor

Interesting

EDIT: would you test it, please. :)

attachicon.gifrefine_bonus-rA-20140216.diff

 

 

great

thank you

use it can achieve office server Shadow Equip Refine System

Edited by a91323
  • 6 months later...
  • 2 weeks later...
Posted
1>c:\users\herrera\rathena\src\map\status.c(2486): error C2065: 'wlv' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2486): error C2065: 'r' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2487): error C2065: 'wd' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2487): warning C4047: '==' : 'int' es distinto en los niveles de direccionamiento indirecto de 'weapon_data *'

1>c:\users\herrera\rathena\src\map\status.c(2489): error C2065: 'wlv' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2489): error C2065: 'r' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2492): error C2065: 'wlv' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(2492): error C2065: 'r' : identificador no declarado

1>c:\users\herrera\rathena\src\map\status.c(12207): warning C4013: 'status_refine_bonus_clear' sin definir; se supone que extern devuelve como resultado int

1>c:\users\herrera\rathena\src\map\status.c(12215): error C2371: 'status_refine_bonus_clear' : nueva definición; tipos básicos distintos

 

I use rathena 17698 and have this problem in compile

  • 5 months later...
Posted (edited)

I found a bug: getequipisequiped() will stack same bonus when you equip more than 1 equipment

 

eg. Headgear get 1 str bonus, garment get 1 vit bonus

 

when I equip headgear the bonus will be 1 str, then equip garment will get 2 str and 2 vit coz it check everytime you equip a equipment

 

The bonus should be clear before reapply isn't it?

Edited by yuchinin
  • 2 months later...
  • 3 months later...
Posted

been year I don't update the mod in this thread. Now there is a new .diff for 'nearly' latest rAthena (for a rev in 2015-09-13)

  • 3 weeks later...
Posted

Cydh is it possible to change this like...

 

Structure:

ItemID,Type,RefineNumber,{ Script }

 

Example:

30000,4,15,{ bonus bStr,3; }

 

eh? why don't u put the script on ur item then use getrefine/getequiprefinecnt? /hmm

Posted

Yup your correct but in the other hand isn't it this src mod is similar to what you said? getrefine/getequiprefinecnt? but i mean is instead of using getrefine and adding it into your script why not place it in a separate .txt so that its easier to edit/change rather opening item_db.txt and messing the scripts.

Posted

If for item id, edit your item script. my mod to 'help' u to avoid edit all item with same type (armor,weapon,...) with same script for each refine.

clear?

  • 3 years later...
  • 5 years later...
Posted
0,1,{ bonus bMaxHPrate,1; bonus bDef,1; bonus bMdef,1; }
0,2,{ bonus bMaxHPrate,2; bonus bDef,2; bonus bMdef,2; }
0,3,{ bonus bMaxHPrate,3; bonus bDef,3; bonus bMdef,3; }
0,4,{ bonus bMaxHPrate,4; bonus bDef,4; bonus bMdef,4; }
0,5,{ bonus bMaxHPrate,5; bonus bDef,5; bonus bMdef,5; }
0,6,{ bonus bMaxHPrate,6; bonus bDef,6; bonus bMdef,6; }
0,7,{ bonus bMaxHPrate,7; bonus bDef,7; bonus bMdef,7; }
0,8,{ bonus bMaxHPrate,8; bonus bDef,8; bonus bMdef,8; }
0,9,{ bonus bMaxHPrate,9; bonus bDef,9; bonus bMdef,9; }
0,10,{ bonus bMaxHPrate,10; bonus bDef,10; bonus bMdef,10; }
0,11,{ bonus bMaxHPrate,11; bonus bDef,11; bonus bMdef,11; }
0,12,{ bonus bMaxHPrate,12; bonus bDef,12; bonus bMdef,12; }
0,13,{ bonus bMaxHPrate,13; bonus bDef,13; bonus bMdef,13; }
0,14,{ bonus bMaxHPrate,14; bonus bDef,14; bonus bMdef,14; }
0,15,{ bonus bMaxHPrate,15; bonus bDef,15; bonus bMdef,15; }

Added this entry to refine_bonus.txt but when I wore +15 garment, it wont give the refine bonus stats. Is there any switch or should I do something first?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...