public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 2)) { if (!m.Female) { m_Talked = true; SayRandom(kfcsay, this); this.Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } if (m.Female) { m_Talked = true; SayRandom(kfcsay2, this); //this.Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } } } }
private void Spam_CheckedChanged(object sender) { if (Spam.Checked) { SpamTimer.Start(); } else { SpamTimer.Stop(); } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { { m_Talked = true; SayRandom(kfcsay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 6)) { m_Talked = true; SayRandom(Blabber, this); this.Move(GetDirectionTo(m.Location)); SpamTimer timer = new SpamTimer(); timer.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (!m_Talked) { if (m.InRange(this, 4)) { m_Talked = true; SayRandom(kfcsay, this); Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 4) && m is PlayerMobile) { m_Talked = true; SayRandom(KrillyxSay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 3) && m is PlayerMobile) { m_Talked = true; this.Say(m_BroadcastMessage); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 4)) { m_Talked = true; SayRandom(kfcsay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 10) && m is PlayerMobile && m.Combatant != null) { m_Talked = true; SayRandom(RangerGuardSay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 1)) { m_Talked = true; this.Say("Hail and well met."); this.Say("When thee are ready to Sail, just say 'Sail' and we will set sail..."); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { //base.OnMovement(m, oldLocation); if (m_Talked == false) { if (m.InRange(this, 5)) { m_Talked = true; SayRandom(sicsay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement( Mobile m, Point3D oldLocation ) { if( m_Talked == false && m is PlayerMobile ) { if ( m.InRange( this, 1 ) ) { m_Talked = true; this.Say( "Hail and well met." ); this.Say( "When thee are wishing to sail, just say so and we can make arrangements." ); this.Direction = GetDirectionTo( m.Location ); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 8) && m is PlayerMobile) { m.Send(PlayMusic.GetInstance(MusicName.Taiko)); m_Talked = true; SayRandom(CalcifinaSay, this); this.Move(GetDirectionTo(m.Location)); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if( m_Talked == false ) { if ( m.InRange( this, 1 ) ) { m_Talked = true; this.Say("Hail and well met."); this.Say("When thee are ready to Sail, just say 'Sail' and we will set sail..."); this.Move( GetDirectionTo( m.Location ) ); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false && m is PlayerMobile) { if (m.InRange(this, 1)) { m_Talked = true; this.Say("Hail and well met."); this.Say("When thee are wishing to sail, just say so and we can make arrangements."); this.Direction = GetDirectionTo(m.Location); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 5)) { m_Talked = true; Effects.PlaySound(m.Location, m.Map, 0x16a); //Can change number of sound played 0x16a = DragonScream SayRandom(kfcsay, this); this.Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement( Mobile m, Point3D oldLocation ) { if( m_Talked == false ) { if ( m.InRange( this, 5 ) ) { m_Talked = true; Effects.PlaySound( m.Location, m.Map, 0x16a);//Can change number of sound played 0x16a = DragonScream SayRandom( kfcsay, this ); this.Move( GetDirectionTo( m.Location ) ); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Done) { return; } if (m_Talked == false) { if (m.InRange(this, 3) && !m.Hidden) { m_Talked = true; SpeechHelper.SayRandom(begsay, this); Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(this); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (!Talked) { if (m.InRange(this, 2)) { Talked = true; Say(1075014); // Psst! Lenley isn't seen. You help Lenley? Move(GetDirectionTo(m.Location)); Hidden = false; SpamTimer t = new SpamTimer(); t.Start(); } else { Hidden = true; } UseSkill(SkillName.Stealth); } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 2)) { m_Talked = true; //m.SendMessage("Psst! Lenley isn't seen. You help Lenley?"); SayRandom(Lenleysay, this); this.Move(GetDirectionTo(m.Location)); this.Hidden = false; SpamTimer t = new SpamTimer(); t.Start(); } else { this.Hidden = true; } this.UseSkill(SkillName.Stealth); } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Done) return; if (m_Talked == false) { if (m.InRange(this, 3) && !m.Hidden) { m_Talked = true; SpeechHelper.SayRandom(begsay, this); Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(this); t.Start(); } } }
public override void OnMovement( Mobile m, Point3D oldLocation ) { if( m_Talked == false ) { if ( m.InRange( this, 3 ) && m is PlayerMobile) { m_Talked = true; SayRandom( DrownedPirateSay, this ); this.Move( GetDirectionTo( m.Location ) ); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement( Mobile m, Point3D oldLocation ) { base.OnMovement( m, oldLocation ); int hours, minutes; Server.Items.Clock.GetTime( m.Map, m.X, m.Y, out hours, out minutes ); if ( (m_ShowHours) && (m.AccessLevel > AccessLevel.Player) ) { if (minutes > lastminute) { m.SendMessage( "Hour: "+hours+" Minute: "+minutes); lastminute = minutes; } } if ( ((hours >= m_WitchBeginHour) && (hours <= m_WitchEndHour)) ) { if ( caithsidhe ) { if (this.Combatant != null) return; else { this.SetStr(81, 105); this.SetDex(91, 115); this.SetInt(96, 120); this.SetHits(49, 63); this.SetDamage(5, 10); this.SetDamageType(ResistanceType.Physical, 100); this.SetResistance(ResistanceType.Physical, 15, 20); this.SetResistance(ResistanceType.Fire, 5, 10); this.SetResistance(ResistanceType.Poison, 5, 10); this.SetResistance(ResistanceType.Energy, 5, 10); this.SetSkill(SkillName.EvalInt, 75.1, 100.0); this.SetSkill(SkillName.Magery, 75.1, 100.0); this.SetSkill(SkillName.MagicResist, 75.0, 97.5); this.SetSkill(SkillName.Tactics, 65.0, 87.5); this.SetSkill(SkillName.Wrestling, 20.2, 60.0); this.Fame = 2500; this.Karma = -2500; this.Hue = 0x83EA; this.Name = "Agrona"; this.Title = "the witch"; this.Body = 401; this.HairItemID = 0x2FCD; this.HairHue = 1153; PlainDress dress = new PlainDress(); dress.Hue = 1175; AddItem(dress); AddItem(new Sandals()); AddItem(new GnarledStaff()); this.FightMode = FightMode.None; this.Kills = 0; caithsidhe = false; } } } else { if ( !caithsidhe ) { UnEquip(this, Layer.Shoes); UnEquip(this, Layer.OuterTorso); UnEquip(this, Layer.TwoHanded); this.Hue = 1175; this.Name = "a caith sidhe"; this.Title = ""; this.Body = 201; SetStr(476, 505); SetDex(76, 95); SetInt(301, 325); SetHits(286, 303); SetDamage(7, 14); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 60); SetResistance(ResistanceType.Fire, 50, 60); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.EvalInt, 70.1, 80.0); SetSkill(SkillName.Magery, 70.1, 80.0); SetSkill(SkillName.MagicResist, 85.1, 95.0); SetSkill(SkillName.Tactics, 70.1, 80.0); SetSkill(SkillName.Wrestling, 60.1, 80.0); Fame = 15000; Karma = -15000; this.FightMode = FightMode.Closest; this.Kills = 10; caithsidhe = true; } } if( m_Talked == false ) { if ( m.InRange( this, 3 ) && m is PlayerMobile) { m_Talked = true; if ( caithsidhe ) { SayRandom( CaithSidheSay, this ); } else { SayRandom( WitchSay, this ); } this.Move( GetDirectionTo( m.Location ) ); SpamTimer t = new SpamTimer(); t.Start(); } } }
public override void OnMovement(Mobile m, Point3D oldLocation) { if (m_Talked == false) { if (m.InRange(this, 2) ) { if (!m.Female) { m_Talked = true; SayRandom(kfcsay, this); this.Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } if (m.Female) { m_Talked = true; SayRandom(kfcsay2, this); //this.Move(GetDirectionTo(m.Location)); // Start timer to prevent spam SpamTimer t = new SpamTimer(); t.Start(); } } } }