Damage modifier 0x248 (Closes #1438) (#1445)

This commit is contained in:
2026-02-17 05:43:33 -08:00
parent e5e4e42e1e
commit fe9178c66d
2 changed files with 2 additions and 0 deletions
@@ -19,6 +19,7 @@ public enum ItemModifierIdentifier : uint
BaneSpecies = 0x008, // Dmg increased vs species (arg1)
Attribute = 0x279, // Requires points in attribute (arg2) (arg1)
Damage = 0x27A, // Min damage - Max damage (arg2) (arg1)
Damage2 = 0x248, // Damage without attribute. Min dmg - Max dmg (arg2) (arg1)
Armor1 = 0x27B, // Armor value (arg1)
Armor2 = 0x23C, // Armor value (arg1)
Energy = 0x27C, // Energy value (arg1)
@@ -81,6 +81,7 @@ public abstract class ItemProperty
ItemModifierIdentifier.BaneSpecies => new BaneProperty { BaneSpecies = (ItemBaneSpecies)m.Argument1 },
ItemModifierIdentifier.Attribute => new RequirementProperty { Attribute = ParseAttributeName(m.Argument1), Requirement = (int)m.Argument2 },
ItemModifierIdentifier.Damage => new DamageProperty { MinDamage = (int)m.Argument2, MaxDamage = (int)m.Argument1 },
ItemModifierIdentifier.Damage2 => new DamageProperty { MinDamage = (int)m.Argument2, MaxDamage = (int)m.Argument1 },
ItemModifierIdentifier.Armor1 => new ArmorProperty { Armor =(int)m.Argument1 },
ItemModifierIdentifier.Armor2 => new ArmorProperty { Armor = (int)m.Argument1 },
ItemModifierIdentifier.Energy => new EnergyProperty { Energy = (int)m.Argument1 },