This commit is contained in:
parent
57b345a480
commit
68d742d262
28 changed files with 432 additions and 193 deletions
|
|
@ -46,10 +46,10 @@ namespace Server.Mobiles
|
|||
SetStam( 250 );
|
||||
SetMana( 0 );
|
||||
|
||||
SetDamage( 5, 7 );
|
||||
SetDamage( 6, 8 );
|
||||
|
||||
SetDamageType( ResistanceType.Poison, 100 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 0 );
|
||||
SetResistance( ResistanceType.Physical, 90 );
|
||||
|
||||
SetSkill( SkillName.Wrestling, 90.0 );
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using Server.Mobiles;
|
||||
using Server.Targeting;
|
||||
using Server.Multis;
|
||||
|
||||
namespace Server.Spells.Spellweaving
|
||||
{
|
||||
|
|
@ -64,7 +65,10 @@ namespace Server.Spells.Spellweaving
|
|||
|
||||
m_MobileTarg = (m != null);
|
||||
|
||||
|
||||
BaseHouse house = BaseHouse.FindHouseAt( p, map, 0 );
|
||||
if ( house != null)
|
||||
if ( !house.IsFriend ( Caster ) )
|
||||
return;
|
||||
|
||||
if( !SpellHelper.FindValidSpawnLocation( map, ref p, m_MobileTarg ) )
|
||||
{
|
||||
|
|
@ -85,6 +89,8 @@ namespace Server.Spells.Spellweaving
|
|||
m = null;
|
||||
|
||||
NatureFury nf = new NatureFury( m );
|
||||
if ( !Caster.InLOS ( p ) )
|
||||
return;
|
||||
BaseCreature.Summon( nf, false, Caster, p , 0x5CB, duration );
|
||||
|
||||
Timer t = null;
|
||||
|
|
@ -110,6 +116,7 @@ namespace Server.Spells.Spellweaving
|
|||
: base( 10, true, TargetFlags.None )
|
||||
{
|
||||
m_Owner = owner;
|
||||
CheckLOS = true;
|
||||
}
|
||||
|
||||
protected override void OnTarget( Mobile from, object o )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue