MentalSteel
Wanderer
Line 50 column 30 Server.Items.WolfFang.OnDoubleClick( )': no suitable method found for override
public WolfFang() : base( )
thought u did that already ...ArteGordon said:you need to make the change that I mentioned,
using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Items
{
public class WolfFang : Kryss
{
public override int ArtifactRarity{ get{ return 100; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
[CommandProperty( AccessLevel.Counselor, AccessLevel.GameMaster )]
private bool m_wolf_created;
public bool wolf_created
{
get{return m_wolf_created;}
set{m_wolf_created = value;}
}
[Constructable]
public WolfFang() : base( 0x1401 )
{
Name = "Wolf Fang";
ItemID = 0x1400;
Hue = 1153;
WeaponAttributes.HitDispel = 100;
WeaponAttributes.HitLeechHits = 50;
WeaponAttributes.SelfRepair = 1;
Attributes.Luck = 16000;
Attributes.WeaponDamage = 70;
}
#region Make Wolf
public void MakeWolf( Mobile from )
{
WhiteWolf newwolf;
newwolf = new WhiteWolf();
newwolf.Map = from.Map;
newwolf.Location = from.Location;
newwolf.Controled = true;
newwolf.ControlMaster = from;
newwolf.ControlOrder = OrderType.Attack;
from.BoltEffect( 0 );
}
#endregion
public override void OnDoubleClick(Mobile from )
{
if ( this.wolf_created == false && from.Combatant!=null ) //Create Wolf
{
MakeWolf( from.Combatant );
this.wolf_created = true;
}
return;
}
public WolfFang( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
[CommandProperty( AccessLevel.Counselor, AccessLevel.GameMaster )]
private bool m_wolf_created;
public bool wolf_created
private bool m_wolf_created;
[CommandProperty( AccessLevel.Counselor, AccessLevel.GameMaster )]
public bool wolf_created
public WolfFang() : base( )
using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Items
{
public class WolfFang() : base( )
{
public override int ArtifactRarity{ get{ return 100; } }
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
private bool m_wolf_created;
[CommandProperty( AccessLevel.Counselor, AccessLevel.GameMaster )]
public bool wolf_created
{
get{return m_wolf_created;}
set{m_wolf_created = value;}
}
[Constructable]
public WolfFang() : base( 0x1401 )
{
Name = "Wolf Fang";
ItemID = 0x1400;
Hue = 1153;
WeaponAttributes.HitDispel = 100;
WeaponAttributes.HitLeechHits = 50;
WeaponAttributes.SelfRepair = 1;
Attributes.Luck = 16000;
Attributes.WeaponDamage = 70;
}
#region Make Wolf
public void MakeWolf( Mobile from )
{
WhiteWolf newwolf;
newwolf = new WhiteWolf();
newwolf.Map = from.Map;
newwolf.Location = from.Location;
newwolf.Controled = true;
newwolf.ControlMaster = from;
newwolf.ControlOrder = OrderType.Attack;
from.BoltEffect( 0 );
}
#endregion
public override void OnDoubleClick(Mobile from )
{
if ( this.wolf_created == false && from.Combatant!=null ) //Create Wolf
{
MakeWolf( from.Combatant );
this.wolf_created = true;
}
return;
}
public WolfFang( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
public class WolfFang() : base( )