Sc_start display buff icon only if the buff/debuff has an Icon, anyways you can add buff icon:
1.- You must ensure that SC_START you want to add has a SI_START. Go to status.h and find it.
2.- In status.c find "//Status that don't have a skill associated" and below add this:
status->dbs->IconChangeTable[SC_TO ADD] = SI_TO ADD;
4.- In db/const.txt find your sc_start, and remember the number of this.
3.- Go to luafiles514/lua files/stateicon/efstids.lub and above of "__newindex = function()" add EFST_TOADDWITHOUT"SC_" = NumberOfThisSC,
example: "EFST_STUN = 2,"
4.- In the same folder open stateiconimginfo.lub and select priority of this Icon add this [EFST_IDs.EFST_TOADDWITHOUT"SC_"] = "NameOfIcon.tga",below
of "[PRIORITY_GOLD/RED/BLUE/GREEN or WHITE] = {".
example: [EFST_IDs.EFST_STUN] = "ZANGETSU.tga",
5.- Open stateiconinfo.lub,in the final add this:
StateIconList[EFST_IDs.EFST_TOADDWITHOUT"SC_"] = {
haveTimeLimit = 1,
posTimeLimitStr = 1,
descript = {
{ "Description bla bla blah..." }
{ "Description bla bla blah..." }
{ "Description bla bla blah..." }
{ "Description bla bla blah..." }
{ "Description bla bla blah..." }
{ "Description bla bla blah..." }
{ "%s", COLOR_TIME },
}
}
6.- Build GRF and recompile emulator.