Feature - Implemented Modifier Maximizer: add "init" alias

Nope, you have to enter it exactly as modref names it... luckily, you can use that at any time to see what the proper naming is.
 
Nope, you have to enter it exactly as modref names it... luckily, you can use that at any time to see what the proper naming is.

Hmm, I don't think that's true. Modref says "monster level" but maximize acccepts both "monster level" and "ml".
 
Hmm, I don't think that's true. Modref says "monster level" but maximize acccepts both "monster level" and "ml".

That's because certain keywords have aliases bound to them (i.e. are hardcoded). The rest all require you to type out the complete name.
 
Well, your initial question was specific to initiative, which doesn't/didn't have aliases. Unlike certain other commands, the modifier maximizer doesn't have any sort of fuzzy matcher, which is what I'm assuming you were hoping for, since your initial "init" attempt failed and you're aware it failed...
 
Well, your initial question was specific to initiative, which doesn't/didn't have aliases. Unlike certain other commands, the modifier maximizer doesn't have any sort of fuzzy matcher, which is what I'm assuming you were hoping for, since your initial "init" attempt failed and you're aware it failed...

There is a sort of fuzzy matching in the maximizer code, for example any string that starts with "mox" will be translated into Modifiers.MOXIE. (Even "moxaliciousness" and "moxaramariffic" :)

Even if there were true fuzzy matching, the maximizer would, I assume, get confused between "initiative" and "initiative penalty."

Anyways I know there is not an alias for this, which is why I was asking for one. Even the GUI uses "Init" in the charpane as an abbreviation for Initiative, so there's precedent.
 
r9628 adds "init" as an alias for "initiative". Because of the "Initiative Penalty" keyword, only words ending with "init" will become "initiative".

Now that I think of it, I can't remember why I didn't simply look for keyword.equals( "init" ).
 
r9629 adds the "init" alias in what was probably the way Jason intended those to be added.

EDIT: I forgot to add that r9628 also added "0.5 mp regen min, 0.5 mp regen max" to the default list in the Maximizer GUI.
 
Back
Top