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

[TM] Re: BUG: Feat number being calculated incorrectly

Expand Messages
  • Martijn Verburg
    Trackered - https://sourceforge.net/tracker/?func=detail&aid=2736819&group_id=25576&atid=384719
    Message 1 of 5 , Apr 6, 2009
    • 0 Attachment
      Trackered - https://sourceforge.net/tracker/?func=detail&aid=2736819&group_id=25576&atid=384719

      --- In pcgen@yahoogroups.com, "Tom Parker" <thpr@...> wrote:
      >
      > TM: Tracker this so it gets investigated, please
      >
      > --- In pcgen@yahoogroups.com, "skipaugur" <WBA@> wrote:
      > >
      > > I think it's trying to give me too many as well. I opened an older character created in 5.10.1. The race and class are:
      > >
      > > Human 11th level
      > > Rogue 4
      > > Psychic Warrior 3
      > > War Mind 4
      > >
      > > It says that I have 9 feats total - 7 "normal" and 2 for Psychic warrior.
      > >
      > > I think I should have 7 total - 2 for being human, 3 for levels 3/6/9, and 2 for Psychic Warrior.
      > >
      > > Not sure if it needs fixing, I can just not allocate the extra ones. Or maybe I'm misreading the rules?
      > >
      > > --- In pcgen@yahoogroups.com, "Martijn Verburg" <martijnverburg@> wrote:
      > > >
      > > > Bump, I suspect this got lost in the house skills conversation. - K
      > > >
      > > > > PCGen 5.14.1.
      > > > >
      > > > > The number of feats for my character isn't being calculated
      > > > > correctly. These are the classes:
      > > > >
      > > > > RACE:Human
      > > > > CLASS:Rogue|SUBCLASS:None|LEVEL:5|SKILLPOOL:0
      > > > >
      > > > CLASS:Sorcerer|SUBCLASS:None|LEVEL:1|SKILLPOOL:0|SPELLBASE:CHA|CANCAST
      > > > > PERDAY:5,3
      > > > >
      > > > CLASS:Assassin|SUBCLASS:None|LEVEL:5|SKILLPOOL:0|SPELLBASE:INT|CANCAST
      > > > > PERDAY:0,3,2,0
      > > > > CLASS:Arcane Trickster|SUBCLASS:None|LEVEL:3|SKILLPOOL:0
      > > > >
      > > > > So from my calculation there should be 6 feats available:
      > > > > feats at levels 1/3/6/9/12
      > > > > bonus feat for being human
      > > > >
      > > > > However PCGen thinks I have 7 feats available.
      > > > >
      > > > > Running DEBUG I see this...
      > > > >
      > > > > 20:59:36.162 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula getJepVariable: MAX(CL,0)/3
      > > > > 20:59:36.162 FINER AWT-EventQueue-1 pcgen.core.VariableProcessorPC
      > > > > lookupVariable internal variable for: 'CL' = 3.0
      > > > > 20:59:36.163 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula Result 'MAX(CL,0)/3' = 1.0
      > > > > 20:59:36.163 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > processBonus BONUS: Arcane Trickster : 1.0 : FEAT.PCPOOL
      > > > > 20:59:36.167 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula getJepVariable: MAX(CL,0)/3
      > > > > 20:59:36.168 FINER AWT-EventQueue-1 pcgen.core.VariableProcessorPC
      > > > > lookupVariable internal variable for: 'CL' = 5.0
      > > > > 20:59:36.168 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula Result 'MAX(CL,0)/3' = 1.6666666666666667
      > > > > 20:59:36.168 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > processBonus BONUS: Assassin : 1.6666666269302368 : FEAT.PCPOOL
      > > > > 20:59:36.176 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula getJepVariable: MAX(CL,0)/3
      > > > > 20:59:36.177 FINER AWT-EventQueue-1 pcgen.core.VariableProcessorPC
      > > > > lookupVariable internal variable for: 'CL' = 1.0
      > > > > 20:59:36.177 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula Result 'MAX(CL,0)/3' = 0.3333333333333333
      > > > > 20:59:36.178 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > processBonus BONUS: Sorcerer : 0.3333333432674408 : FEAT.PCPOOL
      > > > > 20:59:36.178 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > processBonus BONUS: Sorcerer : 0.3333333432674408 : FEAT.PCPOOL
      > > > > 20:59:36.182 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula getJepVariable: MAX(CL-3+3,0)/3
      > > > > 20:59:36.182 FINER AWT-EventQueue-1 pcgen.core.VariableProcessorPC
      > > > > lookupVariable internal variable for: 'CL' = 5.0
      > > > > 20:59:36.182 FINER AWT-EventQueue-1 pcgen.core.VariableProcessor
      > > > > processJepFormula Result 'MAX(CL-3+3,0)/3' = 1.6666666666666667
      > > > > 20:59:36.183 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > processBonus BONUS: Rogue : 1.6666666269302368 : FEAT.PCPOOL
      > > > >
      > > > > Note in the above the at the Sorcerer feat count appears twice in
      > > > the
      > > > > debug output.
      > > > >
      > > > > This is supported by the calculation that shows in the debug:
      > > > >
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool ==============
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool level 14
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool POOL: 2.0
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool PCPOOL: 4.9999998807907104
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool MPOOL: 0.0
      > > > > 20:59:40.609 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool APOOL: 0.0
      > > > > 20:59:40.610 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool
      > > > > 20:59:40.610 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool Total Bonus: 7.0
      > > > > 20:59:40.610 FINER AWT-EventQueue-1 pcgen.core.PlayerCharacter
      > > > > getBonusFeatPool ==============
      > > > >
      > > > > Total should be 6.666, and show as 6 in PCGen.
      > > > >
      > > > > Any ideas on how to fix this?
      > > > >
      > > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.