Vy Low Posted May 3, 2018 Posted May 3, 2018 (edited) im using pc_readaccountreg but for some reason it doesnt check the global_reg_value case IT_HEALING: if(sd && pc_readaccountreg(sd, "#isVIP") >= 1) { rate_adjust = (status->mode&MD_BOSS) ? (battle_config.item_rate_heal_boss + battle_config.vip_drop_inc) : (battle_config.item_rate_heal + battle_config.vip_drop_inc); }else{ rate_adjust = (status->mode&MD_BOSS) ? battle_config.item_rate_heal_boss : battle_config.item_rate_heal; } ratemin = battle_config.item_drop_heal_min; ratemax = battle_config.item_drop_heal_max; break; Edited May 6, 2018 by Vy Low Quote
0 Vy Low Posted May 7, 2018 Author Posted May 7, 2018 it seems mob_parse_dbrow doesnt attach player thats why it doesnt read the pc_readaccountreg, any workaround wherein i can attach player on it? Quote
Question
Vy Low
im using pc_readaccountreg but for some reason it doesnt check the global_reg_value
1 answer 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.