Some Test Framework Questions

fronobulax

Developer
Staff member
I call internal.helpers.Player.withLevel for various levels. I print out KoLCharacter.getBaseMuscle(), getBaseMysticality() and getBaseMoxie() before and after. Nothing changes. Since I have previously defined a class I would have expected at least one of the stats to be set to level squared. Are my expectations wrong or is there something besides KoLCharacter.recalculateAdjustments() I should be calling after withLevel?

Similarly I call withEquippableItem in cases where I expect stats to change but printing before and after shows no change.

Am I using these wrong or what?

@Ryo_Sangnoir ? @gausie ? @Veracity ?

Context is I am using the test framework to gather info about what the maximizer is doing in hopes of finding a unicorn and understanding things I don't. I am iterating over every piece of equipment and including ones that go into Weapon of Offhand Slots and noting that withItem and withEquipabbleItem don't seem to change stats.

Thanks.
 
Back
Top