Plant gump issues
http://jira.runuo.com/browse/RUNUO-12 House decay stages should pass at random intervals http://jira.runuo.com/browse/RUNUO-113 Nature's Fury cast issues http://jira.runuo.com/browse/RUNUO-114 Animal Form inaccuracies and issue with Talisman of the Fey http://jira.runuo.com/browse/RUNUO-115 BaseWaterContainer fill messages and behavior http://jira.runuo.com/browse/RUNUO-116 AdminGump filter for accounts owning houses http://jira.runuo.com/browse/RUNUO-118 Seeds should be stackable http://jira.runuo.com/browse/RUNUO-119 Typo in case of a jailbreak http://jira.runuo.com/browse/RUNUO-120 Prevent creation of invalid account names http://jira.runuo.com/browse/RUNUO-121
This commit is contained in:
parent
d2f79e93ea
commit
4cba2c8d56
18 changed files with 440 additions and 137 deletions
|
|
@ -17,23 +17,10 @@ namespace Server.Mobiles
|
|||
|
||||
public override bool AlwaysMurderer { get { return true; } }
|
||||
|
||||
private Mobile m_Target;
|
||||
|
||||
public override Mobile ConstantFocus { get { return m_Target; } }
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
if( m_Target != null && (!m_Target.Alive || m_Target.Deleted || !InRange( m_Target, 24 ) || !CanSee( m_Target )) )
|
||||
m_Target = null; //Go kill other stuffs
|
||||
|
||||
base.OnThink();
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public NatureFury( Mobile target )
|
||||
public NatureFury()
|
||||
: base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
m_Target = target;
|
||||
Name = "a nature's fury";
|
||||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
|
|
@ -62,12 +49,6 @@ namespace Server.Mobiles
|
|||
ControlSlots = 1;
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public NatureFury()
|
||||
: this( null ) //Null makes it act like any other mob
|
||||
{
|
||||
}
|
||||
|
||||
public override void MoveToWorld( Point3D loc, Map map )
|
||||
{
|
||||
base.MoveToWorld( loc, map );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue