[QUESTION] act()

From: TorynMUD Staff (toryn-mud@HOME.COM)
Date: 09/07/98

Hey everyone, I've got a couple questions regarding the act()
1) Does anyone have, or know of a place with documention regarding the

I'm working on a find weakness skill... and this is the code I added to

if (GET_POS(victim)==POS_FIGHTING) {
if ((attacktype >= 0) && (IS_WEAPON(attacktype))) {
       if (number(1, 775) <= GET_SKILL(ch, SKILL_FIND_WEAKNESS)) {
             improve_skill(ch, SKILL_FIND_WEAKNESS);
  act("You find a weakness in $N's defenses!", FALSE, 0, 0, victim,
  act("$n finds a weakness in your defenses!",  FALSE, ch, 0, 0,
  act("$n finds a weakness in $N's defenses!", FALSE, ch, 0, victim,
           dam += lvD5(victim);

Now the above produces the following output in the mud:
Death swings at you missing or whatever...
You piece death very hard.
NOTHING about finding a weakness....
however, people in the room saw:
Tesman found a weakness in Death's defenses!
Testman hits Death very hard.

Now my other question is the FALSE, 0, 0, victim, TO_WHATEVER);
lines... the placement of the ch, victim, FALSE, all that is critical,
what is the format to use when doing these messages, I'm pretty sure
why I'm not seeing anything.
Any help is greatly appreciated, thanks in advance.
    -- Toryn MUD staff.

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |

This archive was generated by hypermail 2b30 : 12/15/00 PST