Hello
I am again working on this script scence I been busy all week long. I have clear many of the errors it had before but I still have 2 more lines that I can't figure out.
Error
Lines 658 and 659
I am again working on this script scence I been busy all week long. I have clear many of the errors it had before but I still have 2 more lines that I can't figure out.
Error
Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Customes/Testing Scripts/Black Lich/NecroMageAI.cs:
CS0029: Line 658: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.AggressorInfo>' to 'System.Collections.ArrayList'
CS0029: Line 659: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.AggressorInfo>' to 'System.Collections.ArrayList'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Lines 658 and 659
Code:
if ( m_Mobile.Deleted || m_Mobile.Int < 95 || CanDispel( m_Mobile ) || m_Mobile.AutoDispel )
return null;
if ( activeOnly )
{
[COLOR="Red"]ArrayList aggressed = m_Mobile.Aggressed;
ArrayList aggressors = m_Mobile.Aggressors;[/COLOR]
Mobile active = null;
double activePrio = 0.0;
Mobile comb = m_Mobile.Combatant;