As the title says, I need gospel to give its bonus of sp x2 to the whole thing, not just the base SP as it does currently (at least that's what I understand rathena gospel does), I need it to also double equipment/cards, Service for You, food and whatever that adds SP.
(I think is the rathena emulator the one that only doubles vase sp, because in every other it doubles the whole thing, which is the kind of gospel I'm used to)
I know this part of the skill.cpp scripts gospel
case4: // MaxSP +100%
sc_start(ss, bl, SC_INCMSPRATE, 100, 100, time);
if (tsd) clif_gospel_info(tsd, 0x18);
break;
and then again in status.cpp
if (sc) {
if(sc->data[SC_INCMSPRATE])
bonus += sc->data[SC_INCMSPRATE]->val1;
but I'm not really sure how the math formula calculates the sp getting doubled, so if anyone can tell me what to do, I'd be thankful.
Question
Arthas
As the title says, I need gospel to give its bonus of sp x2 to the whole thing, not just the base SP as it does currently (at least that's what I understand rathena gospel does), I need it to also double equipment/cards, Service for You, food and whatever that adds SP.
(I think is the rathena emulator the one that only doubles vase sp, because in every other it doubles the whole thing, which is the kind of gospel I'm used to)
I know this part of the skill.cpp scripts gospel
and then again in status.cpp
but I'm not really sure how the math formula calculates the sp getting doubled, so if anyone can tell me what to do, I'd be thankful.
Link to comment
Share on other sites
8 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.