I can't find any hint how can i exclude the item_rate_card on this src
if (pc_isvip(sd)) { // Increase item drop rate for VIP.
// Unsure how the VIP and other bonuses should stack, this is additive.
drop_rate_bonus += battle_config.vip_drop_increase;
cap = battle_config.drop_rate_cap_vip;
} else
cap = battle_config.drop_rate_cap;
drop_rate = (int)( 0.5 + drop_rate * drop_rate_bonus / 100. );
// Now limit the drop rate to never be exceed the cap (default: 90%), unless it is originally above it already.
if( drop_rate > cap && base_rate < cap ){
drop_rate = cap;
}
Question
Jayz
How to exclude the item_rate_card on
if (pc_isvip(sd)) { // Increase item drop rate for VIP. // Unsure how the VIP and other bonuses should stack, this is additive. drop_rate_bonus += battle_config.vip_drop_increase; cap = battle_config.drop_rate_cap_vip; } else cap = battle_config.drop_rate_cap; drop_rate = (int)( 0.5 + drop_rate * drop_rate_bonus / 100. ); // Now limit the drop rate to never be exceed the cap (default: 90%), unless it is originally above it already. if( drop_rate > cap && base_rate < cap ){ drop_rate = cap; }
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.