Jhedzkie 0 Posted July 25, 2014 Where can I find the portion of SRC where this effect of convex mirror can be modified? Thanks in advanced. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted July 25, 2014 (edited) you want to change the message or the duration? message: msgstringtable.txt I guessduration: item_db.conf clif.c /// Convex Mirror (ZC_BOSS_INFO)./// 0293 <infoType>.B <x>.L <y>.L <minHours>.W <minMinutes>.W <maxHours>.W <maxMinutes>.W <monster name>.51B/// infoType:/// 0 = No boss on this map (BOSS_INFO_NOT)./// 1 = Boss is alive (position update) (BOSS_INFO_ALIVE)./// 2 = Boss is alive (initial announce) (BOSS_INFO_ALIVE_WITHMSG)./// 3 = Boss is dead (BOSS_INFO_DEAD).void clif_bossmapinfo(int fd, struct mob_data *md, short flag){ WFIFOHEAD(fd,70); memset(WFIFOP(fd,0),0,70); WFIFOW(fd,0) = 0x293; if( md != NULL ) { if( md->bl.prev != NULL ) { // Boss on This Map if( flag ) { WFIFOB(fd,2) = 1; WFIFOL(fd,3) = md->bl.x; WFIFOL(fd,7) = md->bl.y; } else WFIFOB(fd,2) = 2; // First Time } else if (md->spawn_timer != INVALID_TIMER) { // Boss is Dead const struct TimerData * timer_data = timer->get(md->spawn_timer); unsigned int seconds; int hours, minutes; seconds = (unsigned int)(DIFF_TICK(timer_data->tick, timer->gettick()) / 1000 + 60); hours = seconds / (60 * 60); seconds = seconds - (60 * 60 * hours); minutes = seconds / 60; WFIFOB(fd,2) = 3; WFIFOW(fd,11) = hours; // Hours WFIFOW(fd,13) = minutes; // Minutes } safestrncpy((char*)WFIFOP(fd,19), md->db->jname, NAME_LENGTH); } WFIFOSET(fd,70);} Edited July 25, 2014 by evilpuncker Quote Share this post Link to post Share on other sites
0 Jhedzkie 0 Posted July 25, 2014 thanks a lot. i actually just want to see the variables used in computing the duration of the MVP's next respawn. Quote Share this post Link to post Share on other sites
Where can I find the portion of SRC where this effect of convex mirror can be modified?
Thanks in advanced.
Share this post
Link to post
Share on other sites