So I've been snooping around the source code for skill modification, and so far I've successfully identified where to change some stuff.
The only thing that's left on my list not ticked off is where I can find the place to increase magic attack based on skill level. I tried basing it off of Dragonology but it seems that it has a different way of calculating the bonus magic attack provided by the skill as shown below
I am not sure if there is a way to increase magic attack normally like how you do with attack (I've managed to do this already), maybe I have not looked that much yet or maybe I have missed it? Would appreciate a point to the right direction with this, thank you!
Question
Moooooon-Aisha
So I've been snooping around the source code for skill modification, and so far I've successfully identified where to change some stuff.
The only thing that's left on my list not ticked off is where I can find the place to increase magic attack based on skill level. I tried basing it off of Dragonology but it seems that it has a different way of calculating the bonus magic attack provided by the skill as shown below
if((skill=pc_checkskill(sd,SA_DRAGONOLOGY))>0) { #ifdef RENEWAL skill = skill * 2; #else skill = skill * 4; #endif sd->right_weapon.addrace[RC_DRAGON]+=skill; sd->left_weapon.addrace[RC_DRAGON]+=skill; sd->magic_addrace[RC_DRAGON]+=skill; sd->subrace[RC_DRAGON]+=skill; }
I am not sure if there is a way to increase magic attack normally like how you do with attack (I've managed to do this already), maybe I have not looked that much yet or maybe I have missed it? Would appreciate a point to the right direction with this, thank you!
Link to comment
Share on other sites
7 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.