On Thu, 12 Dec 1996, Daniel Koepke wrote:
>   if (number(1, 200) <= GET_SKILL(ch, SKILL_SECOND_ATTACK))
>     apr++;
>   if (number(1, 300) <= GET_SKILL(ch, SKILL_THIRD_ATTACK))
>     apr++;
>   if (affected_by_spell(ch, SPELL_HASTE))
>     apr += number(0, 2);
Ooops, I made a mistake there.  Should have been:
  if (number(1, 200) <= GET_SKILL(ch, SKILL_SECOND_ATTACK)) {
    apr++;
    if (number(1, 300) <= GET_SKILL(ch, SKILL_THIRD_ATTACK))
      apr++;
  }
You should nest the SECOND_ATTACK and THIRD_ATTACK skill checks so your
players don't miss their SECOND_ATTACK and get THIRD_ATTACK, and so they
will have to have practiced SECOND_ATTACK to some extent to ever hope to
get THIRD_ATTACK (it just makes sense that way, IMHO).
--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST