Difference between revisions of "MobileAggressive"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Replaced content with "{{#section-h:WikiHelpBehaviors|MobileAggressive}} ===Notes=== . Category:MOBS(BuilderInfo)")
Tag: Replaced
 
Line 1: Line 1:
{{BehaviorTemplate|Name=MobileAggressive|Targets=MOBs|Usage=min, max ticks, a percent chance, flags, message="msg", and masks|Examples=min=10 max=20 chance=75 -underwater -thief +elf
+
{{#section-h:WikiHelpBehaviors|MobileAggressive}}
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)
 
 
 
misbehave (makes this mob attack even when wounded or a follower)
 
 
 
checklevel (makes this mob attack only those within 5 levels below him)
 
 
 
+SYSOP (allow archons to bypass the rules), -SYSOP (spare archons)
 
 
 
+SUBOP (allow local area staff to bypass the rules), -SUBOP (spare)
 
 
 
-PLAYER (spare all players),  -MOB (spare all mobs/npcs)
 
 
 
-CHANCE 50 (spare the given % of the time)
 
 
 
-JAVACLASS "+GENMOB" etc.. (spare only objects of +java class)
 
 
 
+JAVACLASS "-GENITEM" etc.. (Do not spare objs of -classes)
 
 
 
-CLASS +thief +mage +ranger (spare all but excepted char classes)
 
 
 
+CLASS -thief -mage  -ranger (spare only listed classes)
 
 
 
-BASECLASS +thief +mage (spare all but excepted base char classes)
 
 
 
+BASECLASS -thief -mage  -ranger (spare only listed base char classes)
 
 
 
-RACE +elf +dwarf (spare all but excepted races)
 
 
 
+RACE -elf -dwarf -human -half -gnome (spare only listed races)
 
 
 
-RACECAT +elf +insect +humanoid (spare all but listed racial categories)
 
 
 
+RACECAT -elf -humanoid (spare only listed racial categories)
 
 
 
-ALIGNMENT +evil +neutral +good (spare all but excepted alignments)
 
 
 
+ALIGNMENT -evil -good -neutral (spare only listed alignments)
 
 
 
-GENDER (spare genders), -GENDER +male +neuter (create exceptions)
 
 
 
+GENDER -male -female -neuter (spare only listed genders)
 
 
 
-FACTION (spare all faction and values, even a lack of faction)
 
 
 
-FACTION +myfactionrange +faction.rangecode (create exceptions)
 
 
 
+FACTION -rangecode -faction.rangecode (spare only faction range code)
 
 
 
-NAMES +bob "+my name" (spare all except those with given names)
 
 
 
+NAMES -bob "-my name" (spare only those with one of the given names)
 
 
 
-SUBNAMES +*ending +*inside* (spare all except those with partial name)
 
 
 
+SUBNAMES -*ending -*insid* (spare only those with partial name mask)
 
 
 
-TATTOOS +mytatto +thistattoo (spare all but those with excepted tatts)
 
 
 
+TATTOOS -mytatt -anytattoo, (spare only those with a listed tattoo)
 
 
 
-EXPERTISES +myedu +thisedu (spare all but those with listed expertise)
 
 
 
+EXPERTISES -myedu -anyedu (spare those with a listed expertise)
 
 
 
-LEVEL +=1 +)5 +)=7 +(13 +(=20 (spare all but those player level ranges)
 
 
 
-=1 -)5 -)=7 -(13 -(=20 (spare only listed levels range)
 
 
 
-CLASSLEVEL +=1 +)5 +(=20 (spare all except those with current class lvl)
 
 
 
-MAXCLASSLEVEL +=1 +(13 (spare only those with current class level range)
 
 
 
+ANYCLASS -thief -mage (spare only those with a listed multi-class)
 
 
 
-ANYCLASSLEVEL +thief +)5 +mage +(10 (spare all except multi-class lvl)
 
 
 
+ANYCLASSLEVEL -thief -)5 -mage -(10 (spare only these multi-class lvls)
 
 
 
-SECURITY +cmdrooms +area cmditems (spare all but listed security flags)
 
 
 
+SECURITY -cmdrooms +area cmditems,(spare only those with listed flags)
 
 
 
-MOOD +grumpy +normal (spare all except those with given moods)
 
 
 
+MOOD -grumpy -normal (spare only those with subtracted moods)
 
 
 
-CLAN +Killers "+The Avengers" (spare all except those in listed clan)
 
 
 
+CLAN -Killers "-Avengers" (spare only those in a listed clan)
 
 
 
-DEITY +Apollo "+Grothon" (spare all except worshippers of listed deity)
 
 
 
+DEITY -God "-Rothon 1" (spare only worshippers of a listed deity)
 
 
 
-ANYCLASS +thief +ranger (spare all except those with a multi-class)
 
 
 
-STR X (spare those with strength greater than X)
 
 
 
+STR X (spare those with strength less than X)
 
 
 
-INT, -WIS, -CON, -CHA, -DEX (Same as -STR, for other current stats)
 
 
 
+INT, +WIS, +CON, +CHA, +DEX (Same as +STR, for other current stats)
 
 
 
+-ADJSTR...ADJCON (Same as above, but uses current values)
 
 
 
-GROUPSIZE X (spare those in groups larger than X)
 
 
 
+GROUPSIZE X (spare those in groups smaller than X)
 
 
 
-AREA +thatarea "+my areaname" (spare all except those in listed area)
 
 
 
+AREA -thatarea "-my areaname" (spare only those in listed area)
 
 
 
-HOME "+area name" (spare all except those from listed home/beacon area)
 
 
 
+HOME "-my areaname" (spare only those from listed home/beacon area)
 
 
 
-ISHOME (spare all npcs not currently in their home/beacon areas)
 
 
 
+ISHOME (spare all npcs unless they are in their home/beacon areas)
 
 
 
-ITEM "+item name" etc... (spare only those with an item name)
 
 
 
-WORN "+item name" etc... (spare only those wearing item name)
 
 
 
-MATERIAL "+WOODEN" etc.. (spare only items of added materials)
 
 
 
+MATERIAL "-WOODEN" etc.. (Do not spare items of -materials)
 
 
 
-RESOURCES "+OAK" etc.. (spare only items of added resources)
 
 
 
+RESOURCES "-OAK" etc.. (Do not spare items of -resources)
 
 
 
-IF (CONDITION) (spare, unless they meet Scriptable conditions)
 
 
 
+IF (CONDITION) (never spare anyone who meets Scriptable cond)
 
 
 
-IFSTAT +STAT=VALUE +STAT=VALUE (spare, unless a stat value is true)
 
 
 
+IF -STAT=VALUE -STAT=VALUE (spare those with a stat value)
 
 
 
-VALUE X (spare those with value or money less than X)
 
 
 
+VALUE X (spare those with value or money greater than X)
 
 
 
-WEIGHT X (spare those weighing less than X)
 
 
 
+WEIGHT X (spare those weighing more than X)
 
 
 
-ARMOR/-DAMAGE/-ATTACK X (spare armor/damage/attack bonus less than X)
 
 
 
+ARMOR/+DAMAGE/+ATTACK X (spare armor/damage/attack bonus more than X)
 
 
 
+-WEAPONTYPE, +-WEAPONCLASS, and +-WEAPONAMMO for wielded weaponchecks
 
 
 
-WORNON "+TORSO" etc.. (spare only items wearable on +locations)
 
 
 
+WORNON "-NECK" etc.. (Do not spare items wearable on -locations)
 
 
 
-DISPOSITION "+ISHIDDEN" etc.. (spare only with +dispositions)
 
 
 
+DISPOSITION "-ISHIDDEN" etc.. (Do not spare only with sub disp)
 
 
 
-SENSES "+CANSEEDARK" etc.. (spare only those with +senses)
 
 
 
+SENSES "-CANSEEDARK" etc.. (Do not spare those with -senses)
 
 
 
-ABILITY X (spare those with magical ability less than X)
 
 
 
+ABILITY X (spare those with magical ability greater than X)
 
 
 
-HOUR/-MONTH/-DAY +X (spare always, unless the hour/month/day is X)
 
 
 
+HOUR/+MONTH/+DAY -X (spare those only when the hour/month/day is X)
 
 
 
-SEASON +FALL (spare those only when season is FALL)
 
 
 
+SEASON -SPRING (spare those whenever the season is SPRING)
 
 
 
-WEATHER +DROUGHT (spare those only when weather is DROUGHT)
 
 
 
+WEATHER -BLIZZARD (spare those whenever the weather is BLIZZARD)
 
 
 
-QUESTWIN "+MY QUEST" (spare those who have not my MY QUEST)
 
 
 
+QUESTWIN "-MY QUEST" (spare those who have won MY QUEST)
 
 
 
-EFFECTS +Sleep "+Wood Chopping" (spare all except those with effects)
 
 
 
+EFFECTS -Sleep "-Wood Chopping" (spare only those with listed effect)
 
 
 
-SKILLS +Spell_Sleep(75) (spare all except those with skill proficiency)
 
 
 
+SKILLS -Spell_Sleep(75) (spare only those with skill proficiency)
 
 
 
-SKILLFLAG +ENCHANTMENT etc.. (spare all except those with skillflag)
 
 
 
+SKILLFLAG -ENCHANTMENT etc.. (spare only those with listed skillflag)
 
 
 
-ACCCHIEVES +mytatto etc..  (spare all except those with achievements)
 
 
 
+ACCCHIEVES -mytattoo etc.. (spare only those with listed achievements)}}
 
  
 
===Notes===
 
===Notes===
 
.
 
.
 
[[Category:MOBS(BuilderInfo)]]
 
[[Category:MOBS(BuilderInfo)]]

Latest revision as of 14:12, 11 April 2021


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

.