Re: [BUG][trackered] Attribute buff pricing is broken in customize equipment fea
- --- In PCGenListFileHelp@yahoogroups.com, Eddy Anthony <eddyba@m...>
> taluroniscandar scribed:if the
> >> Meaning it's granting the right stat bonus? The issue is pricing,
> >> bonus is a negative it should return a cost of 0 which it wasdoing for
> >> positive bonuses.because
> > 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
> I also assumed that was what the MAX was for, now I can see (nowthat I'm
> thinking about it real hard) that the choice is multiplied by itselfso will
> always produce a positive number.At a guess, the person who put the MIN there had a momentary lapse and
> So then, what's the MAX needed for anyway?
forgot that neg*neg=pos and didn't want to return a neg price.