Hello, I created a custom buff status added by atcommand but do not know how to add delay to reuse the buff, and status icon showing the delay time ... Here's what I've done so far, everything working for now, just missing part of the delay
status.c
/*==========================================* Apply shared stat mods from status changes [DracoRPG]*------------------------------------------*/unsigned short status_calc_str(struct block_list *bl, struct status_change *sc, int str){ if(sc->data[SC_STOMACHACHE]) str -= sc->data[SC_STOMACHACHE]->val1; if(sc->data[SC_KYOUGAKU]) str -= sc->data[SC_KYOUGAKU]->val3; if (sc->data[SC_MYCUSTOM]) str += sc->data[SC_MYCUSTOM]->val1;
Hello, I created a custom buff status added by atcommand but do not know how to add delay to reuse the buff, and status icon showing the delay time ... Here's what I've done so far, everything working for now, just missing part of the delay
status.c
status.h
dbconst.txt
stateiconinfo.lub
Share this post
Link to post
Share on other sites