MOBHunter

From CoffeeMud Wiki
Revision as of 17:22, 20 May 2017 by Loki (talk | contribs) (Created page with "{{BehaviorTemplate|Name=MOBHunter|Targets=MOBs|Usage=min, max ticks, room radius, a percent chance, mask of mobs to hunt|Examples=min=600 max=1200 chance=99 radius=50 -RACE +H...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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     Ships     Planes of Existence     Quests     Triumphs    
===MOBHunter===
Targets: MOBs
Parameters: min, max ticks, room radius, a percent chance, mask of mobs to hunt
Examples: min=600 max=1200 chance=99 radius=50 -RACE +Human

min=50 max=1200 chance=75 -NAME "+Evil Wizards"

Description: This behavior will cause the mob to seek out a victim within the RADIUS number of rooms from where he is. The mob will then hunt down and assassinate the victim. The mob will begin the hunt according to the frequency defined by the parameters. The MIN and MAX parms decide the minimum number of ticks to wait between hunts, and the CHANCE parm determines the chance the hunt will begin at that time. The RADIUS is the number of rooms away from the mobs current room in which a victim will be sought. The rest of the parameters are a mask to determine who would make a good victim. Valid masks include:

+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

.