it didnt work
ok i tryed what you sugested and it didnt work this is what i put in
ok i tryed what you sugested and it didnt work this is what i put in
Code:
public override bool OnDragDrop( Mobile from, Item dropped )
{
PlayerMobile player = from as PlayerMobile;
if ( player != null )
{
if ( dropped is DragonDust )
{
DragonDust dust = ( DragonDust )dropped;
int amount = ( dust.Amount * 5 );
this.PlaySound( 665 );
this.KP += amount;
dust.Delete();
this.Say( "*"+ this.Name +" absorbs the dragon dust*" );
return false;
}
else if ( dropped is SpecialDragonDust )
{
SpecialDragonDust dust = ( SpecialDragonDust )dropped;
int amount = ( dust.Amount * 10 );
this.PlaySound( 665 );
this.KP += amount;
dust.Delete();
this.Say( "*"+ this.Name +" absorbs the dragon dust*" );
return false;else
{
}
}
return base.OnDragDrop( from, dropped );
}