x13th Posted July 27, 2013 Posted July 27, 2013 Hi everyone. How to lessen or remove death penalty when your account groupid >= 1 ? For example if your account groupid is level 1 the death penalty will be just 50% but if its level 0 it will be 100%. Quote
Emistry Posted July 27, 2013 Posted July 27, 2013 inside trunk/src/map/pc.c , find these... base_penalty = (unsigned int) ((double)pc_nextbaseexp(sd) * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)sd->status.base_exp * (double)battle_config.death_penalty_base/10000); base_penalty = (unsigned int) ((double)pc_nextjobexp(sd) * (double)battle_config.death_penalty_job/10000); base_penalty = (unsigned int) ((double)sd->status.job_exp * (double)battle_config.death_penalty_job/10000); just edit these 4 line by adding another IF-ELSE condition to check for GM Level / Group ID for different penalty.. 1 Quote
whitesn Posted July 27, 2013 Posted July 27, 2013 I don't know if it's available through configs but you can make it through NPC script http://pastebin.com/P84YxZLg Quote
Question
x13th
Hi everyone. How to lessen or remove death penalty when your account groupid >= 1 ?
For example if your account groupid is level 1 the death penalty will be just 50% but if its level 0 it will be 100%.
3 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.