Jump to content
  • 0

Need help item_db script


reeve

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  05/01/14
  • Last Seen:  

20181,gda,Grand Diety Aura,4,10000,,10,,10,,1,0xFFFFFFFF,63,2,512,,0,0,1429,{ bonus2 bAddRace,RC_DemiHuman, 10; bonus bAllStats,4; },{},{}

(increase damage to demi human 10%, all stat 4)
20182,gdc,Grand Diety Crown,4,10000,,10,,10,,1,0xFFFFFFFF,63,2,256,,0,0,1430,{ bonus2 bAddRace,RC_DemiHuman,18; bonus bDelayRate,-20; bonus bAllStats,6; },{},{}

(increase damage to demi human 18%, reduce aftercast delay 20%, all stat 6)
20183,gdw,Grand Diety Wing,4,10000,,10,,10,,1,0xFFFFFFFF,63,2,1,,0,0,1431,{ bonus2 bAddRace,RC_DemiHuman,7; bonus bAllStats,3; },{},{}

(increase damage to demi human 7%, all stat 3)

 

can anyone fix this script? i use this script at eAthena before, but right now im using new rAthena and it doesnt work anymore..

 

some of my custom item take effect but some doesn't work.. i dont know why, can you guys help me? did i use wrong 'bonus' command?

 

thanks before :)

sry for my bad english..

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  05/01/14
  • Last Seen:  

*bump*

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

https://raw.githubusercontent.com/rathena/rathena/master/doc/item_bonus.txt

bonus2 bAddRace,r,x;      		+x% physical damage against race r
bonus2 bMagicAddRace,r,x; 		+x% magical damage against race r
bonus2 bSubRace,r,x;      		+x% damage reduction against race r

bonus bDelayrate,n;        		Increases skill delay by n%

bonus bAllStats,n; 			STR + n, AGI + n, VIT + n, INT + n, DEX + n, LUK + n

* Race (r)
	RC_Formless, RC_Undead, RC_Brute, RC_Plant, RC_Insect, RC_Fish,
	RC_Demon, RC_DemiHuman, RC_Angel, RC_Dragon, RC_Player, RC_All

It should work as intended, did your map server show any error?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Yours customs items script don't work on player since we dissociated RC_DemiHuman (previously working for player and monster) to RC_Player for player and RC_DemiHuman to monster

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