Devotion(Increasing limit)

jaiko23

New member
Messages
94
Points
0
hi does anyone know how can i increase the limit of paladin can devo?

example.. pally can devo 5(default) and i wanna make pally can devo 10 players..

thank you in advance
default_biggrin.png


 
src/map/pc.h

#define MAX_PC_DEVOTION 5

change and recompile

 
I think that wouldn't work as you expect

look here  and here

you should change the formula of var 'count'

maybe you can try my method.

count = (sd)? min((skill_lv>=5 ? 10: skill_lv),MAX_PC_DEVOTION) : 1;

 
Last edited by a moderator:
I think that wouldn't work as you expect

look here  and here

you should change the formula of var 'count'

maybe you can try my method.

count = (sd)? min((skill_lv>=5 ? 10: skill_lv),MAX_PC_DEVOTION) : 1;
maybe you may suggest this change in the git (or make pull request) as well? xD seems like they forgot to add the MAX_PC_DEVOTION to the rest of the places

 
Back
Top