Initial commit
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[CorpseName("a Alpine Polar Bear corpse")]
|
||||
public class AlphaPolarBearz : Troglodyte
|
||||
{
|
||||
[Constructable]
|
||||
public AlphaPolarBearz()
|
||||
{
|
||||
Name = "Alpine Polar Bear";
|
||||
Hue = 1153;
|
||||
BodyValue = 213;
|
||||
|
||||
SetStr(584, 625);
|
||||
SetDex(163, 176);
|
||||
SetInt(90, 106);
|
||||
|
||||
SetHits(3034, 3189);
|
||||
SetStam(163, 176);
|
||||
SetMana(90, 106);
|
||||
|
||||
SetDamage(16, 19);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 50, 53);
|
||||
SetResistance(ResistanceType.Fire, 45, 47);
|
||||
SetResistance(ResistanceType.Cold, 80, 90);
|
||||
SetResistance(ResistanceType.Poison, 50, 60);
|
||||
SetResistance(ResistanceType.Energy, 41, 56);
|
||||
|
||||
SetSkill(SkillName.Wrestling, 122.7, 130.5);
|
||||
SetSkill(SkillName.Tactics, 109.3, 118.5);
|
||||
SetSkill(SkillName.MagicResist, 72.9, 87.6);
|
||||
SetSkill(SkillName.Anatomy, 110.5, 124.0);
|
||||
SetSkill(SkillName.Healing, 84.1, 105.0);
|
||||
|
||||
Fame = 10000;
|
||||
Karma = -10000;
|
||||
PackItem( new AlphaPolarFur() );
|
||||
|
||||
for (int i = 0; i < Utility.RandomMinMax(0, 1); i++)
|
||||
{
|
||||
PackItem(Loot.RandomScroll(0, Loot.ArcanistScrollTypes.Length, SpellbookType.Arcanist));
|
||||
}
|
||||
|
||||
SetWeaponAbility(WeaponAbility.CrushingBlow);
|
||||
}
|
||||
|
||||
public AlphaPolarBearz(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
public override bool CanBeParagon { get { return false; } }
|
||||
public override bool GivesMLMinorArtifact
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override int TreasureMapLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
public override bool AllureImmune
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.UltraRich, 2);
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AlphaPolarFur : Item
|
||||
{
|
||||
[Constructable]
|
||||
public AlphaPolarFur() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public AlphaPolarFur( int amount ) : base( 0x1875 )
|
||||
{
|
||||
Name = "Pristine Polar Bear Hide";
|
||||
Weight = 0.0;
|
||||
Hue = 1153;
|
||||
Stackable = true;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public override void OnDoubleClick( Mobile m )
|
||||
{
|
||||
m.SendMessage( "A Pristine Polar Bear Hide, Brijit Will Be Wanting These. You can find her at the Last Chance Inn, In the Town of Winterhome" );
|
||||
m.PlaySound( 367 );
|
||||
}
|
||||
|
||||
public AlphaPolarFur( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
//=================================================
|
||||
//This script was created by Gizmo's Uo Quest Maker
|
||||
//This script was created on 1/6/2020 7:14:32 PM
|
||||
//=================================================
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class Brijit : MondainQuester
|
||||
{
|
||||
private List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
|
||||
public override bool DisallowAllMoves{ get{ return true; } }
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get{ return new Type[]
|
||||
{
|
||||
typeof( KillPolarBear )
|
||||
};}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Brijit() : base("Brijit", "The Tailor [?]")
|
||||
{
|
||||
new Horse().Rider = this;
|
||||
InitBody();
|
||||
}
|
||||
public Brijit(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
InitStats(100, 100, 100);
|
||||
Female = true;
|
||||
Race = Race.Human;
|
||||
base.InitBody();
|
||||
}
|
||||
public override void InitOutfit()
|
||||
{
|
||||
AddItem( new FancyShirt() );
|
||||
AddItem( new LeatherArms() );
|
||||
AddItem( new LeatherGloves() );
|
||||
AddItem( new Skirt() );
|
||||
AddItem( new Cloak() );
|
||||
AddItem( new ThighBoots() );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
//=================================================
|
||||
//This script was created by Gizmo's Uo Quest Maker
|
||||
//This script was created on 1/6/2020 7:12:32 PM
|
||||
//=================================================
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class KillPolarBear : BaseQuest
|
||||
{
|
||||
//The player will have a delay before they can redo quest again
|
||||
public override TimeSpan RestartDelay { get { return TimeSpan.FromMinutes(1440); } }
|
||||
|
||||
//This is the Quest Title the player sees at the top of the Gump
|
||||
public override object Title{ get{ return "Hunting The Alpine's"; } }
|
||||
//This tells the story of the quest
|
||||
public override object Description { get { return "Uhmm.. Hello! Excuse Me! But...<BR><BR> I have been tasked to crafting fur boots for my shop, and I like to use the pristine hides that you get from skinning Alpine Polar Bears! <BR><BR> My old supplier seems to have gone off on a new route! I have not seen him in months! Would you help me gather some?<BR><BR> Gather 50 Pristine Polar Bear Hide and Bring Them To Brijit!<BR><BR>(This is a repeatable quest, it can be done again 24 hours after completion.)"; } }
|
||||
//This decides how the npc reacts in text the player refusing the quest
|
||||
public override object Refuse{ get{ return "Very Well, I will be here if you change your mind"; } }
|
||||
//This is what the npc says when the player returns without completing the objective(s)
|
||||
public override object Uncomplete{ get{ return "You need to kill more alpha!"; } }
|
||||
//This is what the Quest Giver says when the player completes the quest.
|
||||
public override object Complete{ get{ return "Good Job Adventurer! Heres Your Reward!"; } }
|
||||
|
||||
public KillPolarBear() : base()
|
||||
{
|
||||
//Slay Objective #1
|
||||
AddObjective(new ObtainObjective(typeof(AlphaPolarFur), "Pristine Polar Bear Hide", 50, 0x1875));
|
||||
|
||||
//AddReward( new BaseReward(typeof(GoldenQuestTicket), 50, "Daily Golden Quest Tickets" ) );
|
||||
AddReward(new BaseReward(typeof(HeritageSovereign), 15, "Sovereigns"));
|
||||
}
|
||||
|
||||
public override void GiveRewards()
|
||||
{
|
||||
base.GiveRewards();
|
||||
}
|
||||
|
||||
public override bool CanOffer()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user