public BasicAttributeGump(Item item, Mobile m, RuneApplicationTool rt) : base(0, 0) { beheld = item; from = m; tool = rt; imbuePoints = (int)((m.Skills.Inscribe.Value / 5) - 12); this.Closable = true; this.Disposable = true; this.Dragable = true; this.Resizable = false; this.AddPage(0); this.AddBackground(12, 0, 283, 480, 9380); this.AddImage(212, 392, 51); this.AddLabel(233, 407, 0, imbuePoints.ToString()); this.AddItem(31, 33, 3676); this.AddItem(80, 29, 3688); this.AddItem(132, 33, 3686); this.AddItem(231, 33, 3679); this.AddItem(182, 29, 3682); this.AddLabel(41, 59, 1209, @"Damage Increase"); this.AddLabel(41, 81, 1409, @"Speed Increase"); this.AddLabel(41, 104, 1309, @"Improved Accuracy"); this.AddLabel(41, 127, 1109, @"Improved Defense"); this.AddButton(253, 61, 55, 55, (int)Buttons.dmgIncBtn, GumpButtonType.Reply, 0); this.AddLabel(41, 150, 1509, @"Inc. Spell Damage"); this.AddLabel(41, 173, 1609, @"Lower Mana Cost"); this.AddLabel(41, 196, 2115, @"Strength Bonus"); this.AddLabel(41, 219, 2120, @"Dexterity Bonus"); this.AddLabel(41, 241, 2113, @"Intelligence Bonus"); this.AddLabel(41, 263, 2201, @"Hitpoint Regen"); this.AddLabel(41, 286, 2211, @"Stamina Regen"); this.AddLabel(42, 309, 2222, @"Mana Regen"); this.AddItem(24, 339, 3913); this.AddItem(34, 337, 5041); this.AddLabel(72, 342, 0, @"Weapon Abilities"); this.AddButton(185, 345, 1209, 1210, (int)Buttons.weaponBtn, GumpButtonType.Reply, 0); this.AddButton(253, 83, 55, 55, (int)Buttons.spdIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 106, 55, 55, (int)Buttons.accIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 129, 55, 55, (int)Buttons.DefIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 152, 55, 55, (int)Buttons.SpellDmgIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 175, 55, 55, (int)Buttons.LowerManaBtn, GumpButtonType.Reply, 0); this.AddButton(253, 198, 55, 55, (int)Buttons.strBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 221, 55, 55, (int)Buttons.dexBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 243, 55, 55, (int)Buttons.intBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 265, 55, 55, (int)Buttons.hpRegenBtn, GumpButtonType.Reply, 0); this.AddButton(253, 288, 55, 55, (int)Buttons.stamRegenBtn, GumpButtonType.Reply, 0); this.AddButton(253, 311, 55, 55, (int)Buttons.manaRegenBtn, GumpButtonType.Reply, 0); this.AddButton(204, 61, 56, 56, (int)Buttons.dmgDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 83, 56, 56, (int)Buttons.spdDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 106, 56, 56, (int)Buttons.accDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 129, 56, 56, (int)Buttons.defDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 152, 56, 56, (int)Buttons.SpellDmgDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 175, 56, 56, (int)Buttons.lowerManaDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 198, 56, 56, (int)Buttons.StrBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 221, 56, 56, (int)Buttons.DexBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 243, 56, 56, (int)Buttons.intBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 265, 56, 56, (int)Buttons.hpRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 288, 56, 56, (int)Buttons.stamRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 311, 56, 56, (int)Buttons.manaRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(50, 399, 239, 239, (int)Buttons.applyButton, GumpButtonType.Reply, 0); this.AddLabel(231, 59, 0, _values[1].ToString()); this.AddLabel(231, 82, 0, _values[2].ToString()); this.AddLabel(231, 105, 0, _values[3].ToString()); this.AddLabel(231, 128, 0, _values[4].ToString()); this.AddLabel(231, 151, 0, _values[5].ToString()); this.AddLabel(231, 174, 0, _values[6].ToString()); this.AddLabel(231, 197, 0, _values[7].ToString()); this.AddLabel(231, 220, 0, _values[8].ToString()); this.AddLabel(231, 242, 0, _values[9].ToString()); this.AddLabel(231, 264, 0, _values[10].ToString()); this.AddLabel(231, 287, 0, _values[11].ToString()); this.AddLabel(231, 310, 0, _values[12].ToString()); }
public BasicAttributeGump(Item item, Mobile m, RuneApplicationTool rt) : base(0, 0) { beheld = item; from = m; tool = rt; imbuePoints = (int)((m.Skills.Inscribe.Value / 5) - 8); this.Closable = true; this.Disposable = true; this.Dragable = true; this.Resizable = false; this.AddPage(0); this.AddBackground(12, 0, 283, 480, 9380); this.AddImage(212, 392, 51); this.AddLabel(233, 407, 0, imbuePoints.ToString()); this.AddItem(31, 33, 3676); this.AddItem(80, 29, 3688); this.AddItem(132, 33, 3686); this.AddItem(231, 33, 3679); this.AddItem(182, 29, 3682); this.AddLabel(41, 59, 1209, @"Damage Increase"); this.AddLabel(41, 81, 1409, @"Speed Increase"); this.AddLabel(41, 104, 1309, @"Improved Accuracy"); this.AddLabel(41, 127, 1109, @"Improved Defense"); this.AddButton(253, 61, 55, 55, (int)Buttons.dmgIncBtn, GumpButtonType.Reply, 0); this.AddLabel(41, 150, 1509, @"Inc. Spell Damage"); this.AddLabel(41, 173, 1609, @"Lower Mana Cost"); this.AddLabel(41, 196, 2115, @"Strength Bonus"); this.AddLabel(41, 219, 2120, @"Dexterity Bonus"); this.AddLabel(41, 241, 2113, @"Intelligence Bonus"); this.AddLabel(41, 263, 2201, @"Hitpoint Regen"); this.AddLabel(41, 286, 2211, @"Stamina Regen"); this.AddLabel(42, 309, 2222, @"Mana Regen"); this.AddItem(24, 339, 3913); this.AddItem(34, 337, 5041); this.AddLabel(72, 342, 0, @"Weapon Abilities"); this.AddButton(185, 345, 1209, 1210, (int)Buttons.weaponBtn, GumpButtonType.Reply, 0); this.AddButton(253, 83, 55, 55, (int)Buttons.spdIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 106, 55, 55, (int)Buttons.accIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 129, 55, 55, (int)Buttons.DefIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 152, 55, 55, (int)Buttons.SpellDmgIncBtn, GumpButtonType.Reply, 0); this.AddButton(253, 175, 55, 55, (int)Buttons.LowerManaBtn, GumpButtonType.Reply, 0); this.AddButton(253, 198, 55, 55, (int)Buttons.strBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 221, 55, 55, (int)Buttons.dexBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 243, 55, 55, (int)Buttons.intBonusBtn, GumpButtonType.Reply, 0); this.AddButton(253, 265, 55, 55, (int)Buttons.hpRegenBtn, GumpButtonType.Reply, 0); this.AddButton(253, 288, 55, 55, (int)Buttons.stamRegenBtn, GumpButtonType.Reply, 0); this.AddButton(253, 311, 55, 55, (int)Buttons.manaRegenBtn, GumpButtonType.Reply, 0); this.AddButton(204, 61, 56, 56, (int)Buttons.dmgDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 83, 56, 56, (int)Buttons.spdDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 106, 56, 56, (int)Buttons.accDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 129, 56, 56, (int)Buttons.defDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 152, 56, 56, (int)Buttons.SpellDmgDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 175, 56, 56, (int)Buttons.lowerManaDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 198, 56, 56, (int)Buttons.StrBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 221, 56, 56, (int)Buttons.DexBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 243, 56, 56, (int)Buttons.intBonusDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 265, 56, 56, (int)Buttons.hpRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 288, 56, 56, (int)Buttons.stamRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(204, 311, 56, 56, (int)Buttons.manaRegenDecBtn, GumpButtonType.Reply, 0); this.AddButton(50, 399, 239, 239, (int)Buttons.applyButton, GumpButtonType.Reply, 0); this.AddLabel(231, 59, 0, _values[1].ToString()); this.AddLabel(231, 82, 0, _values[2].ToString()); this.AddLabel(231, 105, 0, _values[3].ToString()); this.AddLabel(231, 128, 0, _values[4].ToString()); this.AddLabel(231, 151, 0, _values[5].ToString()); this.AddLabel(231, 174, 0, _values[6].ToString()); this.AddLabel(231, 197, 0, _values[7].ToString()); this.AddLabel(231, 220, 0, _values[8].ToString()); this.AddLabel(231, 242, 0, _values[9].ToString()); this.AddLabel(231, 264, 0, _values[10].ToString()); this.AddLabel(231, 287, 0, _values[11].ToString()); this.AddLabel(231, 310, 0, _values[12].ToString()); }
public ApplicationTarget(RuneApplicationTool t) : base(1, false, TargetFlags.None) { tool = t; }