where I went wrong?
link guide>>>http://herc.ws/board/topic/7526-guide-adding-new-status-icons/#entry46157
@edit
petrifies but he did not put the status icon does not appear.
thank youstatus.c
status->IconChangeTable[sC_DECORATION_OF_MUSIC] = SI_DECORATION_OF_MUSIC;
status->IconChangeTable[sC_STATUS_CONVERT_AGUA] = SI_STATUS_CONVERT_AGUA;
status.h
SI_STATUS_CONVERT_AGUA = 2000,
SI_MAX,
};
recompiled
data:
efstids.lub:
EFST_AKAITSUKI = 660,
EFST_STATUS_CONVERT_AGUA = 2000,
__newindex = function()
error("unknown state")
end
}
stateiconinfo.lub:
StateIconList[EFST_IDs.EFST_STATUS_CONVERT_AGUA] = {
haveTimeLimit = 1,
posTimeLimitStr = 2,
descript = {
{"Conversor de água Ativado",COLOR_TITLE_BUFF},
{"%s", COLOR_TIME},
{"Bônus contra a propriedade Fogo"},
{"Penalidade de Dano contra água by:Ravnos"}
}
}
stateiconimginfo.lub:
PRIORITY_BLUE = {
[EFST_IDs.EFST_STATUS_CONVERT_AGUA] = "STATUSAGUA.TGA"
item_db.conf
{
Id: 12115
AegisName: "Elemental_Water"
Name: "Elemental Converter"
Type: 11
Buy: 2
Weight: 10
BuyingStore: true
Script: <" sc_start SC_STATUS_CONVERT_AGUA,10000,0; itemskill ITEM_ENCHANTARMS,2; ">
},
db/const.txt:
SC_FALLENEMPIRE 579
SC_STATUS_CONVERT_AGUA 580
![]()
?
link guide>>>http://herc.ws/board/topic/7526-guide-adding-new-status-icons/#entry46157
@edit
petrifies but he did not put the status icon does not appear.
Last edited by a moderator: