if(src){//Drops affected by luk as a fixed increase [Valaris]if(battle_config.drops_by_luk)
drop_rate += status_get_luk(src)*battle_config.drops_by_luk/100;//Drops affected by luk as a % increase [Skotlex]if(battle_config.drops_by_luk2)
drop_rate +=(int)(0.5+drop_rate*status_get_luk(src)*battle_config.drops_by_luk2/10000.);}
lets say my server max stat is 600, what value should I use so at 600 LUCK, I get +10% drop
Second issue:
Since they removed the old battle conf that we could set a drop announce for items with X% drop chance, without any replacement (okay we have the DropAnnounce, but its a pain to add that on every item entry), the question is: what should I change on this code in order to make it announce items with drop chance "equal or lower than X%"?
// Official Drop Announce [Jedzkie]if(mvp_sd != NULL){if((id = itemdb->search(it->nameid))!= NULL && id->flag.drop_announce){
clif->item_drop_announce(mvp_sd, it->nameid, md->name);}}
This one.
First issue (most likely a question):
we have this code:
lets say my server max stat is 600, what value should I use so at 600 LUCK, I get +10% drop
Second issue:
Since they removed the old battle conf that we could set a drop announce for items with X% drop chance, without any replacement (okay we have the DropAnnounce, but its a pain to add that on every item entry), the question is: what should I change on this code in order to make it announce items with drop chance "equal or lower than X%"?
Share this post
Link to post
Share on other sites