MEDIT-NPC-FLAGS

building

Also known as: MEDIT-FLAGS · SPEC · STAYZONE · AGGRESSIVE · AGGR_GOOD · AGGR_NEU · AGGR_EVIL · STAY-ZONE · STAY_ZONE · SCAVENGER · NPCFLAGS · NPC-FLAGS · MOBFLAGS · MOB-FLAGS · SENTINEL · AWARE · NOCHARM · MOB-NPC · NPC_FLAGS · HELPER

NPC stands for non-player-character (mob) L) NPC Flags : ISNPC 0) SPEC This flag must be set on mobiles which have special procedures written in C. In addition to setting this bit, the specproc must be assigned in spec_assign.c, and the specproc itself must be written. Instead of using this use scripts. DO NOT SET. 1) SENTINEL Mob will not leave the room. 2) SCAVENGER The mob should pick up valuables it finds on the ground. More expensive items will be taken first. 3) ISNPC Default is on, do not change. HELP ISNPC. 4) AWARE Set for mobs which cannot be backstabbed. 5) AGGR Mob will hit all players in the room it can see. See also: the WIMPY bit. 6) STAY_ZONE Mob will not leave its zone. All mobs should have this flag or the SENTINEL flag. This keeps AGGRESSIVE mobs from wandering into a newbie zone. 7) WIMPY Mob will flee when being attacked if it has less than 20% of its hit points. If the WIMPY bit is set in conjunction with any of the forms of the AGGRESSIVE bit, the mob will only attack mobs that are unconscious (sleeping or incapacitated). 8) AGGR_EVIL Mob will attack players that are evil-aligned. 9) AGGR_GOOD Mob will attack players that are good-aligned. 10) AGGR_NEU Mob will attack players that are neutrally aligned. 11) MEMORY Mob will remember players that initiate attacks on it, and will attack that player if it ever runs into him again. 12) HELPER The mob will attack any player it sees in the room that is fighting with a mobile in the room. Useful for groups of mobiles that travel together; i.e. three snakes in a pit, to force players to fight all three simultaneously instead of picking off one at a time. 13) NOCHARM Mob cannot be charmed. 14) NOSUMMON Mob cannot be summoned. 15) NOSLEEP Sleep spell cannot be sling on mob. 16) NOBASH Mob cannot be bashed. 17) NOBLIND Mob cannot be blinded. 18) NOKILL Mob cannot be attacked. 19) NOTDEADYET Mob being extracted. CAN NOT BE SET. See also:: MEDIT-AFF-FLAGS