Class WeaponStyles

java.lang.Object
privbot.mechanics.WeaponStyles

public final class WeaponStyles extends Object
Weapon name to combat style, for Elorin's RS2-era item names. Order matters: specific ranged names are checked before magic and melee, because the shared-lib keyword list matched "axe" in "Rune throwing axe" and prayed melee against a thrown weapon (AutoPvP Elorin review, 2026-09-17).

"atlatl" (plan T6.1, D31): Glabrata's Eclipse atlatl was in no list, so the engine's incoming style was unread and PRAYER held Protect from Magic on 2026-09-22 18:56 T27-T35 while the atlatl's shots did 32 of the fight's 35 damage through it.

  • Method Details

    • classify

      public static CombatStyle classify(String weaponName)
      A name-based style guess, or null for an unknown name; it is not proof of an opponent's next attack.