Beispiel #1
0
 protected override void OnTick()
 {
     if (m_Cloud == null || m_Cloud.Deleted || m_Cloud.Player == null)
     {
         Stop();
     }
     else
     {
         m_Cloud.MoveToWorld(new Point3D(m_Cloud.Player.X, m_Cloud.Player.Y, m_Cloud.Player.Z + 12), m_Cloud.Player.Map);
     }
 }
Beispiel #2
0
 protected override void OnTarget(Mobile from, object targeted)
 {
     if ((targeted is TeiravonMobile))
     {
         IdanCloud ic = new IdanCloud(( TeiravonMobile )targeted);
         ic.MoveToWorld((( TeiravonMobile )targeted).Location, (( TeiravonMobile )targeted).Map);
     }
     else
     {
         return;
     }
 }