ProtectedCitizen
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 |
===ProtectedCitizen=== | |
---|---|
Targets: | MOBs |
Parameters: | Max/Min ticks, pct chance, rooms radius, max#assists;guardian mask; yell strings, ';' separated. |
Examples: | min=1 max=5 chance=25 radius=7 maxassists=1;-NAME +cityguard;HELP ME!!!;Save me!
WANDER radius=20;-NAME +cityguard;HELP ME!!!;,screams for his life! |
Description: | This behavior allows a mob to scream for help during combat, given the conditions described by the parameters. MIN and MAX describe the range of ticks (3 second periods) between screams. MAXASSISTS describes the maximum number of mobs who will assist the citizen. CHANCE describes the PERCENT chance the mob has of screaming after the period. Whenever the mob screams the system will check RADIUS rooms deep around the mob for ANOTHER mob that matches the mask check after the first semicolon. In this example, mobs with the word "citiguard" in their name. If such a mob is found, and that mob has one of the "Mobile" behaviors, it will be moved one room closer to the screaming mob. An optional WANDER flag allows mobs from adjacent areas to be drawn in. When the guardian mob arrives to the same room as the screaming mob, it will join the screaming mob in defence. All of the semicolon-separated strings at the end of the parameter list will denote the random things which the screaming mob will yell out. Once a mob has come to the screamers defence, it will stop screaming. If a comma prefixes the scream message, it will be emoted instead.
See AHELP ZAPPERMASK, where allowed is assisted, and disallowed is ignored. |
Notes
.