From fe9178c66d6951b28f0e7b48a71e9072a3d24bc9 Mon Sep 17 00:00:00 2001 From: Macocian Alexandru Victor Date: Tue, 17 Feb 2026 05:43:33 -0800 Subject: [PATCH] Damage modifier 0x248 (Closes #1438) (#1445) --- Daybreak.Shared/Models/Guildwars/ItemModifier.cs | 1 + Daybreak.Shared/Models/Guildwars/ItemProperty.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Daybreak.Shared/Models/Guildwars/ItemModifier.cs b/Daybreak.Shared/Models/Guildwars/ItemModifier.cs index aa827134..44612ef5 100644 --- a/Daybreak.Shared/Models/Guildwars/ItemModifier.cs +++ b/Daybreak.Shared/Models/Guildwars/ItemModifier.cs @@ -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) diff --git a/Daybreak.Shared/Models/Guildwars/ItemProperty.cs b/Daybreak.Shared/Models/Guildwars/ItemProperty.cs index 5d14003c..8a88a03f 100644 --- a/Daybreak.Shared/Models/Guildwars/ItemProperty.cs +++ b/Daybreak.Shared/Models/Guildwars/ItemProperty.cs @@ -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 },