Mob Progs Manual: FIGHT_PROG |
An Example of FIGHT_PROG: 1) Type: FIGHT_PROG 2) ARGS: 50 3) Commands: The fight_prog is executed if the mobile is fighting and if a random roll being made is less than ARGS's value. So in this case, if a creature was fighting the mobile, and the random roll was less than args, the fight_prog will be executed. Note: If the fight_prog is executed, there can be only one. The first one encountered will be executed and that's it. |
| Extra Descriptions: manual mob progs C1 create type IN_FILE_PROG ACT_PROG BRIBE_PROG ENTRY_PROG GIVE_PROG GREET_PROG ALL_GREET_PROG FIGHT_PROG HITPERCENT_PROG HITPRCNT_PROG DEATH_PROG RAND_PROG SPEECH_PROG ARGS commands destroy C2 C3 Variables C4 Reference mobcommands |