BM Weapons (FU) - GReinoso96/XXModding GitHub Wiki

struct WeaponData {
    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 unk2;
    byte weaponVar;
    byte sortOrder;
    byte unk3[2];
}
  • 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: True raw damage of the weapon, check below for a chart.
  • 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 this multiplied by 10.
  • AilmentType: Like above, but only appears to accept ailments.
  • AilmentDamage: Ditto.
  • Slots: Up to 3, higher values break the UI and are untested.
  • unk2: Unknown.
  • WeaponVar: Weapon Variable value, controls Gunlance shelling and Hunting Horn notes.
  • SortOrder: Lower numbers come first when sorting, unchecked.
  • unk3: Unknown.

Information

  • Weapons can use both damage type values at once.
Value Gunlance Hunting Horn
00 Normal Lv1 WBR
01 Spread Lv1 WYR
02 Long Lv1 WGR
03 Normal Lv2 WBY
04 Spread Lv2 WGY
05 Long Lv2 WGB
06 Normal Lv3 PBR
07 Spread Lv3 PYR
08 Long Lv3 PBY
09 Normal Lv4 PGY
0A Spread Lv4 PGB
0B Long Lv4 PGR
0C ... WGC
0D WYC
0E WCB
0F WCR
10 PGC
11 PYC
12 PCB
13 PCR
14 BlBlBl
R: Red G: Green B: Blue
Y: Yellow C: Cyan P: Pink
W: White Bl: Black
Weapon Type In-game damage multiplier
GS & LS 4.8
SnS & DB 1.4
Hammer & HH 5.2
Lance & GL 2.3
Gunner 1.2
Value Elemental Type Ailment Type
1 Fire Poison
2 Water Paralysis
3 Thunder Sleep
4 Dragon
5 Ice

Credits: YukiHaze, Vuze