[SVN 297 + ML] Shields dont obtain resist from metall.
When craft or enchant shields have 1% fire res, or phys, etc. How to repair this problem?
and help me please enable Paragon arty drop. (Kill 1000+ Balrons paragon in Ilshenar, no art drop, only chest)
there is my code
omg, im enable arti, just change
on
When craft or enchant shields have 1% fire res, or phys, etc. How to repair this problem?
and help me please enable Paragon arty drop. (Kill 1000+ Balrons paragon in Ilshenar, no art drop, only chest)
there is my code
HTML:
public static bool CheckArtifactChance( Mobile m, BaseCreature bc )
{
if ( !Core.AOS )
return false;
double fame = (double)bc.Fame;
if ( fame > 32000 )
fame = 32000;
double chance = 1 / ( Math.Max( 10, 100 * ( 0.83 - Math.Round( Math.Log( Math.Round( fame / 6000, 3 ) + 0.001, 10 ), 3 ) ) ) * ( 100 - Math.Sqrt( m.Luck
) ) / 100.0 );
return chance > Utility.RandomDouble();
}
public static void GiveArtifactTo( Mobile m )
{
Item item = (Item)Activator.CreateInstance( Artifacts[Utility.Random(Artifacts.Length)] );
if ( m.AddToBackpack( item ) )
m.SendMessage( "As a reward for slaying the mighty paragon, an artifact has been placed in your backpack." );
else
m.SendMessage( "As your backpack is full, your reward for destroying the legendary paragon has been placed at your feet." );
}
}
}
omg, im enable arti, just change
HTML:
if ( !Core.AOS )
HTML:
if ( !Core.ML )