public CustomSpellScrollGump( PlayerMobile m, CustomSpellScroll scroll ) : base(0, 0) { Closable=false; Disposable=false; Dragable=true; Resizable=false; AddPage(0); AddBackground(149, 86, 390, 370, 5120); AddBackground(165, 127, 359, 313, 3500); AddButton(460, 97, 4014, 4016, 1, GumpButtonType.Reply, 0); AddButton(495, 97, 4017, 4019, 0, GumpButtonType.Reply, 0); AddLabel(281, 98, 2010, @"Custom Spell Scroll"); if( m == null || m.Deleted || scroll == null || scroll.Deleted ) return; Scroll = scroll; AddLabel(190, 150, 2983, @"Name:"); AddLabel(190, 175, 2983, @"Damage:"); AddLabel(190, 200, 2983, @"Range:"); AddLabel(190, 225, 2983, @"Chained Targets:"); AddLabel(190, 250, 2983, @"Chained Damage:"); AddLabel(190, 275, 2983, @"Chained Range:"); AddLabel(190, 300, 2983, @"Status Duration:"); AddLabel(190, 325, 2983, @"Status Type:"); AddLabel(190, 350, 2983, @"Repetitions:"); AddLabel(190, 375, 2983, @"Repetition Delay:"); AddLabel(190, 400, 2983, @"Repetition Damage:"); AddLabel(352, 150, 2983, @"Mana Cost: " + scroll.Spell.ManaCost.ToString()); AddLabel(352, 175, 2983, @"Required Feat:"); AddLabel(352, 200, 2983, @"Explosion Damage:"); AddLabel(352, 225, 2983, @"Explosion Area:"); AddLabel(352, 250, 2983, @"Explosion Sound:"); AddLabel(352, 275, 2983, @"Explosion Hue:"); AddLabel(352, 300, 2983, @"Explosion ID:"); AddLabel(352, 325, 2983, @"Effect Sound:"); AddLabel(352, 350, 2983, @"Effect Hue:"); AddLabel(352, 375, 2983, @"Effect ID:"); AddLabel(352, 400, 2983, @"Icon ID:"); AddTextEntry(232, 150, 115, 20, 0, 0, @"" + scroll.Spell.CustomName); AddTextEntry(244, 175, 101, 20, 0, 1, @"" + scroll.Spell.Damage.ToString()); AddTextEntry(234, 200, 111, 20, 0, 2, @"" + scroll.Spell.Range.ToString()); AddTextEntry(297, 225, 46, 20, 0, 3, @"" + scroll.Spell.ChainedTargets.ToString()); AddTextEntry(294, 250, 48, 20, 0, 4, @"" + scroll.Spell.ChainedDamage.ToString()); AddTextEntry(280, 275, 73, 20, 0, 19, @"" + scroll.Spell.ChainedRange.ToString()); AddTextEntry(298, 300, 53, 20, 0, 5, @"" + scroll.Spell.StatusDuration.ToString()); AddTextEntry(273, 325, 80, 20, 0, 6, @"" + scroll.Spell.StatusType.ToString()); AddTextEntry(267, 350, 76, 20, 0, 7, @"" + scroll.Spell.Reps.ToString()); AddTextEntry(298, 375, 45, 20, 0, 8, @"" + scroll.Spell.RepDelay.ToString()); AddTextEntry(310, 400, 33, 20, 0, 9, @"" + scroll.Spell.RepDamage.ToString()); AddTextEntry(465, 200, 39, 20, 0, 10, @"" + scroll.Spell.ExplosionDamage.ToString()); AddTextEntry(450, 225, 56, 20, 0, 11, @"" + scroll.Spell.ExplosionArea.ToString()); AddTextEntry(456, 250, 58, 20, 0, 12, @"" + scroll.Spell.ExplosionSound.ToString()); AddTextEntry(442, 275, 73, 20, 0, 13, @"" + scroll.Spell.ExplosionHue.ToString()); AddTextEntry(433, 300, 83, 20, 0, 14, @"" + scroll.Spell.ExplosionID.ToString()); AddTextEntry(442, 325, 73, 20, 0, 15, @"" + scroll.Spell.EffectSound.ToString()); AddTextEntry(429, 350, 87, 20, 0, 16, @"" + scroll.Spell.EffectHue.ToString()); AddTextEntry(419, 375, 98, 20, 0, 17, @"" + scroll.Spell.EffectID.ToString()); AddTextEntry(402, 400, 107, 20, 0, 18, @"" + scroll.Spell.IconID.ToString()); AddTextEntry(442, 175, 107, 20, 0, 20, @"" + scroll.Spell.RequiredFeat.ToString()); }
// 3006132 2132 public MenuEntry( CustomSpellScroll Scroll, PlayerMobile from ) : base(5101) { m_Scroll = Scroll; m_From = from; }