Karack
Member
Hi, I have a armor set script when fully weared add +15 magery +15 mystic and +20 spellweaving but in game, the gump only show the +15 mystic.
Here the script and the screenshot
Thx for support
Here the script and the screenshot
Code:
using System;
namespace Server.Items
{
public class MerlinArms : LeatherArms
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public MerlinArms() : base()
{
this.SetHue = 2101;
this.Name = "The Grand Wizard Merlin - Arms";
this.Attributes.SpellDamage = 5;
this.Attributes.LowerManaCost = 5;
this.Attributes.LowerRegCost = 12;
this.LootType = LootType.Blessed;
this.MaxHitPoints = 255;
this.HitPoints = 255;
this.SetPhysicalBonus = 10;
this.SetFireBonus = 10;
this.SetColdBonus = 10;
this.SetPoisonBonus = 10;
this.SetEnergyBonus = 10;
this.SetSkillBonuses.SetValues(0, SkillName.Mysticism, 15);
this.SetSkillBonuses.SetValues(1, SkillName.Magery, 15);
this.SetSkillBonuses.SetValues(2, SkillName.Spellweaving, 20);
this.SetAttributes.BonusInt = 25;
this.SetAttributes.SpellDamage = 10;
this.SetAttributes.AttackChance = 10;
this.SetAttributes.DefendChance = 10;
this.SetAttributes.LowerRegCost = 40;
this.SetAttributes.LowerManaCost = 15;
}
public MerlinArms(Serial serial)
: base(serial)
{
}
public override int LabelNumber
{
get
{
return 1096033;
}
}// TheGrandWizardMerlinSet01
public override SetItem SetID
{
get
{
return SetItem.TheGrandWizardMerlinSet01;
}
}
public override int Pieces
{
get
{
return 5;
}
}
public override int BasePhysicalResistance
{ get { return 12; } }
public override int BaseFireResistance
{ get { return 12; } }
public override int BaseColdResistance
{ get { return 12; } }
public override int BasePoisonResistance
{ get { return 12; } }
public override int BaseEnergyResistance
{ get { return 12; } }
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
Thx for support