MobileAggressive

From CoffeeMud Wiki
Jump to navigation Jump to search


CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===MobileAggressive===
Targets: MOBs
Parameters: min, max ticks, a percent chance, flags, message="msg", and masks
Examples: min=10 max=20 chance=75 -underwater -thief +elf

min=10 max=20 chance=75 wander -air -elf min=10 max=20 chance=75 message="aha!" -air -elf min=10 max=20 chance=75 mobkill misbehave

Description: According to the timing and percent chance described by the parameters, the mob with this behavior will travel in a random available direction. The mob will attack any player mob it comes across. They will be especially aggressive towards players within 16 levels of themselves in adjacent rooms. If no other parameters are given, the mob will attack anyone, anywhere. The wander flag is required if the mob is allowed to leave his or her area. The TYPE of room from which the mob is restricted may also be entered. -ALL to disallow all locales, followed by +AIR +CITY +JUNGLE (etc) to reallow certain locales. -CITY -UNDERWATER and others may be used to restrict certain locales. The full locale list is: STONE, WOODEN, CAVE, MAGIC, UNDERWATER, AIR, WATERSURFACE, METAL , CITY, WOODS, ROCKY, PLAINS, JUNGLE, SWAMP, DESERT, HILLS, MOUNTAINS, SPACEPORT, SEAPORT.


Masks may also be used to specify who the mob is likely to attack. Mobs will not be mobile or aggressive towards Archons and builders with the CMDMOBS security flag. If no other masks are given, the mob will attack anyone within 8 levels.

Valid aggressive masks include:

message=(msg) something for the mob to say whenever he's fixing to attack

delay=x (makes the mob delay x ticks before looking for a victim)

mobkill (makes this behavior attack mobs as well as players)

nogang (makes this behavior pass over players already in combat)

misbehave (makes this mob attack even when wounded or a follower)

checklevel (makes this mob attack only those within 5 levels below him)

See AHELP ZAPPERMASK, where allowed is attacked, and disallowed is spared.


Notes

.