partial psz patch
This commit is contained in:
parent
d03acbffaf
commit
869f68488d
23 changed files with 15471 additions and 19 deletions
127
Scripts/Mobiles/Monsters/ML/Humanoid/Magic/InterredGrizzle .cs
Normal file
127
Scripts/Mobiles/Monsters/ML/Humanoid/Magic/InterredGrizzle .cs
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("an interred grizzle corpse")]
|
||||
public class InterredGrizzle : BaseCreature
|
||||
{
|
||||
[Constructable]
|
||||
public InterredGrizzle () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an interred grizzle";
|
||||
Body = 259;
|
||||
|
||||
SetStr( 451, 500 );
|
||||
SetDex( 201, 250 );
|
||||
SetInt( 801, 850 );
|
||||
|
||||
SetHits( 1500 );
|
||||
SetStam( 150 );
|
||||
|
||||
SetDamage( 5, 6 );
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 30 );
|
||||
SetDamageType( ResistanceType.Fire, 70 );
|
||||
|
||||
SetResistance( ResistanceType.Physical, 35, 55 );
|
||||
SetResistance( ResistanceType.Fire, 20, 65 );
|
||||
SetResistance( ResistanceType.Cold, 55, 80 );
|
||||
SetResistance( ResistanceType.Poison, 20, 35 );
|
||||
SetResistance( ResistanceType.Energy, 60, 80 );
|
||||
|
||||
SetSkill(SkillName.Meditation, 77.7, 84.0 );
|
||||
SetSkill(SkillName.EvalInt, 72.2, 79.6 );
|
||||
SetSkill(SkillName.Magery, 83.7, 89.6);
|
||||
SetSkill(SkillName.Poisoning, 0 );
|
||||
SetSkill(SkillName.Anatomy, 0 );
|
||||
SetSkill( SkillName.MagicResist, 80.2, 87.3 );
|
||||
SetSkill( SkillName.Tactics, 104.5, 105.1 );
|
||||
SetSkill( SkillName.Wrestling, 105.1, 109.4 );
|
||||
|
||||
Fame = 3700; // Guessed
|
||||
Karma = -3700; // Guessed
|
||||
}
|
||||
|
||||
/*public override void GenerateLoot() -- Need to verify
|
||||
{
|
||||
AddLoot( LootPack.Meager );
|
||||
AddLoot( LootPack.Average );
|
||||
}*/
|
||||
|
||||
// TODO: Acid Blood
|
||||
/*
|
||||
* Message: 1070820
|
||||
* Spits pool of acid (blood, hue 0x3F), hits lost 6-10 per second/step
|
||||
* Damage is resistable (physical)
|
||||
* Acid last 10 seconds
|
||||
*/
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x582;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x580;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x583;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x584;
|
||||
}
|
||||
|
||||
/*
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
SpillAcid( 1, 4, 10, 6, 10 );
|
||||
|
||||
return base.OnBeforeDeath();
|
||||
}
|
||||
*/
|
||||
|
||||
public InterredGrizzle ( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
private class InternalTimer : Timer
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Mobile m_Mobile;
|
||||
private int m_Count;
|
||||
|
||||
public InternalTimer( Mobile from, Mobile m ) : base( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ) )
|
||||
{
|
||||
m_From = from;
|
||||
m_Mobile = m;
|
||||
Priority = TimerPriority.TwoFiftyMS;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue