Sotho Tal Ker's BaseHat treasure fix (http://runuo.com/forums/showthread.php?t=76341).
Thanks to Carmina for submitting the patches.
This commit is contained in:
zippy 2006-11-14 02:43:42 +00:00
parent a2be513b24
commit f74af73c5a
4 changed files with 55 additions and 7 deletions

View file

@ -104,7 +104,7 @@ namespace Server.Mobiles
private void DoCounter( Mobile attacker )
{
if ( this.Map == null && attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked )
if ( this.Map == null || ( attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked ) )
return;
if ( 0.2 > Utility.RandomDouble() )