On Tue, 5 Nov 1996 linebacker@microlink.net wrote: > btw: My main purpose to this is to make agg mobiles attack > players more quickly upon contact. Is there any other ways > of doing this (besides mprogs)? I have seen people do this with an ULTRA_AGG flag or some such thing and they check for it in char_to_room. This is horribly inefficient since it is called a LOT and how many of these mobs are you really going to have? I just thought of this after I read this message, but you could do it with a spec_proc that was something like the 'marbles' one that comes with Sundhaven. I don't have the code in front of me, but if you walk into a room with marbles on the ground, you have a chance of falling on your ass. You can just do that, but instead of setting the character's position, call the hit() function. Like I said, I'm at work right now and have no code here, but it seems like that would work. And if you get that code on the snippets page that lets you assign multiple spec_procs to mobs, you don't even have to lose any functionality with current mobs. I think I might try this tonight...if you do this, let me know if it works :-) -Brian -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Brian Guilbault - GMI Engineering Institute E-mail: guil9964@gmi.edu, dante@i-55.com WWW: http://apollo.gmi.edu/~guil9964 QuarantineMUD: Telnet to exit1.i-55.com 4000 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST