Removing Chocolatiering as it shouldn't have gone in yet.
This commit is contained in:
parent
a2e5f1ffd8
commit
6e7a9acb84
7 changed files with 16 additions and 389 deletions
|
|
@ -4310,26 +4310,12 @@ namespace Server.Mobiles
|
|||
treasureLevel = 0;
|
||||
}
|
||||
|
||||
if ( !Summoned && !NoKillAwards && !IsBonded )
|
||||
if ( !Summoned && !NoKillAwards && !IsBonded && treasureLevel >= 0 )
|
||||
{
|
||||
if ( treasureLevel >= 0 )
|
||||
{
|
||||
if ( m_Paragon && Paragon.ChestChance > Utility.RandomDouble() )
|
||||
PackItem( new ParagonChest( this.Name, treasureLevel ) );
|
||||
else if ( (Map == Map.Felucca || Map == Map.Trammel) && TreasureMap.LootChance >= Utility.RandomDouble() )
|
||||
PackItem( new TreasureMap( treasureLevel, Map ) );
|
||||
}
|
||||
|
||||
if ( m_Paragon && Paragon.ChocolateIngredientChance > Utility.RandomDouble() )
|
||||
{
|
||||
switch ( Utility.Random( 4 ) )
|
||||
{
|
||||
case 0: PackItem( new CocoaButter() ); break;
|
||||
case 1: PackItem( new CocoaLiquor() ); break;
|
||||
case 2: PackItem( new SackOfSugar() ); break;
|
||||
case 3: PackItem( new Vanilla() ); break;
|
||||
}
|
||||
}
|
||||
if ( m_Paragon && Paragon.ChestChance > Utility.RandomDouble() )
|
||||
PackItem( new ParagonChest( this.Name, treasureLevel ) );
|
||||
else if ( (Map == Map.Felucca || Map == Map.Trammel) && TreasureMap.LootChance >= Utility.RandomDouble() )
|
||||
PackItem( new TreasureMap( treasureLevel, Map ) );
|
||||
}
|
||||
|
||||
if ( !Summoned && !NoKillAwards && !m_HasGeneratedLoot )
|
||||
|
|
@ -5523,4 +5509,4 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue