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

Re: [BUG][trackered] Attribute buff pricing is broken in customize equipment fea

Expand Messages
  • taluroniscandar
    ... if the ... doing for ... because ... that I m ... so will ... At a guess, the person who put the MIN there had a momentary lapse and forgot that
    Message 1 of 22 , Jun 27, 2005
    • 0 Attachment
      --- In PCGenListFileHelp@yahoogroups.com, Eddy Anthony <eddyba@m...>
      wrote:
      > taluroniscandar scribed:
      >
      > >> Meaning it's granting the right stat bonus? The issue is pricing,
      if the
      > >> bonus is a negative it should return a cost of 0 which it was
      doing for
      > >> positive bonuses.
      > >
      > > Actually, the formula is:
      > > ((1000*%CHOICE*%CHOICE)MAX0)
      > >
      > > So you'll never get a negative result anyway (negative * negative is
      > > postive).
      > >
      > > The test items I made have the same price postive or negative.
      >
      > Problem solved :)
      >
      > I had assumed that a negative choice would produce a negative price
      because
      > I also assumed that was what the MAX was for, now I can see (now
      that I'm
      > thinking about it real hard) that the choice is multiplied by itself
      so will
      > always produce a positive number.
      >
      > So then, what's the MAX needed for anyway?

      At a guess, the person who put the MIN there had a momentary lapse and
      forgot that neg*neg=pos and didn't want to return a neg price.
    Your message has been successfully submitted and would be delivered to recipients shortly.