Jump to content
  • 0
Sign in to follow this  
Jhedzkie

Convex Mirror SRC

Question

Where can I find the portion of SRC where this effect of convex mirror can be modified?

 

2cpydk2.jpg

 

Thanks in advanced.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

you want to change the message or the duration?
 
message: msgstringtable.txt I guess
duration: 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 by evilpuncker

Share this post


Link to post
Share on other sites
  • 0

thanks a lot. i actually just want to see the variables used in computing the duration of the MVP's next respawn. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.