UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

Accepted Missing Creature: Sphynx

psz

Administrator
[CODER NEEDED] Missing Creature: Sphynx

Here's the version on Demise.

It's probably not accurate, as it's very very very very very very old.


Enjoy fixing it!
 

Attachments

  • Sphynx.rar
    942 bytes · Views: 7

psz

Administrator
Re: [CODER NEEDED] Missing Creature: Sphynx

No, but it IS missing from RunUO.

As of now, it's a Demise only feature.


Hence: Missing Creature ;->
 

Ryne-Demise

Squire
Re: [CODER NEEDED] Missing Creature: Sphynx

Maybe little bit off subject but I would like to point their spawn spots on OSI.

1* Inside the pyramid
2* Exactly where number "2" is on the picture

I think spawn in lostlands is missing on Demise. Also their spawn timer is very fast on OSI similar to Ilshenar mobs.
 

Attachments

  • sphinx-1.jpg
    sphinx-1.jpg
    51.3 KB · Views: 145
  • sphinx-2.jpg
    sphinx-2.jpg
    96.9 KB · Views: 145

silvertiger

Knight
Re: [CODER NEEDED] Missing Creature: Sphynx

As of right now the Sphynx spawn in the pyramid and pretty close to #2, but not in the exact spot.
 

psz

Administrator
Re: [CODER NEEDED] Missing Creature: Sphynx

Ok, here's the Sphynx code as of Now.


This is *VERY VERY* old code, and probably wrong on many levels.

Code:
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Items;
using Server.ContextMenus;
using Server.Gumps;


namespace Server.Mobiles
{
	[CorpseName( "a sphynx corpse" )]
	public class Sphynx : BaseCreature
	{
		[Constructable]
		public Sphynx() : base( AIType.AI_Mage, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
		{
			Body = 788;
			Name = "Sphynx";

			SetStr( 1001, 1200 );
			SetDex( 176, 195 );
			SetInt( 301, 400 );
			SetHits( 1001, 1200 );
			SetDamage( 10, 15 );

			SetDamageType( ResistanceType.Physical, 85 );
			SetDamageType( ResistanceType.Energy, 15 );

			SetResistance( ResistanceType.Physical, 60, 80 );
			SetResistance( ResistanceType.Fire, 30, 50 );
			SetResistance( ResistanceType.Cold, 40, 60 );
			SetResistance( ResistanceType.Poison, 40, 50 );
			SetResistance( ResistanceType.Energy, 40, 50 );

			SetSkill( SkillName.Wrestling, 90.1, 100 );
			SetSkill( SkillName.Tactics, 90.1, 100 );
			SetSkill( SkillName.MagicResist, 100.5, 150 );
			SetSkill( SkillName.Anatomy, 25.1, 50 );
			SetSkill( SkillName.Magery, 95.5, 100 );
			SetSkill( SkillName.EvalInt, 90.1, 100 );
			SetSkill( SkillName.Meditation, 95.1, 120 );

			VirtualArmor = 78;
			Fame = 15000;
			Karma = 0;

			PackGold( 1000, 1200 );
		}

		public override void GenerateLoot()
		{
			AddLoot( LootPack.FilthyRich, 2 );
			AddLoot( LootPack.MedScrolls, 2 );
		}

		public override Poison PoisonImmune{ get{ return Poison.Regular; } }

		public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
		{
			list.Add( new FortuneEntry( from ) );
		}

		public class FortuneEntry : ContextMenuEntry
		{
			private Mobile m_Mobile;

			public FortuneEntry( Mobile from ) : base( 6199, 8 )
			{
				m_Mobile = from;
			}

			public override void OnClick()
			{
				m_Mobile.SendGump( new FortuneGump( m_Mobile ) );
			}
		}

		public Sphynx( 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();
		}
	}
}

Compare to OSI, fix the differences, etc etc etc

(Seriously, I posted the code in the FIRST POST....)
 

psz

Administrator
Re: [CODER NEEDED] Missing Creature: Sphynx

Well, locations don't matter, so don't worry about that (yet).

I'm mostly worried about stats, features, etc etc etc.


Compare as many as you can. Try a base of 5 if possible (Obviously, the more the better)
 

Ryne-Demise

Squire
Re: [CODER NEEDED] Missing Creature: Sphynx

Here you go, data coming from 10 Sphynx. Your code (stat wise) seems good except one time I got 1205 gold and two times lower than 1000 :) Test done in OSI

Also it looks like poison immune, I couldn't apply poison to it even with poison field.. But there was no message saying immune to poison.
 

Attachments

  • sphynx_data.jpg
    sphynx_data.jpg
    74.7 KB · Views: 46
Top