BM Weapons (P3) - GReinoso96/XXModding GitHub Wiki

struct WeaponData_MHP3 {
    int16 model;
    byte rarity;
    byte unk1;
    int32 price;
    int16 sharpness;
    int16 damage;
    byte defense;
    byte affinity;
    byte elementalType;
    byte elementalDamage;
    byte ailmentType;
    byte ailmentDamage;
    byte slots;
    byte weaponVar;
    byte attackIncreaseItem;
    byte attackIncreaseReq;
    byte color;
    byte sortOrder;
    byte unk2[3];
}
  • Model: Model used by the weapon, it also decides what class a weapon belongs to.
  • Rarity: Rarity level of the weapon, starts at 00 meaning Rare-1.
  • unk1: Unknown, always zero.
  • Price: Zenny price, the value when crafting a weapon is half of this.
  • Sharpness: Sharpness ID, pretty much trial and error.
  • Damage: Weapon damage.
  • Defense: Extra defense given by the weapon.
  • Affinity: The weapon's base affinity.
  • ElementalType: Type of element, check below for a chart.
  • ElementalDamage: Value in-game is displayed as-is.
  • AilmentType: Type of ailment, check below for a chart.
  • AilmentDamage: Value in-game is displayed as-is.
  • Slots: Up to 3, higher values break the UI and are untested.
  • WeaponVar: Weapon Variable value, controls Gunlance shelling, Hunting Horn notes and Switch Axe phials.
  • AttackIncreaseItem: Item needed to increase attack by 15, usually an armor sphere.
  • AttackIncreaseReq: Number of the above item required to increase attack.
  • Color: Weapon Color.
  • SortOrder: Lower numbers come first when sorting, unchecked.
  • unk2: Unknown, always zero.
Weapon Address
Switch Axe 0x0898D60C
Value GL HH SA
00 Normal Lvl 1 WRB Power
01 Wide Lvl 1 WBR Elemental
02 Long Lvl 1 PRB Paralysis
03 Normal Lvl 2 PBR Dragon
04 Wide Lvl 2 WRG Exhaust
05 Long Lvl 2 WGR Poison
06 Normal Lvl 3 PRG None
07 ... ...
Value Elemental Type Ailment Type
01 Fire Poison
02 Water Paralysis
03 Thunder Sleep
04 Ice
05 Dragon
Value Color
00 White
01 Red (Yukumo)
02 Purple (Yukumo)
03 White
04 Pale Purple (Secta)
05 Copper
06 Pale Green
07 Dark Pale Brown
08 Deep Purple
09 Pale Yellow
0A Paler Yellow
0B Pale Red
0C Saturated Deep Purple
... ...
25 Teal
26 White
27 onwards Black

See Also

Credits: YukiHaze, Vuze