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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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