bonus2 bSubRace

madtoyz

New member
Messages
173
Points
0
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 ?.

 
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.

 
Last edited by a moderator:
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 ?

 
Yeah. That item is suppose to add +10% damage reduction from Undead race.

 
Last edited by a moderator:
Back
Top