Loading ...
Sorry, an error occurred while loading the content.

Re: Using roll("x")

Expand Messages
  • Paul
    ... can ... possible ... up the ... roll (my ... undone, ... doable and ... because ... from a ... they are ... that class ... have to ... this is not ... Hmm,
    Message 1 of 5 , Dec 28, 2005
    • 0 Attachment
      > >>> Fast Healing
      > >>> VISIBLE:NO
      > >>> TYPE:Special.Quality.Extraordinary
      > >>> SA:Fast Healing % (Ex)|FastHealingDie
      > >>> DEFINE:FastHealingDie|0
      > >>> BONUS:VAR|FastHealingDie|roll("1d4+1")
      >
      > > What I'd like is for it to generate a random number the first time
      > > the feat is picked. And then input that number into the VAR so it
      can
      > > be put into the SA
      >
      > Well the standard method is to create hidden feats, one for each
      possible
      > value and use an ADD:FEAT to promt the user to pick a value. I set
      up the
      > intial Wealth roll in Modern pretty much like that.
      >
      > This has at least two advantages, it lets the user determine the
      roll (my
      > players don't like the computer rolling for them), and it is easily
      undone,
      > if you remove the feat the ADD:FEAT comes off with it.
      >
      > Now I know a way you could do it randomly but I would not be un-
      doable and
      > you would have to use the latest autobuild.
      >
      > First I will assume this is a class feature, I make that assumption
      because
      > I'm going to use kits for this and I can't get the KIT tag to work
      from a
      > feat, I assume that's a bug.
      >
      > First make 4 templates, one for each roll value:
      >
      > Fast Healing Roll 1
      > VISIBLE:NO
      > BONUS:VAR|FastHealingDie|2
      >
      > Fast Healing Roll 2
      > VISIBLE:NO
      > BONUS:VAR|FastHealingDie|3
      >
      > Fast Healing Roll 3
      > VISIBLE:NO
      > BONUS:VAR|FastHealingDie|4
      >
      > Fast Healing Roll 4
      > VISIBLE:NO
      > BONUS:VAR|FastHealingDie|5
      >
      > Next you will make a kit:
      >
      > STARTPACK:Fast Healing Roll VISIBLE:NO
      > SELECT:roll("1d4")
      > TEMPLATE:Fast Healing Roll 1 OPTION:1
      > TEMPLATE:Fast Healing Roll 2 OPTION:2
      > TEMPLATE:Fast Healing Roll 3 OPTION:3
      > TEMPLATE:Fast Healing Roll 4 OPTION:4
      >
      > In the class line where the hidden feat is added add a KIT tag:
      >
      > KIT:1|Fast Healing Roll
      >
      > The SELECT and OPTION tags have not been added to the docs yet but
      they are
      > working in the current build. The down side of this is that once
      that class
      > level is taken and the kits adds one of the templates you would
      have to
      > rebuild the character or edit the .pcg file to change the value,
      this is not
      > something I'd do for official datasets.
      > --
      > ~ Eddy Anthony (MoSaT)
      > ~ PCGen Content Silverback
      >

      Hmm, I don't like that method either. I guess I'll just code it up
      seperately.
    Your message has been successfully submitted and would be delivered to recipients shortly.