How check the master SCs in summons skills?

Kavaline

New member
Messages
14
Points
0
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?

 
Last edited by a moderator:
Back
Top