getAttackStyleIndexFor

static Optional<IntegergetAttackStyleIndexFor(Combat.AttackStyle style)

Gets the current attack style index for the specified attack style

Return

the attack style index, or an empty optional if the specified attack style isn't available

Parameters

style

the attack style