crafting skill chances corrected for HollowPrism
notoriety fix for confusion pots notoriety fix for basecreature typo corrected for "bone mage" buying value for scrolls restored to previous in holymage
This commit is contained in:
parent
b1eced908b
commit
a7c38951ce
5 changed files with 9 additions and 6 deletions
|
|
@ -31,6 +31,9 @@ namespace Server.Engines.Craft
|
|||
|
||||
public override double GetChanceAtMin( CraftItem item )
|
||||
{
|
||||
if( item.ItemType == typeof( HollowPrism ) )
|
||||
return 0.5; // 50%
|
||||
|
||||
return 0.0; // 0%
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ namespace Server.Items
|
|||
|
||||
foreach ( Mobile mobile in map.GetMobilesInRange( loc, Radius ) )
|
||||
{
|
||||
if ( mobile is BaseCreature )
|
||||
if ( mobile is BaseCreature && ( Notoriety.Compute ( from, mobile ) != Notoriety.Innocent ))
|
||||
{
|
||||
BaseCreature mon = (BaseCreature) mobile;
|
||||
|
||||
|
|
|
|||
|
|
@ -350,10 +350,10 @@ namespace Server.Misc
|
|||
if( source is BaseCreature )
|
||||
{
|
||||
BaseCreature bc = (BaseCreature)source;
|
||||
|
||||
Mobile master = bc.GetMaster();
|
||||
|
||||
if( master != null )
|
||||
if( CheckAggressor( master.Aggressors, target ) || MobileNotoriety( master, target ) == Notoriety.CanBeAttacked )
|
||||
if( CheckAggressor( master.Aggressors, target ) || MobileNotoriety( master, target ) == Notoriety.CanBeAttacked || target is BaseCreature )
|
||||
return Notoriety.CanBeAttacked;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Mobiles
|
|||
[Constructable]
|
||||
public BoneMagi() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a bone magi";
|
||||
Name = "a bone mage";
|
||||
Body = 148;
|
||||
BaseSoundID = 451;
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Server.Mobiles
|
|||
else if ( i > 6 )
|
||||
--itemID;
|
||||
|
||||
Add( new GenericBuyInfo( types[i], 12 + ((i / 8) * 10), 20, itemID, 0 ) );
|
||||
Add( new GenericBuyInfo( types[ i ], 12 + ( ( i / 8 ) * 10 ), 20, itemID, 0 ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -86,7 +86,7 @@ namespace Server.Mobiles
|
|||
Type[] types = Loot.RegularScrollTypes;
|
||||
|
||||
for ( int i = 0; i < types.Length; ++i )
|
||||
Add( types[i], ((i / 8) + 2) * 5 );
|
||||
Add( types[ i ], ( ( i / 8 ) + 2 ) * 2 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue