Lots of generics, gm+ can see weapon/armor props without identification

This commit is contained in:
mark 2006-06-15 08:51:40 +00:00
parent d1a8a6d75e
commit b0208aa906
7 changed files with 31 additions and 29 deletions

View file

@ -1,5 +1,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Mobiles;
using Server.Network;
@ -34,7 +35,7 @@ namespace Server.Spells.Chivalry
{
if ( CheckSequence() )
{
ArrayList targets = new ArrayList();
List<Mobile> targets = new List<Mobile>();
foreach ( Mobile m in Caster.GetMobilesInRange( 3 ) ) // TODO: Validate range
{
@ -62,7 +63,7 @@ namespace Server.Spells.Chivalry
for ( int i = 0; i < targets.Count; ++i )
{
Mobile m = (Mobile)targets[i];
Mobile m = targets[i];
if ( !m.Alive )
{