Updates to the canned evil system for the ML Pestilence spawn.

Pigments of Tokuno have also have heritage items and special material "baseclothing" added.

Bag of Sending was corrected for a client change that broke the localization

FetidEssence, InterredGrizzle, PerstilentBandage corrected in prep for ML champ spawns.

Ilhenir corrected in various ways, imcluding unique drop added to replace the "undiscovered" unique its suppoed to drop.

Pestilence added to the spawn types for champs.

PlayerMobile modified to reflect new champ spawn titles.
This commit is contained in:
xavier 2011-07-17 03:32:28 +00:00
parent c57b83289e
commit 8adee67ccc
8 changed files with 39 additions and 89 deletions

View file

@ -12,7 +12,8 @@ namespace Server.Engines.CannedEvil
ForestLord,
VerminHorde,
UnholyTerror,
SleepingDragon
SleepingDragon,
Pestilence
}
public class ChampionSpawnInfo
@ -90,6 +91,13 @@ namespace Server.Engines.CannedEvil
new Type[]{ typeof( DeathwatchBeetle ), typeof( Kappa ) },
new Type[]{ typeof( LesserHiryu ), typeof( RevenantLion ) },
new Type[]{ typeof( Hiryu ), typeof( Oni ) }
} ),
new ChampionSpawnInfo( "The Corrupt", typeof( Ilhenir ), new string[]{ "Cleanser", "Expunger", "Depurator" } , new Type[][]
{ // Unholy Terror
new Type[]{ typeof( PlagueSpawn ), typeof( Bogling ) },
new Type[]{ typeof( PlagueBeast ), typeof( BogThing ) },
new Type[]{ typeof( PlagueBeastLord ), typeof( InterredGrizzle ) },
new Type[]{ typeof( FetidEssence ), typeof( PestilentBandage ) }
} )
};

View file

@ -34,6 +34,15 @@ namespace Server.Items
typeof( Subdue )
};
private static Type[] m_DyableHeritageItems = new Type[]
{
typeof( ChargerOfTheFallen ),
typeof( SamuraiHelm ),
typeof( HolySword ),
typeof( LeggingsOfEmbers ),
typeof( ShaminoCrossbow )
};
public override int LabelNumber { get { return 1070933; } } // Pigments of Tokuno
private int m_UsesRemaining;
@ -142,6 +151,8 @@ namespace Server.Items
resource = ((BaseWeapon)i).Resource;
else if( i is BaseArmor )
resource = ((BaseArmor)i).Resource;
else if (i is BaseClothing)
resource = ((BaseClothing)i).Resource;
if( !CraftResources.IsStandard( resource ) )
return true;
@ -157,8 +168,9 @@ namespace Server.Items
|| IsInTypeList( t, Leviathan.Artifacts )
|| IsInTypeList( t, TreasureMapChest.Artifacts )
|| IsInTypeList( t, m_Replicas )
|| IsInTypeList( t, m_DyableHeritageItems )
);
}
}
private static bool IsInTypeList( Type t, Type[] list )
{