Replaces types with built-in types.
This commit is contained in:
parent
fee83ce560
commit
22ab83ea9e
98 changed files with 248 additions and 248 deletions
|
|
@ -193,7 +193,7 @@ namespace Server.Spells
|
|||
|
||||
public static void ClearAllMoves( Mobile m )
|
||||
{
|
||||
foreach ( KeyValuePair<Int32, SpecialMove> kvp in SpellRegistry.SpecialMoves )
|
||||
foreach ( KeyValuePair<int, SpecialMove> kvp in SpellRegistry.SpecialMoves )
|
||||
{
|
||||
int moveID = kvp.Key;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ namespace Server.Spells
|
|||
}
|
||||
}
|
||||
|
||||
private static Dictionary<Type, Int32> m_IDsFromTypes = new Dictionary<Type, Int32>( m_Types.Length );
|
||||
private static Dictionary<Type, int> m_IDsFromTypes = new Dictionary<Type, int>( m_Types.Length );
|
||||
|
||||
private static Dictionary<Int32, SpecialMove> m_SpecialMoves = new Dictionary<Int32, SpecialMove>();
|
||||
public static Dictionary<Int32, SpecialMove> SpecialMoves => m_SpecialMoves;
|
||||
private static Dictionary<int, SpecialMove> m_SpecialMoves = new Dictionary<int, SpecialMove>();
|
||||
public static Dictionary<int, SpecialMove> SpecialMoves => m_SpecialMoves;
|
||||
|
||||
public static int GetRegistryNumber( ISpell s )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ namespace Server.Spells.Fifth
|
|||
for ( int i = 0; i < mods.Length; ++i )
|
||||
targ.AddResistanceMod( mods[i] );
|
||||
|
||||
string buffFormat = String.Format( "{0}\t+{1}\t+{1}\t+{1}\t+{1}", physiMod, otherMod );
|
||||
string buffFormat = string.Format( "{0}\t+{1}\t+{1}\t+{1}\t+{1}", physiMod, otherMod );
|
||||
|
||||
BuffInfo.AddBuff( targ, new BuffInfo( BuffIcon.MagicReflection, 1075817, buffFormat, true ) );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,9 +103,9 @@ namespace Server.Spells.Fourth
|
|||
FinishSequence();
|
||||
}
|
||||
|
||||
private static Dictionary<Mobile, Int32> _Table = new Dictionary<Mobile, Int32>();
|
||||
private static Dictionary<Mobile, int> _Table = new Dictionary<Mobile, int>();
|
||||
|
||||
private static void AddEntry( Mobile m, Int32 v )
|
||||
private static void AddEntry( Mobile m, int v )
|
||||
{
|
||||
_Table[m] = v;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue