public static bool CommonSpellOnTest(Sim a, ISculptureFrozenSim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
        {
            if (a == target.GetFrozenSim())
            {
                return(false);
            }

            /*
             * if (!a.HasTrait(TraitNames.WitchHiddenTrait))
             * {
             *  return false;
             * }*/
            if ((target.GetFrozenSim() == null) || !target.GetFrozenSim().BuffManager.HasElement(BuffNames.FrozenSolid))
            {
                return(false);
            }
            if (target.GetFrozenSim().SimDescription.ChildOrBelow || target.GetFrozenSim().SimDescription.IsPet)
            {
                return(false);
            }

            /*if (!MagicWand.HasWand(a))
             * {
             *  return false;
             * }*/
            return(true);
        }
            public override bool Test(Sim a, ISculptureFrozenSim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
            {
                MagicControl control = MagicControl.GetBestControl(a, this);

                if (control == null)
                {
                    greyedOutTooltipCallback = Common.DebugTooltip("No Control");
                    return(false);
                }

                return(CastSpellOnStatueProxy <CastSunlightCharmOnStatueEx> .CommonSpellOnTest(a, target, isAutonomous, ref greyedOutTooltipCallback));
            }
 public override string GetInteractionName(Sim actor, ISculptureFrozenSim target, InteractionObjectPair iop)
 {
     return(base.GetInteractionName(actor, target, new InteractionObjectPair(sOldSingleton, target)));
 }
            public override bool Test(Sim a, ISculptureFrozenSim target, bool isAutonomous, ref GreyedOutTooltipCallback greyedOutTooltipCallback)
            {
                MagicControl control = MagicControl.GetBestControl(a, this);
                if (control == null)
                {
                    greyedOutTooltipCallback = Common.DebugTooltip("No Control");
                    return false;
                }

                return CastSpellOnStatueProxy<CastFireBlastOnStatueEx>.CommonSpellOnTest(a, target, isAutonomous, ref greyedOutTooltipCallback);
            }
 public override string GetInteractionName(Sim actor, ISculptureFrozenSim target, InteractionObjectPair iop)
 {
     return base.GetInteractionName(actor, target, new InteractionObjectPair(sOldSingleton, target));
 }