madtoyz 2 Posted July 24, 2013 Anyone can tell me about "bonus2 bSubRace" ? example : bonus2 bSubRace,RC_DemiHuman to put in the effect script of items. Where i can refer the text in the db folder ?. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted July 24, 2013 Hi. You have a full text file about all the bonuses you can have on items: it's on doc/item_bonus.txt. The bonus effect you want to know about is particularly on the line 122: bonus2 bSubRace,n,x; +x% damage reduction against race n n: 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, 10=Boss monster, 11=Other than (normal monster) boss monster Hope this helps you. Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted July 24, 2013 ok..thanks for the information..thats mean if want to make item resist for certain race make like this right ? Undead race { bonus2 bSubRace,RC_Undead,10; bonus bCritical,10; bonus bAllStats,3; bonus bAspd,10; bonus bAtkRate,10; bonus bMatkRate,10; },{},{} it is correct ? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted July 24, 2013 Yeah. That item is suppose to add +10% damage reduction from Undead race. Quote Share this post Link to post Share on other sites
0 madtoyz 2 Posted July 24, 2013 solve...thanks allot jabote. Quote Share this post Link to post Share on other sites
Anyone can tell me about "bonus2 bSubRace" ?
example : bonus2 bSubRace,RC_DemiHuman
to put in the effect script of items.
Where i can refer the text in the db folder ?.
Share this post
Link to post
Share on other sites