Esempio n. 1
0
        public override void Delete()
        {
            if (Owner != null && PlantStatus < PlantStatus.DecorativePlant)
            {
                MaginciaPlantSystem.OnPlantDelete(Owner, Map);
            }

            base.Delete();
        }
Esempio n. 2
0
        public static void OnPlantDelete(Mobile owner, Map map)
        {
            if (owner == null || map == null)
            {
                return;
            }

            if (map == Map.Trammel)
            {
                m_TramInstance.OnPlantDelete(owner);
            }
            else if (map == Map.Felucca)
            {
                m_FelInstance.OnPlantDelete(owner);
            }
        }