Jump to content
  • 0
Kavaline

How check the master SCs in summons skills?

Question

In status.c, status_calc_mob_, I'm trying read the master SC (I want that if I use Summon Flora with some buffs, the plants receive some status boost). I tried some codes, but dont work. Here is my last try:

    if (flag&16 && mbl) {...
        if (ud) {...
            if (ud->skill_id == AM_SPHEREMINE) {...
            } else if(ud->skill_id == KO_ZANZOU) {...
            } else { //AM_CANNIBALIZE
                ...
                //custom
                struct status_change* sc = status->get_sc(mbl);
                if (sc->data[SC_SHOUT]) {
                    mstatus->aspd_rate = 1000;//for test
                    mstatus->batk = 1000;//for test
                }
                //end custom

How I can do it?

Edited by Kavaline

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.