Convex Mirror SRC

Jhedzkie

New member
Messages
21
Points
0
Age
34
Location
Cavite, Philippines
Where can I find the portion of SRC where this effect of convex mirror can be modified?

2cpydk2.jpg


Thanks in advanced.

 
you want to change the message or the duration?
 
message: msgstringtable.txt I guess
duration: item_db.conf
 

clif.c

Code:
/// 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);}
 
Last edited by a moderator:
Back
Top