Code:
using System;
using Server;
using Server.Mobiles;
using Server.Gumps;
using Server.Network;

if (IsChildOf(from.Backpack))
            {
                if (pm.NextEnhanceSuccess)
                {
                    from.SendGump(new CancelGump(pm, this));
                }
                else
                {
                    from.SendGump(new InternalGump(pm, this));
                }
            }

It doesn't understand: pm.NextEnhanceSuccess

Error is:
Code:
RunUO - [https://github.com/runuo/] Version 2.6.0.5203
Core: Running on .NET Framework Version 4.0.30319

Errors:
+ Tests/[ServUO.com]-ForgedMetalOfArtifacts.cs:
    CS1061: Line 76: 'Server.Mobiles.PlayerMobile' does not contain a definition for 'NextEnhanceSuccess' and no extension method 'NextEnhanceSuccess' accepting a first argument of type 'Server.Mobiles.PlayerMobile' could be found (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Anyone tell me what I can do to make it work?
 
Last edited:
Back