Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
using Server.Mobiles;
namespace Server.Custom.RumorMill.Rumors
{
internal class PhoenixRumor : IRumor
{
private Phoenix phoenix;
public Map RumorMap { get; private set; } = Map.Felucca;
public Point3D RumorLocation { get; private set; }
public void InitRumor()
{
phoenix = new Phoenix();
RumorLocation = RumorUtility.GetLandLocation(RumorMap);
phoenix.MoveToWorld(RumorLocation, RumorMap);
}
public void SpreadRumor(Mobile from, Mobile to)
{
if (phoenix != null && !phoenix.Controlled && !phoenix.Deleted)
{
RumorUtility.RunMessage(this, from, to, "a phoenix");
}
else
{
RumorCore.ResetRumor(this);
}
}
public void EndRumor()
{
if (!phoenix.Controlled && !phoenix.Deleted)
{
phoenix.Delete();
}
phoenix = null;
RumorLocation = Point3D.Zero;
}
}
}