Rebel
New member
- Messages
- 149
- Points
- 0
- Github
- shadow-mo0n
- Emulator
I followed Dastgir guide on how to add new status icon..
status.h
before SC_MAX
before SI_MAX
status.c
after
status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING;
efstids.lub
EFST_MINDBREAKER = 1085,
EFST_SERVICEFORYOU = 1086,
EFST_DONTFORGETME = 1087,
EFST_ASSASSINCROSS = 1088,
EFST_POEMBRAGI = 1089,
EFST_APPLEIDUN = 1090,
stateiconinfo.lub
StateIconList[EFST_IDs.EFST_MINDBREAKER] = {
haveTimeLimit = 1, posTimeLimitStr = 2, descript = {
{"Mind Breaker", COLOR_TITLE_BUFF},
{"%s", COLOR_TIME},
{"Increase MATK by 100%"}
}
}
StateIconList[EFST_IDs.EFST_SERVICEFORYOU] = {
descript = {
{"Service For You", COLOR_TITLE_TOGGLE},
{"Your under Service For You Song."},
{"Increase SP"}
}
}
StateIconList[EFST_IDs.EFST_DONTFORGETME] = {
descript = {
{"Please Dont Forget Me", COLOR_TITLE_TOGGLE},
{"Your under Please Don't Forget Me Song."},
{"Decrease ASPD & Movement Speed"}
}
}
StateIconList[EFST_IDs.EFST_ASSASSINCROSS] = {
descript = {
{"Assassin Cross of Sunset", COLOR_TITLE_TOGGLE},
{"Your under Assassin Cross of Sunset Song."},
{"Increase ASPD & Movement Speed"}
}
}
StateIconList[EFST_IDs.EFST_POEMBRAGI] = {
descript = {
{"A Poem of Bragi", COLOR_TITLE_TOGGLE},
{"Your under A Poem of Bragi Song."},
{"Reduce Aftercast Delay"}
}
}
StateIconList[EFST_IDs.EFST_APPLEIDUN] = {
descript = {
{"The Apple of Idun", COLOR_TITLE_TOGGLE},
{"Your under The Apple of Idun Song."},
{"Increase HP"}
}
}
stateiconimginfo.lub
in [PRIORITY_WHITE] = {
[EFST_IDs.EFST_MINDBREAKER] = "pf_mindbreaker.tga",
[EFST_IDs.EFST_SERVICEFORYOU] = "dc_serviceforyou.tga",
[EFST_IDs.EFST_DONTFORGETME] = "dc_dontforgetme.tga",
[EFST_IDs.EFST_ASSASSINCROSS] = "ba_assassincross.tga",
[EFST_IDs.EFST_POEMBRAGI] = "ba_poemofbragi.tga",
[EFST_IDs.EFST_APPLEIDUN] = "ba_appleofidun.tga",
should I add also in constants.conf?

status.h
before SC_MAX
Code:
SC_MINDBREAKER,
SC_SERVICEFORYOU,
SC_DONTFORGETME,
SC_ASSNCROS,
SC_POEMBRAGI,
SC_APPLEIDUN,
Code:
SI_MINDBREAKER = 1085,
SI_SERVICEFORYOU = 1086,
SI_DONTFORGETME = 1087,
SI_ASSASSINCROSS = 1088,
SI_POEMBRAGI = 1089,
SI_APPLEIDUN = 1090,
after
status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING;
Code:
status->dbs->IconChangeTable[SC_MINDBREAKER] = SI_MINDBREAKER;
status->dbs->IconChangeTable[SC_SERVICEFORYOU] = SI_SERVICEFORYOU;
status->dbs->IconChangeTable[SC_DONTFORGETME] = SI_DONTFORGETME;
status->dbs->IconChangeTable[SC_ASSNCROS] = SI_ASSASSINCROSS;
status->dbs->IconChangeTable[SC_POEMBRAGI] = SI_POEMBRAGI;
status->dbs->IconChangeTable[SC_APPLEIDUN] = SI_APPLEIDUN;
efstids.lub
EFST_MINDBREAKER = 1085,
EFST_SERVICEFORYOU = 1086,
EFST_DONTFORGETME = 1087,
EFST_ASSASSINCROSS = 1088,
EFST_POEMBRAGI = 1089,
EFST_APPLEIDUN = 1090,
stateiconinfo.lub
StateIconList[EFST_IDs.EFST_MINDBREAKER] = {
haveTimeLimit = 1, posTimeLimitStr = 2, descript = {
{"Mind Breaker", COLOR_TITLE_BUFF},
{"%s", COLOR_TIME},
{"Increase MATK by 100%"}
}
}
StateIconList[EFST_IDs.EFST_SERVICEFORYOU] = {
descript = {
{"Service For You", COLOR_TITLE_TOGGLE},
{"Your under Service For You Song."},
{"Increase SP"}
}
}
StateIconList[EFST_IDs.EFST_DONTFORGETME] = {
descript = {
{"Please Dont Forget Me", COLOR_TITLE_TOGGLE},
{"Your under Please Don't Forget Me Song."},
{"Decrease ASPD & Movement Speed"}
}
}
StateIconList[EFST_IDs.EFST_ASSASSINCROSS] = {
descript = {
{"Assassin Cross of Sunset", COLOR_TITLE_TOGGLE},
{"Your under Assassin Cross of Sunset Song."},
{"Increase ASPD & Movement Speed"}
}
}
StateIconList[EFST_IDs.EFST_POEMBRAGI] = {
descript = {
{"A Poem of Bragi", COLOR_TITLE_TOGGLE},
{"Your under A Poem of Bragi Song."},
{"Reduce Aftercast Delay"}
}
}
StateIconList[EFST_IDs.EFST_APPLEIDUN] = {
descript = {
{"The Apple of Idun", COLOR_TITLE_TOGGLE},
{"Your under The Apple of Idun Song."},
{"Increase HP"}
}
}
stateiconimginfo.lub
in [PRIORITY_WHITE] = {
[EFST_IDs.EFST_MINDBREAKER] = "pf_mindbreaker.tga",
[EFST_IDs.EFST_SERVICEFORYOU] = "dc_serviceforyou.tga",
[EFST_IDs.EFST_DONTFORGETME] = "dc_dontforgetme.tga",
[EFST_IDs.EFST_ASSASSINCROSS] = "ba_assassincross.tga",
[EFST_IDs.EFST_POEMBRAGI] = "ba_poemofbragi.tga",
[EFST_IDs.EFST_APPLEIDUN] = "ba_appleofidun.tga",
should I add also in constants.conf?

